Hi William,

1. to find where extactly is file you want to restore (your backup is in directory /backup/server1/)
    rdiff-backup -r 1D /backup/server1/  | grep index.php
    result can be for example /www/index.php

2. now restore that file to temp directory
    rdiff-backup -r 1D /backup/server1/www/index.php /restoredir/index.php
    note: you have to specify also target file name

I think now you can write simple script do find more files form text file.

Miroslav Geisselreiter

23.10.2012 16:28, William wrote:

Hello,

Is it possible to restore a specific list of files from an rdiff-backup 
repository?

I'd like to restore all index.php and index.html files from one day ago to a 
temporary local dir, but don't know how to do it, if it's even possible. Even 
better would be to provide rdiff-backup with a list of files from a text file.

See also my original question:
http://www.linuxquestions.org/questions/linux-server-73/how-to-restore-a-list-of-files-with-rdiff-backup-4175433573/

Thanks in advance!

William


_______________________________________________
rdiff-backup-users mailing list at [email protected]
https://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 [email protected]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to