On Thu, 2005-02-03 at 16:25 +0000, Neil Bothwick wrote: > On Thu, 03 Feb 2005 11:04:57 -0500, Nick Smith wrote: > > > mail root # rsync -avz / /mnt/backup/ > > > > but when i run that command i get a bunch of 'no such file errors' and > > then it starts coping everything. is this bad? > > You need to use the -x option to stop it trying to back up /dev, /proc, > /sys etc, or --exclude these directories specifically. > > As for copying everything, that's what rsync does the first time. After > then, it updates. You should read the rsync man page again, there's a lot > there and it won't all "take" the first time. > > when i try rdiff-backup i get this:
mail root # rdiff-backup --include / \ --exclude /dev /proc /sys /mnt/backup/system \ Error: Switches missing or wrong number of arguments \ See the rdiff-backup manual page for instructions \ i even made a file list.txt with this in it: / - /sys - /proc - /dev - /mnt/backup and ran the command: mail root # rdiff-backup --exclude-filelist \ list.txt /mnt/backup/system_backup/ and i get the same error, what am i doing wrong? -- gentoo-user@gentoo.org mailing list