none
Robocopy Scripts RRS feed

  • Question

  • I have robocopy scripts that I am running to mirror files from one server to another server on a daily basis.  The script seems to be doing what it is intended to do, but for some reason the last run result always return a 1 0r 0x1. 

    Please see the script below

    @REM Script to copy Netbackup DR FILES to secondary server
    robocopy e:\NB_CATALOG /maxage:1 /MIR \\abcdefgh01\NB_CATALOG /log:e:\NB_CATALOG\RobocopyLog\DRfiles_copy.log /TS /FP
    robocopy e:\PHI_NB_CATALOG_Store /maxage:1 /MIR \\abcdefgh01\PHI_NB_CATALOG_Store /log:e:\PHI_NB_CATALOG_Store\RobocopyLog\Catalog_copy.log /TS /FP
    exit

    what am I doing wrong?

    Monday, December 10, 2012 5:21 PM

Answers