DragonFly users List (threaded) for 2009-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: HAMMER: recovering directory?
2009/12/14
<elekktretterr@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 c
Note, that you don't have to call "hammer synctid" youself, as every 30 seconds the
filesystem is synced to disk.
Regards,
Michael
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]