From owner-freebsd-fs@FreeBSD.ORG Sat Dec 15 15:00:04 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A249AAD3 for ; Sat, 15 Dec 2012 15:00:04 +0000 (UTC) (envelope-from graudeejs@yandex.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id 128BA8FC0C for ; Sat, 15 Dec 2012 15:00:04 +0000 (UTC) Received: from web16h.yandex.ru (web16h.yandex.ru [84.201.186.45]) by forward2h.mail.yandex.net (Yandex) with ESMTP id 931967016B0; Sat, 15 Dec 2012 19:00:02 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web16h.yandex.ru (Yandex) with ESMTP id 2151A59800A8; Sat, 15 Dec 2012 19:00:02 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1355583602; bh=7r7u/JZNvCrl6GCYv2FZJYzJrBK9aA+0LmHy/pAznT0=; h=From:To:In-Reply-To:References:Subject:Date; b=k9etysQHCFVs3mIOFmyvPWtGv4jr82UL/i8mG5JfLUbI5ZUZrWW0Q6B4emHk13tpY SBWSqJwaDrfof7wmplYn2sks2mwNK6NAs44hhcyJ3oiRe/kor8+VbWifF2bFP52YXi 2BU9C1DzqZ2fCrk3GFYXfSbU2R+Qt8/H4zYDM2c8= Received: from mpe-11-155.mpe.lv (mpe-11-155.mpe.lv [83.241.11.155]) by web16h.yandex.ru with HTTP; Sat, 15 Dec 2012 19:00:01 +0400 From: Aldis Berjoza Envelope-From: graudeejs@yandex.ru To: Ronald Klop , "freebsd-fs@freebsd.org" In-Reply-To: References: <20121213162137.78332@relay.ibs.dn.ua> <50CBD711.8090607@freebsd.org> Subject: Re: snapshot management tool? MIME-Version: 1.0 Message-Id: <2330171355583601@web16h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sat, 15 Dec 2012 17:00:01 +0200 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 15:00:04 -0000 15.12.2012, 16:25, "Ronald Klop" : > On Sat, 15 Dec 2012 02:49:05 +0100, Lawrence Stewart > 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