[Networker] Advice on migrating a large (2TB) AFTD storage node to new h
2011-07-14 17:46:56
The script below copies data from FileServ1 to FileServ2, the destination holds
a full mirror along with file security info. When run regularly to synchronize
the source and destination, robocopy will only copy those files that have
changed (change in time stamp or size.)
---------------------------------------------------------------
@ECHO OFF
SETLOCAL
SET _source=\\FileServ1\e$\users
SET _dest=\\FileServ2\e$\BackupUsers
SET _what=/COPYALL /B /SEC /MIR
:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree
SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging
ROBOCOPY %_source% %_dest% %_what% %_options%
---------------------------------------------------------------
You can start this script today if you want and stop it whenever you want.
When you run it the next 2 weeks on a daily basis the servers will be in sync as
soon as you want to take the new server into production.
Regards,
Jeroen
+----------------------------------------------------------------------
|This was sent by jeroen AT boekkamp DOT nl via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|