syncing home partitions

der.hans PLUGd at LuftHans.com
Wed Mar 29 16:45:48 MST 2006


Am 29. Mar, 2006 schwätzte Eric "Shubes" so:

> My notebook is set up with centos, ubuntu, and a common /home partition 
> (shared by both). I'm setting up my desktop the same way (w/ fedora as well). 
> Before I leave home, I'd like to synchronize the /home partitions between the 
> two.
> .) Is that practical?

Yes, but I'm not certain how reliable it is.

> .) Is 'rsync' the best program to use for this application?

rsync, especially with a wrapper like unison is a good choice.
Autoupdating into some revision control system like SVN is another good
idea.

> .) Would it be wise to unmount the partition from /home and remount at 
> /mnt/home before syncing? (I'm thinking that some files will be open at the 
> time)

No need to unmount. Open files would make unmounting inpractical anyway.
Open files don't interfere with backups on *NIX as there is no read lock.

If you have db files you need to do backups as specified by the db and
then backup the backups.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/        http://www.CiscoLearning.org/
#  Join the League of Professional System Administrators! https://LOPSA.org/
#  Keine Ahnung, was ich dir sagen soll,
#  keine Ahnung und keinen (.)plan. -- die Toten Hosen


More information about the PLUG-discuss mailing list