i can't get this sucker to exclude my media folder (where i have my server mounted) ... it keeps including all the junk from my server in my backup.
i have tried:
Code:
tar cvpzf /media/server/shared/backup/backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/media --exclude=/sys
and
Code:
tar cvpzf /media/server/backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/media/server --exclude=/sys
but still all the shared files are getting included in the tar. as you can see, i'm attempting to save the backup to my server (/media/server) so i can restore it from there when i get a new hard drive (current drive is showing signs of failing).
any way i seem to run this thing, i still get this:
Code:
/etc/idmapd.conf
/media/
/media/cdrom
/media/cdrom0/
/media/floppy
/media/floppy0/
/media/server/
which then proceeds to inculde everything on my server in the backup
Bookmarks