Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: r603?


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: r603?
Date   Wed, 13 Oct 2010 08:43:28 +0000

Not a Stata solution but if you've "millions" of files to back up
regularly you should really consider using something like rsync to
mirror your directory.  It takes a long time to run in the first
instance as it has to copy everything over, but after that it only
copies the parts of files that have changed (or new files if more have
been added to the directory you are copying from).

Your current approach will copy over files that have previously been
copied which is a waste of time if they are the same.

It will even allow you to synchronise with remote servers (in fact
thats its original design, but sync doesn't care if remote/local
directories are on the same computer, network drives, different
servers/networks in general).

A windows version is available
fromhttp://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp  (the main *NIX
based program is from Samba, and is detailed at
http://rsync.samba.org/ ).  You'll also find an implementation of it
for Cygwin if you want to also have a UNIX-like shell under M$-Windows
(see http://www.cygwin.com/).

Neil

-- 
"Our civilization would be pitifully immature without the intellectual
revolution led by Darwin" - Motoo Kimura, The Neutral Theory of
Molecular Evolution

Email - nshephard@gmail.com
Website - http://kimura-no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index