[GLLUG] Samba as DC and netlogon.bat -> backup using unison . . .

Nathan Hartley nathan at ilothlorien.com
Mon Nov 12 22:25:42 EST 2007

When unison compares files over a network share it does it no differently
than it would locally, it reads the file in both locations from the hosting
machine. In other words for unison to do it's magic the host machine has to
read the data from the remote machine at network speeds. An alternative is
running unison on both machines, one in server mode the other in client
mode. Then, only the changes are transfered over the network. The unison
documentation explains this far better than I could...


Another time saver would be to note that by default Windows does not
syncronize the 'Local Settings' folder, you could safely skip this as well.
You may also find other folders and documents that could be skipped. 

-ignore "/Local Settings/"

-----Original Message-----
From: linux-user-bounces at egr.msu.edu [mailto:linux-user-bounces at egr.msu.edu]
On Behalf Of Benjamin Cathey
Sent: Monday, November 12, 2007 9:56 AM
To: linux-user at egr.msu.edu
Subject: [GLLUG] Samba as DC and netlogon.bat -> backup using unison . . . 

Okay - well, I got the command-line version of unison.  I am playing with
the flags now.  It seems to take forever because it checks every file (some
people have big "My Documents" folders).

At the end it gives the nice little output that seems accurate about what
has changed - I just wish it was faster -

Going to try to turn the -fastcheck option to true and see what plays out -
for now my options are:

unison "%userprofile%\My Documents" x:\%username% -contactquietly -batch
-prefer "%userprofile%\My Documents"


Okay adding -fastcheck true made it take 30 seconds for a 4.6 Gig folder
instead of 4+ minutes.


And it didn't seem to miss the changes I made.  So this is what I'll stick

Thanks again guys for all your help and suggestions.

Benjamin Cathey
System Administrator
Cathey Company
4917 Tranter St.
Lansing, MI 48910 USA
Phone:     517.393.4720
Fax:       517.393.4225
Toll Free: 800.333.1972
"Service is Our Profession"


This E-mail message and any attachments may contain legally privileged,
confidential or proprietary information. If you are not the intended
recipient(s), or the employee or agent responsible for delivery of this
message to the intended recipient(s), you are hereby notified that any
dissemination, distribution or copying of this E-mail message is strictly
prohibited. If you have received this message in error, please immediately
notify the sender and delete this E-mail message from your computer. 

linux-user mailing list
linux-user at egr.msu.edu

More information about the linux-user mailing list