Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 10:55:34 +0200
From:      Niki Denev <nike_d@cytexbg.com>
To:        stable@freebsd.org
Cc:        NAKAMURA Takeshi <1yen@sh.rim.or.jp>
Subject:   Re: filesystem snapshot timestamp not correct?
Message-ID:  <200602281055.34762.nike_d@cytexbg.com>
In-Reply-To: <20060228174550.AB66.1YEN@sh.rim.or.jp>
References:  <200602281040.36507.nike_d@cytexbg.com> <20060228174550.AB66.1YEN@sh.rim.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 28 February 2006 10:48, you wrote:
> Hi
>
> On Tue, 28 Feb 2006 10:40:36 +0200,
>
>  Niki Denev <nike_d@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602281055.34762.nike_d>