Rolling back the whole file system to a previous snapshot

Siju George sgeorge.ml at gmail.com
Tue May 18 21:06:22 PDT 2010


On Wed, May 12, 2010 at 11:11 PM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
>
> :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>
>

Thanks Matt,

And I guess I will have to separately snapshot the pfses and also
cpdup them separately  because the / snapshot does not contain
anything mounted/unmounted as a pfs ?

--Siju






More information about the Users mailing list