ROBOCOPY - Create Backup Script

Page 14 of 32 FirstFirst ... 4121314151624 ... LastLast

  1. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #130

    Hi,

    This might be a permissions issue. Please try the following:

    Code:
    robocopy "C:\Users\VocWorks User" E:\Backup /MIR /E /COPYALL
    I just noticed that /mir also implies /e - I think that must have changed recently, or perhaps I missed it, so yes, you could disregard the /e, but only if you are using /mir.

    Regards,
    Golden
      My Computer


  2. Posts : 2
    Windows 7 64bit
       #131

    robocopy "C:\Users\VocWorks User" E:\Backup /MIR /E /COPYALL
    I did the about as suggest. I even took the /E out. I am getting an error. Screen shot attached.
    Attached Thumbnails Attached Thumbnails ROBOCOPY - Create Backup Script-error.jpg  
      My Computer


  3. Posts : 4
    Windows 7 x64
       #132

    I support the mention about permissions. Windows 7 is quite problematic if you don't know how to handle it properly.

    So try to run robocopy as an administrator (even when you already are). If you're using the cmd.exe to run robocopy do this: Start / type: cmd in the search field / right click on the cmd icon / click on 'run as administrator'

    Then you paste or type: robocopy "C:\Users\VocWorks User" E:\Backup /MIR

    Alternatively, you can exclude problematic files adding this switch at the end: /xf "C:\Users\VocWorks User/NTUSER.DAT".
      My Computer


  4. Posts : 5
    Windows 7 Home Premium 32 bit
       #133

    Don't understand why, but it works.....


    I'm sort of new to RoboCopy and I have become very impressed with what it can do. I played around with the following problem until I got it resolved, but I don't understand why it works.

    This is part of the directory structure on my 'c' drive:
    ROBOCOPY - Create Backup Script-directory.jpg

    If I use this command:
    robocopy "c:\users\Barry\My Documents" "g:\users\Barry\My Documents" /e /mt:4 /tee /w:2 /xj

    It appears that the command works just fine, BUT the 'My Documents' folder doesn't get created on the 'g' drive.

    However, if I use this command:
    robocopy "c:\users\Barry\Documents" "g:\users\Barry\Documents" /e /mt:4 /tee /w:2 /xj

    The 'My Documents' folder DOES get created and the folders/files get created/copied to 'g'.

    Why does this work???
      My Computer


  5. Posts : 5
    Windows 7 Home Premium 32 bit
       #134

    This is what I see when I open Explorer:
    ROBOCOPY - Create Backup Script-directory1.jpg

    Thanks for any knowledge sharing......
      My Computer


  6. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #135

    Hi Epoc,

    My Documents is one of those mystical junction points in Windows Explorer - its real name isn't 'My Documents', its actually just 'Documents', which is why your second version works just fine.

    See below (notice the name in the bar at the top of the image).
    Attached Thumbnails Attached Thumbnails ROBOCOPY - Create Backup Script-capture.png  
      My Computer


  7. Posts : 5
    Windows 7 Home Premium 32 bit
       #136

    Windows, what would we do without it.......

    Thank you for the reply. (Your tutorial is actually what got me started using RoboCopy)
      My Computer


  8. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #137

      My Computer


  9. Posts : 14,606
    Microsoft Windows 7 Home Premium 64-bit 7600
       #138

    thought i would point out colin that the font color in the first two steps of the tutorial makes it unviewable with the sf black theme, try it and see what i mean.
    i can see it by highlighting the area
      My Computer


  10. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #139

    Cheers Julian - I never noticed that before, but looking closer Step 1 and 2 are black, and the rest is the default? colour, whatever it is - it doesn't show in the box. I'll find out what it is and fix it.

    EDIT: Fixed!
      My Computer


 
Page 14 of 32 FirstFirst ... 4121314151624 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:59.
Find Us