Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
backup single file

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
Nelson Serafica
Guest





PostPosted: Wed Oct 21, 2009 12:15 am    Post subject: backup single file Reply with quote

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
Back to top
Alex Samad
Guest





PostPosted: Wed Oct 21, 2009 2:06 am    Post subject: backup single file Reply with quote

On Wed, Oct 21, 2009 at 04:15:14PM +0800, Nelson Serafica wrote:
Quote:
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
Quote:


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB