HAMMER: recovering directory?
Michael Neumann
michaelneuma at googlemail.com
Mon Dec 14 06:52:33 PST 2009
2009/12/14 <elekktretterr at exemail.com.au>
So we know that we can recover files. What if a directory(lets say it
contains 3000 files) is accidently deleted or the files are overwritten,
but it doesnt exist in the last snapshot (ie. I created it today). How can
we recover that?
Thanks,
Petr
# cd /# mkdir test# touch test/a test/b test/c# hammer synctid / # flush filesystem # rm -rf test# undo test >>> test 000 0x000000010f243340 14-Dec-2009 14:44:41
# cd test@@0x000000010f243340# ls a b cNote, that you don't have to call "hammer synctid" youself, as every 30 seconds thefilesystem is synced to disk.Regards, Michael
More information about the Users
mailing list