Results 1 to 3 of 3
Hello,
Both Debian Lenny and the system I've been running it on are now long in the tooth. So I've just brought up a Debian Squeeze-based system on a new ...
- 04-10-2011 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 5
Directory/File synchronization across systems
Hello,
Both Debian Lenny and the system I've been running it on are now long in the tooth. So I've just brought up a Debian Squeeze-based system on a new and more capable box.
For awhile, at least, I'd like to keep the home directories and files in sync across the two systems. E.g., if I edit or create a file on one, I'd like to sync it over to the other and vice-versa. I'm looking for two wins here: 1) home dir and file consistency while I wring out the new machine; another layer of back up for my home dir and files until I can get a more permanent back-up regime on the new machine.
It seems I have a number of possible options:
rsync
Unison
git sync
persy
I'd be much grateful for user experiences and recommendations.
Many thanks and best wishes,
LRP
- 04-19-2011 #2Just Joined!
- Join Date
- Mar 2011
- Posts
- 1
I normally use rsync to synchronise files directories (options -u and --recursive) and you can create backups with the option -b (I never used that option before)
An example would be:
Code:rsync -uz --recursive /directory/origin root@server:/directory/destiny
- 04-19-2011 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 5
Thanks you.
Do you use rsync from both directions in the event you made changes on destiny that you want propagated back to origin?
All the best,
LRP


Reply With Quote
