Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 21:44:53 -0700
From:      David King <dking@ketralnis.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: time to come clean... .
Message-ID:  <3796734A-5434-44BA-8E53-B396E205151B@ketralnis.com>
In-Reply-To: <20060904043500.GA8617@thought.org>
References:  <20060904043500.GA8617@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <http://www.rsnapshot.org/ 
 >). 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3796734A-5434-44BA-8E53-B396E205151B>