|
From: | Miroslav Geisselreiter |
Subject: | Re: [rdiff-backup-users] How to restore a specific list of files with rdiff backup? |
Date: | Tue, 23 Oct 2012 17:47:03 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120909 Firefox/15.0.1 SeaMonkey/2.12.1 |
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 address@hidden https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[Prev in Thread] | Current Thread | [Next in Thread] |