Date: Sat, 15 Dec 2012 17:00:01 +0200 From: Aldis Berjoza <graudeejs@yandex.com> To: Ronald Klop <ronald-freebsd8@klop.yi.org>, "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: snapshot management tool? Message-ID: <2330171355583601@web16h.yandex.ru> In-Reply-To: <op.wpc3oj0r8527sy@pinky> References: <20121213162137.78332@relay.ibs.dn.ua> <50CBD711.8090607@freebsd.org> <op.wpc3oj0r8527sy@pinky>
next in thread | previous in thread | raw e-mail | index | archive | help
15.12.2012, 16:25, "Ronald Klop" <ronald-freebsd8@klop.yi.org>: > 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. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" For home computer I install and adjust sysutils/anacron port -- Aldis Berjoza FreeBSD addict
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2330171355583601>