From owner-freebsd-questions@FreeBSD.ORG Mon Sep 4 04:44:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EB1316A4DF for ; Mon, 4 Sep 2006 04:44:58 +0000 (UTC) (envelope-from dking@ketralnis.com) Received: from ketralnis.com (melchoir.ketralnis.com [68.183.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BDBC43D67 for ; Mon, 4 Sep 2006 04:44:58 +0000 (GMT) (envelope-from dking@ketralnis.com) Received: from [10.0.1.239] (ayla.wifi.int.ketralnis.com [10.0.1.239]) (authenticated bits=0) by ketralnis.com (8.13.6/8.13.6) with ESMTP id k844ivpq056174 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Sun, 3 Sep 2006 21:44:57 -0700 (PDT) (envelope-from dking@ketralnis.com) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20060904043500.GA8617@thought.org> References: <20060904043500.GA8617@thought.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3796734A-5434-44BA-8E53-B396E205151B@ketralnis.com> Content-Transfer-Encoding: 7bit From: David King Date: Sun, 3 Sep 2006 21:44:53 -0700 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.2) Subject: Re: time to come clean... . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 04:44:58 -0000 > It's time to come clean and admit that parts/most of rsync are > lost on my. [...] > How can I automate the backup via rsync to other servers? Depending on the backup strategy that you want, I highly recommend rsnapshot (/usr/ports/sysutils/rsnapshot ). It handles most of the management of retaining past backups up to X days, X weeks, etc, and uses hardlinks to save space between the backups. So because it uses rsync, it uses the bandwidth of an incremental backup, but because it uses directory trees of hardlinks, each backup is completely restorable like a full backup. > I have > a couple boxen out there miles remote; the rest are meters apart. > If 'expect the unexpected' is any guide, now I *am* expecting. > If it means a few days and 8 hours of typing, then that's just > the price. (That I had a recent TaoEtc.tbz is a good sign; that > it was in /usr/tmp _on_ tao is not a good sign... .) > > I've just installed/reinstaled rsync here on ns1.thought.org (aka > "sage") and on zen.thought.org. I've fiddled with the rsyncd.conf on > both FBSD systems. What I don't understand is how rsync, using > ssh, gets past the secret password. If, say, I want to > copy all of my www files from sage to zen, what do I put > into /usr/local/etc/rsyncd.secrets? Let's say that rsyncd.secrets > had: > > # User : pw > root : abcd > kline: wxyz > > Would this old snippet work as a starting place, exec'd by root: > > > > rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ > ssh > --recursive --times --perms --links --delete \ > --exclude "*bak" --exclude "*~" \ > /usr/local/www/* zen.thought.org:/usr/local/www > > ?? > > Thanks for any clues. I have a lot of stuff tarballed, but it's > time to do things right!! > > gary > > > > > > > > -- > Gary Kline kline@thought.org www.thought.org Public > service Unix > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" -- David King Computer Programmer Ketralnis Systems