File selection and remote backup

Ben Edwards
Mon, 20 May 2002 15:41:55 +0100


I have set up a successful remote connection for rdiff-backup, but am having trouble getting the file selection right. 

If I just do a simple backup command like this: 

rdiff-backup primary-backup::/home/mysql /backupdir

everything works fine.

However when I start adding file selection criteria like this, I get a 'too many arguments' error:

rdiff-backup --exclude /home --include /home/mysql --include /home/sites primary-backup::/home bakupdir

Is this the right way to pass file selection arguments to a remote copy?