Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 15:25:21 +0100
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: snapshot management tool?
Message-ID:  <op.wpc3oj0r8527sy@pinky>
In-Reply-To: <50CBD711.8090607@freebsd.org>
References:  <20121213162137.78332@relay.ibs.dn.ua> <50CBD711.8090607@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Dec 2012 02:49:05 +0100, Lawrence Stewart  
<lstewart@freebsd.org> wrote:

> On 12/14/12 00:21, Zeus Panchenko wrote:
>> hi all,
>>
>> please, share what are you using to manage snapshots
>>
>> in ports collection I see:
>>
>> zfs-periodic
>> zfs-snapshot-mgmt
>> zfsnap
>> zfstools
>
> I use zfsnap on all my ZFS based systems e.g.
>
> root@newtcphub:~ # tail -n 15 /etc/crontab
>
> # Remove snapshots with an expired TTL at 05:35/17:35 each day.
> 35      5,17    *       *       *       root    /usr/local/sbin/zfSnap
> -d -p 15mins_ -p daily_ -p weekly_ -p monthly_
>
> # Take 15min snapshots of important filesystems, rolling them every 3  
> days.
> 8/15    *       *       *       *       root    /usr/local/sbin/zfSnap
> -S -s -a 3d -p 15mins_ -R newtcphub newtcphub/usr newtcphub/var -r
> newtcphub/home newtcphub/data
>
> # Take daily snapshots of important filesystems at 06:10, rolling them
> every 14 days.
> 10      6       *       *       *       root    /usr/local/sbin/zfSnap
> -S -s -a 14d -p daily_ -R newtcphub newtcphub/usr newtcphub/var -r
> newtcphub/home newtcphub/data
>
> # Take weekly snapshots of important filesystems at 06:25 on Sundays,
> rolling them every 6 weeks.
> 25      6       *       *       sun     root    /usr/local/sbin/zfSnap
> -Ss -a 6w -p weekly_ -R newtcphub newtcphub/usr newtcphub/var -r
> newtcphub/home newtcphub/data
>
> # Take monthly snapshots of important filesystems at 06:35 on the 1st of
> each month, rolling them every 4 months.
> 35      6       1       *       *       root    /usr/local/sbin/zfSnap
> -Ss -a 4m -p monthly_ -R newtcphub newtcphub/usr newtcphub/var -r
> newtcphub/home newtcphub/data
>
>
> Haven't tried the other ports so don't have an opinion on them.
>
> Cheers,
> Lawrence


Does this also work for a home computer which is not always on? I'm  
curious about how people handle that.

Ronald.



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