DragonFly users List (threaded) for 2010-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Rolling back the whole file system to a previous snapshot
:How do I roll back a complete hammer file system to a previous snapshot?
cpdup the desired snapshot onto the live, but you have to use the
-VV option to force cpdup to ignore mtime and compare the file contents
(because the snapshot mtimes may not match), and make sure you traverse
the snapshot softlink and match up the top level directory properly.
cpdup -VV -v <snapshotpath>/. <target>
:also how do I set prune-min to a hammer file system? I only know how
:to set it for a pfs :-(
:
:thanks
:
:--Siju
The prune-min is currently specified in the PFS configuration.
hammer pfs-status <pfspath>
hammer pfs-update <pfspath> prune-min=3d
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]