filesystem snapshot timestamp not correct?

Niki Denev nike_d at cytexbg.com
Tue Feb 28 00:53:16 PST 2006


On Tuesday 28 February 2006 10:48, you wrote:
> Hi
>
> On Tue, 28 Feb 2006 10:40:36 +0200,
>
>  Niki Denev <nike_d at cytexbg.com> wrote:
> > Any ideas? Probably i'm doing something wrong, but can't see it yet...
>
> Tri it.
>
> DIR=/.snap
> nice sh -c "cd $DIR ; rm -rf `date -v-7d +'snapshot-%d-%m-%y'`"
> ----+----1----+----2----+----3----+----4----+----5----+----6----+
>  NAKAMURA Takeshi <1yen at sh.rim.or.jp>
>  I have poor english.

Thanks, this will work... but i was under the impression that 
the snapshots will have meaningful timestamps too. 
At least this is what is mentioned in /usr/src/sys/ufs/ffs/README.snapshot :

  2) Run dump on the snapshot. You will get a dump that is
     consistent with the filesystem as of the timestamp of the
     snapshot.

Regards,
Niki



More information about the freebsd-stable mailing list