Windows 10: Using RoboCopy

Discus and support Using RoboCopy in Windows 10 Support to solve the problem; I'm trying to use RoboCopy to backup my data files to a USB stick and External HDD. I created a folder in each destination called DataBackup and run... Discussion in 'Windows 10 Support' started by JamesJoey, Aug 11, 2017.

  1. JamesJoey Win User

    Using RoboCopy


    I'm trying to use RoboCopy to backup my data files to a USB stick and External HDD.

    I created a folder in each destination called DataBackup and run the following command.

    robocopy "d:\datafiles" "e:\databackup /e

    Problem is it doesn't copy to that folder. It simply puts the folder DataFiles in the root of each drive and copies it's contents.
    In fact the folder I specify in the command is removed after the copy.
    How do I get robocopy to copy the folder to the folder I specify?

    Also, after the initial copy, when I want to backup again, how to I tell robocopy to only replace files that has been changed since the last backup?

    James

    :)
     
    JamesJoey, Aug 11, 2017
    #1
  2. Sam___ Win User

    Can't Copy to Server

    Try copying using robocopy and using the backup mode switches. For example

    robocopy c:\mydata \\server\share /e /zb

    -Sam
     
    Sam___, Aug 11, 2017
    #2
  3. kokomito Win User
    How do I change memory card on C6 without loosing the data?

    In case of a card-change I would prefer using:

    robocopy <drive_letter_of_old_card>:\ <drive_letter_of_new_card>:\ /MIR

    or, if there's only one MicroSD-slot

    robocopy <drive_letter_of_old_card>:\ <temporary_folder_path>\ /MIR

    (interchange cards)

    robocopy <temporary_folder_path>\ <drive_letter_of_new_card>:\ /MIR



    For further information on using robocopy or the command line, refer to the internet (primarily the pages of Microsoft).
     
    kokomito, Aug 11, 2017
    #3
  4. pepanee Win User

    Using RoboCopy

    I don't know much about RoboCopy. I use a 3rd party program that is a GUI version of RoboCopy called: FastCopy

    But also one thing that I wanted to point out to you was that you seem to be missing a "close quote" after e:\databackup
     
    pepanee, Aug 11, 2017
    #4
  5. spunk Win User
  6. JamesJoey Win User
    I found a third party sync program that does my bidding.

    Thanks,James
     
    JamesJoey, Aug 11, 2017
    #6
  7. This is the wrong syntax: robocopy "d:\datafiles" "e:\databackup /e

    IT needs to be like this: robocopy d:\datafiles e:\databackup\datafiles /e

    You only need the quotes if the folder has a space in the name. Hope this helps.
     
    play2mefish, Aug 12, 2017
    #7
  8. Try3 Win User

    Using RoboCopy

    James,

    If you are happy to use a third party utility then fine but you could have used

    ROBOCOPY "d:\datafiles" "e:\databackup" /E /XA:H /MIR /DCOPY:T /MT /R:10

    You'll find explanations of each of the switches by entering this in a command window RoboCopy /?

    In the example given, you can omit the " pairs but notice that, as pointed out above, they must be used at the start and end of any path that contains a space [in your question, you omitted one of them - they must always exist in pairs if they are used at all].

    Denis
     
  9. Bree New Member
  10. Wiley Coyote, Apr 4, 2018
    #10
Thema:

Using RoboCopy

Loading...
  1. Using RoboCopy - Similar Threads - Using RoboCopy

  2. How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...

    in Windows 10 Network and Sharing
    How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...: This is nearly directly copied from a post made on r/WindowsHelp on December 23, 2024, which in turn was a follow-up on a post made to r/DataHoarder on November 16, 2024.For context, I am currently running Windows 10 Pro, version 22H2, build 19045.5247, experience Windows...
  3. How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...

    in Windows 10 Gaming
    How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...: This is nearly directly copied from a post made on r/WindowsHelp on December 23, 2024, which in turn was a follow-up on a post made to r/DataHoarder on November 16, 2024.For context, I am currently running Windows 10 Pro, version 22H2, build 19045.5247, experience Windows...
  4. How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...

    in Windows 10 Software and Apps
    How do I use robocopy to do a task like the File Explorer "Move" i.e. keep metadata, delete...: This is nearly directly copied from a post made on r/WindowsHelp on December 23, 2024, which in turn was a follow-up on a post made to r/DataHoarder on November 16, 2024.For context, I am currently running Windows 10 Pro, version 22H2, build 19045.5247, experience Windows...
  5. Error 1392 using Robocopy

    in Windows 10 Gaming
    Error 1392 using Robocopy: I have 1.15 TB of video files on a 5 TB external hard drive NTFS. I am attempting to copy these over to a 2 TB external SSD drive exFAT. I've tried ROBOCOPY and felt it was working well but started seeing the error 1392 error saying file or directory is corrupt or unreadable....
  6. Error 1392 using Robocopy

    in Windows 10 Software and Apps
    Error 1392 using Robocopy: I have 1.15 TB of video files on a 5 TB external hard drive NTFS. I am attempting to copy these over to a 2 TB external SSD drive exFAT. I've tried ROBOCOPY and felt it was working well but started seeing the error 1392 error saying file or directory is corrupt or unreadable....
  7. Does using /copyall on robocopy matter on authority when opening files in linux?

    in Windows 10 Gaming
    Does using /copyall on robocopy matter on authority when opening files in linux?: I'd like to copy photos from computers, cameras, samsung phones to synology nas via "robocopy * * /e /copyall /log+*".What I concerning is /copyall copies all information of files including ownership, which is quite sensitive in linux system, so I could not reach the copied...
  8. Does using /copyall on robocopy matter on authority when opening files in linux?

    in Windows 10 Software and Apps
    Does using /copyall on robocopy matter on authority when opening files in linux?: I'd like to copy photos from computers, cameras, samsung phones to synology nas via "robocopy * * /e /copyall /log+*".What I concerning is /copyall copies all information of files including ownership, which is quite sensitive in linux system, so I could not reach the copied...
  9. Does using /copyall on robocopy matter on authority when opening files in linux?

    in Windows 10 Customization
    Does using /copyall on robocopy matter on authority when opening files in linux?: I'd like to copy photos from computers, cameras, samsung phones to synology nas via "robocopy * * /e /copyall /log+*".What I concerning is /copyall copies all information of files including ownership, which is quite sensitive in linux system, so I could not reach the copied...
  10. Need to use robocopy to copy encrypted folder/files.

    in Windows 10 Software and Apps
    Need to use robocopy to copy encrypted folder/files.: G'day,I've made and have been using a batch file to back up my files. I was using xcopy, but I added a new folder which contains directories which are larger than the 254 character limit, so I started using robocopy. The only problem is, robocopy doesn't seem to support...