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 [EMAIL PROTECTED] 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- [EMAIL PROTECTED]"

--
David King
Computer Programmer
Ketralnis Systems


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to