Robert Smits wrote:
> I have a number of systems I'd like to regularly back up with rsync. Let me 
> describe them.
> 
> 
> Computer 1 is my main desktop at home. It runs 24-7 and has a 500 GB USB SATA 
> drive to do back ups on. It uses OpenSuse 10.2. It is networked to all other 
> computers in the house with nfs.
> 
> Computer 2 is my laptop, which goes everywhere. At home it is networked to 
> Computer 1 and 3 with nfs. At work it is networked to my work computer (also 
> running nfs). It runs OpenSuse 10.3.
> 
> Computer 3 is my wife's desktop at home. It uses OpenSuse 10.2 and is 
> networked to computers 1 and 2. 
> 
> Computer 4 is my work computer, a desktop running OpenSuse 10.2 and networked 
> to my laptop with nfs when I am there. 
> 
> What I'd like to do is regularly make backups of:
> 1. my files on my desktop to my USB drive.
> 2. my files on my laptop, which are a subset of the files on my desktop, to 
> my 
>     desktop.
> 3. my files on my work computer to my laptop.
> 
> Am I going to have file permission problems doing it this way? (My home 
> partition has the same name on each computer).
> 
> Other suggestions about how to organize this are gratefully received.
> 
> Bob.
> 
rsync does all of this and much more, but imho this is a bit complicated.

I would do it like this, derived from practical life:

Install Unison on your laptop and on any computer that you want to sync
in one or an other way, either to or from your laptop.

Configure profiles in Unison on your laptop that do the different syncs
to and from other computers.

Rationale behind this:
Your laptop is the only PC that is not permanently available on your
home network, so it makes sense to control the sync actions that involve
the laptop from this machine, i.e. when it is available or when someone
uses it at home.

You can also easily automate these sync task on your laptop via the
unison text mode client that does the same like the GUI, just in the
console and sriptable.

The remaining task(s), as I understand, are the backup job(s) to your
usb drive. For this I would use rsnapshot to facilitate an easy multi
generation backup. If, some day, you decide to backup more machines or
more data to your usb_disk, this also is dead easy with rsnapshot, since
it works on top of rsync, just more easy and more intelligent. This is
also very easy to have done automagically, via cron, for example.


I hope I understood your targets correctly.

kind regards
Eberhard

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to