| View previous topic :: View next topic |
| Author |
Message |
Nelson Serafica Guest
|
Posted: Wed Oct 21, 2009 12:15 am Post subject: 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 |
|
| Back to top |
|
 |
Alex Samad Guest
|
Posted: Wed Oct 21, 2009 2:06 am Post subject: backup single file |
|
|
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
_______________________________________________
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 |
|
 |
|