SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
backup single file
Author Message
Post backup single file 
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 '**' backup < at > 10.4.0.17::/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?


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post backup single file 
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 '**' backup < at > 10.4.0.17::/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 rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB