none
Robocopy to BackUp folder over network RRS feed

  • General discussion

  • i Was looking for the best combination of switches to backup a folder but i had some doubt. I started from here:

     robocopy       D:\data    \\Server_Share    /mir /XA:SH /R:3  /W:5 /np  /log:backup_log.txt

    but the user is a bit worried to use the /mir switch who delete a folder in the destination if is removed from the source . So I thought to use the /e switch:

    robocopy       D:\data    \\Server_Share    /e  /XA:SH /R:3  /W:5 /np  /log:backup_log.txt

    In this case I copy all everytime a run the command overwriting folder and/or files with same name. Correct? If yes this could make the copy slower. So with the /e swicth there is a way to tell "copy the file only if the file is newer"

    What make some doubt is what i found on this link:

    https://www.sevenforums.com/tutorials/187346-robocopy-create-backup-script.html

    where are  used the switch /e and/mir   together:

    robocopy F:\Data3 Q:\Backups\Data3 /e /mir /np /log+:backup_log.txt

    if  /mir  is  /e  plus /purge has sense use them together??




    • Edited by giobaxx2708 Monday, December 11, 2017 10:24 PM
    • Changed type Bill_Stewart Tuesday, December 12, 2017 1:00 AM
    • Moved by Bill_Stewart Tuesday, December 12, 2017 1:00 AM Off-topic
    Monday, December 11, 2017 10:12 PM

All replies

  • This is not a robocopy support forum. Robocopy is a Windows OS utility.

    You have the same access to robocopy documentation that we have.

    For questions about Windows OS utilities, you'll need to find a forum for the version of Windows you're using.


    -- Bill Stewart [Bill_Stewart]

    Monday, December 11, 2017 10:44 PM
  • sorry.....i notice now where i wrote........sorry sorry

    you can delete my post?

    • Edited by giobaxx2708 Monday, December 11, 2017 11:33 PM error
    Monday, December 11, 2017 11:30 PM