Re: Backups; the dumbest question in the world
From: Adam Taube (nospam_at_thenewsgroups.com)
Date: 09/25/04
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: Backups; the dumbest question in the world"
- Previous message: Lev Walkin: "Re: Beta testers needed - C to Java byte-code compiler/IDE"
- In reply to: Panties on me gaelic haed!: "Backups; the dumbest question in the world"
- Next in thread: Ben O'Brien: "Re: Backups; the dumbest question in the world"
- Reply: Ben O'Brien: "Re: Backups; the dumbest question in the world"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Sep 2004 22:55:07 -0600
> nsswitch, I've been forced into having to remember to 'manually' copy my
> backups weekly to one of the Sun boxes that get tape-backedup.
>
> Does anyone have any kind of solution to this?
Use ssh tunneled rsync to back up from one machine to the other. You can
generate keys using openssl so that your backup script can either copy the
tar.gz directly to the other machine automatically without having to enter
password - on the backup machine create a user called 'rsync' or whatever
you decide, create the key on the source machine and put it in the
authorized_keys file in ~rsync/.ssh/ - then have cron call a script that
will do this:
/usr/local/bin/rsync -e "ssh" -acqz /backupdir/backupfile.tar.gz
rsync@host:/home/rsync/backupdir
Great thing is you can have it synchronize sets as often as you like. Even
have multiple versions in folders for each day of the week, however you want
to do it :-)
This assumes that rsync, openssl, are installed and sshd is running on your
machines. You don't need to run the rsync server at all for this, sshd will
call it.
For more info, man rsync
:-)
Adam
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: Backups; the dumbest question in the world"
- Previous message: Lev Walkin: "Re: Beta testers needed - C to Java byte-code compiler/IDE"
- In reply to: Panties on me gaelic haed!: "Backups; the dumbest question in the world"
- Next in thread: Ben O'Brien: "Re: Backups; the dumbest question in the world"
- Reply: Ben O'Brien: "Re: Backups; the dumbest question in the world"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|