Windows 10: Robocopy options

Discus and support Robocopy options in Windows 10 Backup and Restore to solve the problem; I have a batch file that contains this line Code: robocopy "E:\ame\Documents\_kunddata" "\\DESKTOP-2S2F2DJ\Backup\Kunddata" /MIR /W:1 /R:1... Discussion in 'Windows 10 Backup and Restore' started by anders59, May 24, 2020.

  1. anders59 Win User

    Robocopy options


    I have a batch file that contains this line
    Code:
    In the log file I get this
    Code:
    So there are som extra options in the log file. /DCOPY and /COPY are the default values so I get them. Also /PURGE might make sense...

    But why is there both /S and /E ?
    Is they the opposite?

    :)
     
    anders59, May 24, 2020
    #1

  2. Robocopy invalid parameter 3

    Not sure what I'm doing wrong here but this script keeps telling me that a parameter is invalid and I can't figure out why.. I moved the parameters to a variable because somebody suggested that might work but I also tried

    Robocopy "$StartLocation" "$EndLocation" /SEC /E /XX /MINLAD:1 /MOV /A-:SH /XF "*FULL*.bak"

    Keep getting this error

    Started : Thursday, December 13, 2018 5:11:51 PM

    Source - L:\FakeLocation

    Dest - \\ThisIsA\FakeLocation\ButThereAreNo\Spaces

    NULL

    Files :

    Options : /DCOPYRobocopy options :DA /COPYRobocopy options :DAT /R:1000000 /W:30

    NULL

    ------------------------------------------------------------------------------

    NULL

    ERROR : Invalid Parameter #3 : " /SEC"

    Below is my shoddy code

    PARAM($StartLocation="L:\FakeLocation",

    $EndLocation="\\ThisIsA\FakeLocation\ButThereAreNo\Spaces",

    $Job='1')

    $Options = "/SEC /E /XX /MINLAD:1 /MOV /A-:SH /XF ""*FULL*.bak"""

    $Options2 = "/SEC /E /XX /MINLAD:7 /MOV /A-:SH"

    $Options3 = "/SEC /E /XX /MINLAD:1 /MOV /A-:SH"

    IF ($JOB='1')

    {

    Robocopy "$StartLocation" "$EndLocation" $Options

    Robocopy "$StartLocation" "$EndLocation" $Options2

    }

    IF ($JOB='2')

    {

    Robocopy "$StartLocation" "$EndLocation" $Options3

    }
     
    Michael Lanahan, May 24, 2020
    #2
  3. Robocopy infinite recursion

    Hi,

    Thank you for writing to Microsoft Community Forums.

    Try running the /zb command from the article
    Robocopy
    for the Access Denied error and check if this helps.

    If you are still facing any issues, then I would suggest you to post your query in

    IT Pro TechNet forums
    .
     
    Shafeeq_Khan, May 24, 2020
    #3
  4. Robocopy options

    Robocopy command is not recognized

    Well, that's good news! It tells you there is nothing wrong with robocopy itself. Now please let's have a screenshot of this sequnce:

    1. Press the Windows key + R
    2. Type cmd.exe and press Enter.

      You should get a black frame. The prompt should read C:\Windows\System32
    3. Type echo %path% and press Enter.
     
    Frederik Long, May 24, 2020
    #4
Thema:

Robocopy options

Loading...
  1. Robocopy options - Similar Threads - Robocopy options

  2. ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME

    in Windows 10 Gaming
    ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME: I love using ROBOCOPY to perform my file backups but just after DAYLIGHT SAVINGS TIME occurs it appears to no longer perform a DIFFERENTIAL backup. Instead, ROBOCOPY starts copying as if it were the very first time. I know there is a 'DST' optional flag available but when...
  3. ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME

    in Windows 10 Software and Apps
    ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME: I love using ROBOCOPY to perform my file backups but just after DAYLIGHT SAVINGS TIME occurs it appears to no longer perform a DIFFERENTIAL backup. Instead, ROBOCOPY starts copying as if it were the very first time. I know there is a 'DST' optional flag available but when...
  4. ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME

    in Windows 10 Installation and Upgrade
    ROBOCOPY: quirky behavior after DAYLIGHT SAVINGS TIME: I love using ROBOCOPY to perform my file backups but just after DAYLIGHT SAVINGS TIME occurs it appears to no longer perform a DIFFERENTIAL backup. Instead, ROBOCOPY starts copying as if it were the very first time. I know there is a 'DST' optional flag available but when...
  5. Robocopy Backup Files are no longer visible or accessible

    in Windows 10 Gaming
    Robocopy Backup Files are no longer visible or accessible: I've been using Robocopy for years to backup folders. All of a sudden, my backup folders and files are no longer visible or accessible. I've tried removing system and hidden file attributes which I never had to do before but that didn't help. I've also tried all the...
  6. Robocopy Backup Files are no longer visible or accessible

    in Windows 10 Software and Apps
    Robocopy Backup Files are no longer visible or accessible: I've been using Robocopy for years to backup folders. All of a sudden, my backup folders and files are no longer visible or accessible. I've tried removing system and hidden file attributes which I never had to do before but that didn't help. I've also tried all the...
  7. Windows 11 Task Scheduler Robocopy

    in Windows 10 Software and Apps
    Windows 11 Task Scheduler Robocopy: I have a simple batch file with a robocopy command which runs perfectly by itself. The batch file will not run in Task Scheduler. It worked in Windows 10 Task Scheduler but not in Windows 11. All Task Scheduler settings are the same as the one I used in Windows 10. I read...
  8. Windows 11 Task Scheduler Robocopy

    in Windows 10 Gaming
    Windows 11 Task Scheduler Robocopy: I have a simple batch file with a robocopy command which runs perfectly by itself. The batch file will not run in Task Scheduler. It worked in Windows 10 Task Scheduler but not in Windows 11. All Task Scheduler settings are the same as the one I used in Windows 10. I read...
  9. ROBOCOPY - "The Parameter is incorrect." error

    in Windows 10 Gaming
    ROBOCOPY - "The Parameter is incorrect." error: I think there's a bug with "robocopy". I have a file, for whatever reason which has an invalid timestamp... but that I believe isn't the issue...K:\>dir IMG_3996.JPG Volume in drive K is photos Volume Serial Number is 0001-0123A Directory of K:\ 01/01/1970 10:49 AM 1,571,541...
  10. ROBOCOPY - "The Parameter is incorrect." error

    in Windows 10 Software and Apps
    ROBOCOPY - "The Parameter is incorrect." error: I think there's a bug with "robocopy". I have a file, for whatever reason which has an invalid timestamp... but that I believe isn't the issue...K:\>dir IMG_3996.JPG Volume in drive K is photos Volume Serial Number is 0001-0123A Directory of K:\ 01/01/1970 10:49 AM 1,571,541...