Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: r603?


From   Neil Shephard <[email protected]>
To   [email protected]
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 - [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index