On Wed, Oct 21, 2009 at 04:15:14PM +0800, Nelson Serafica wrote: > rdiff-backup was doing its job in backing up folders going to your > backup server. My question is can rdff-backup back a single file? > > I have a file rc.firewall located at /etc/rc.d. I want to backup the > file rc.firewall and exclude other files such as rc.1, etc. > > rdiff-backup --print-statistics --include rc.firewall --exclude '**' > [email protected]::/etc/rc.d/ /backup/servers/ns1 > Fatal Error: Fatal Error: The file specification > 'rc.firewall' > cannot match any files in the base directory > '/etc/rc.d' > Useful file specifications begin with the base directory or some > pattern (such as '**') which matches the base directory. > Fatal Error: Lost connection to the remote system > > > Any advise?
your base is /etc/rc.d, so your include needs to be /etc/rc.d/rc.firewall or **rc.firewall or **/rc.firewall I am newbie to rdiff backup, but this is my understanding > > > _______________________________________________ > rdiff-backup-users mailing list at [email protected] > http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users > Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki >
signature.asc
Description: Digital signature
_______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
