On Thu, 03 Feb 2005 11:50:17 -0500, Nick Smith wrote:

> 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?

You haven't given a source directory. --include only specifies files
within the source to include and it used to override parts of an
--exclude. You need

# cat list.txt
/sys
/proc
/dev
/mnt/backup

rdiff-backup --exclude-filelist list.txt / /mnt/backup/system_backup/


-- 
Neil Bothwick

Sacred cows make great hamburgers.

Attachment: pgpPNMLqC49Cx.pgp
Description: PGP signature

Reply via email to