Hi Eric I spared you (and list) any more of this for a while but anyway, I have tried various permutations, going back by one or more hours, or days, but I still cannot find a way to restore a whole folder that has been deleted. Going back to my original example, I can still obviously restore the four files one at a time using the .gz versions of the files, but I cannot find a way to restore the whole folder.
Well, I will do some more reading of examples to see if I can locate the solution! Martin On Wed, 2007-12-19 at 14:55 -0500, Eric Jensen wrote: > Hi Martin, > > > This > > > > rdiff-backup -r 1D > > '/media/ext3backup/rdiff-backup/home/martin/Documents/Oryx/42(1)/ > > Harris > > 2007_48 [frmtd]/' '/home/martin/Documents/Oryx/42(1)/Harris 2007_48 > > [frmtd]/' > > > > ran without protest but did not restore anything (either folder or > > files), which perhaps suggests there is nothing to restore? Or perhaps > > 1D means exactly what it says (i.e. 24 hours previously). Copying the > > date & time directly from the .gz increment file of one of the four > > files, I tried this > > > > rdiff-backup -r 2007-12-18T17:00:03-03:00 > > '/media/ext3backup/rdiff-backup/home/martin/Documents/Oryx/42(1)/ > > Harris > > 2007_48 [frmtd]/' '/home/martin/Documents/Oryx/42(1)/Harris 2007_48 > > [frmtd]/' > > > > which, as I understand it, is requesting a restore of this folder from > > the time in question. Again, ran without protest but did nothing (and > > the four files are definitely in there!). > > You need to shift the time back just a little farther, to a time > *before* that time stamp. Why? Well, the reason that those files > were moved into the incrementals directory at that time is that that > was the first time that rdiff-backup noticed that they were *not* > present in the source directory any more. Thus, requesting a restore > to the state at that time is requesting a restore to the state > *without* those files present. If you go back just a little farther > in time, then you're back into the time frame when they *did* exist > in the source directory, so they should get restored - that is, if > I'm understanding all of this correctly. > > Best, > > Eric > _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
