rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] backup single file


From: Alex Samad
Subject: Re: [rdiff-backup-users] backup single file
Date: Wed, 21 Oct 2009 20:52:30 +1100
User-agent: Mutt/1.5.20 (2009-06-14)

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 '**' 
> address@hidden::/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 address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
> 

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]