Rolling back the whole file system to a previous snapshot
dillon at apollo.backplane.com
Wed May 12 10:45:29 PDT 2010
: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 :-(
The prune-min is currently specified in the PFS configuration.
hammer pfs-status <pfspath>
hammer pfs-update <pfspath> prune-min=3d
<dillon at backplane.com>
More information about the Users