Windows 10: Anyone familair with robocopy?

Page 3 of 3 FirstFirst 123
  1. slicendice's Avatar
    Posts : 3,433
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       26 Aug 2017 #21

    OH, you also have the U folder there, hahah...let me rewrite the batch a bit
      My ComputersSystem Spec

  2. slicendice's Avatar
    Posts : 3,433
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       26 Aug 2017 #22

    I updated the SCRIPT
      My ComputersSystem Spec

  3.    26 Aug 2017 #23

    Hi again :P

    thanks for being so awesome and helping me with this. Unfortunately it didnt work. I extracted the batch file to my U/backups folder and ran it and the cmd window just opened and closed. Figured perhaps it needed to be ran as admin but the result was the same >.<

    EDIT to be clear (i barely know what im looking at) but just to make sure.... The U/backups folder has plenty of stuff i need to NOT be deleted in it. Only the hierarchies >going forward has to go.
      My ComputerSystem Spec

  4.    26 Aug 2017 #24

    Ha! we have a win!

    I had to put it into the hierarchy folder instead of the backup folder. then i was able to delete the hierarchies folder manually.

    Thaaaank you. Would have NEVER happened on my own <3

    after re reading your post it appears that it woul dhave in fact eradicated my backups folder and i would have died a little inside. Not sure if having all kinds of stuff in there is what saved me, or some fluke.. but regardless moving it down 1 folder gave me a win :)
      My ComputerSystem Spec

  5.    26 Aug 2017 #25

    so just to be clear, so i dont get myself in trouble again.... two questions.

    1) this will work without the aforementioned issue? robocopy U:\ U:\Backups\Hierarchies\U\ /e /xf * /a-:sh /xo /xd "System Volume Information" "U:\Backup\Hierarchies"

    2) I shouldnt have to omit anything from other drives unless I was making the backup on the same/parent drive correct? afterwards I can revert to something like
    robocopy T:\ U:\Backups\Hierarchies\T\ /e /xf * /a-:sh /xo /xd "System Volume Information" ?

    3) (bonus question) I assume I can just create a batch and they'll run in succession simply by listing one after the other yes?

    The idea is to make a batch referencing all my hard disks (apart from system disk obvsly) and have them create a folder with their drive letter on my flash drive inside the backups/hierarchies folder. After I have them there I'll also toss em in the cloud. As you can imagine I have a bad memory and a lotta years tailoring a lotta data in a very organized fashion courtesy of some excellent OCD.

    God forbid I lost anything at least I wouldnt have to remember the whats and wheres, I could grab entire directory trees and "re-fill"

    I may move on/graduate to backing up in a legimate way with robocopy similar to what bree does at some point, but at the moment until I buy some 4tb drives, space is at a premium and the relevent big stuff is backed up manually here or there.

    For now I simply want the directory structures copied without the files, and the ability to re run it and have it add anything I may have added in the future. (not sure if theres a way to make it remove anything i remove either ala batch? Similar to the way a sync'd folder would work?)
      My ComputerSystem Spec

  6. slicendice's Avatar
    Posts : 3,433
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       26 Aug 2017 #26

    This command should work:

    Code:
    robocopy U:\ U:\Backups\Hierarchies\U\ /e /xf * /a-:sh /xo /xd "System Volume Information" "U:\Backups"
    


    Copy paste it.
      My ComputersSystem Spec

  7.    26 Aug 2017 #27

    it did. I'm finally all set and working. Thus far.

    Thank you VERY VERY much for all your time, help, and patience.

    TY to everyone else as well. This community rocks!
      My ComputerSystem Spec

  8. slicendice's Avatar
    Posts : 3,433
    Windows 10 Pro x64 v1803 Build 17134.228 (Branch: RS4 Release Preview)
       27 Aug 2017 #28

    klepp0906 said: View Post
    it did. I'm finally all set and working. Thus far.

    Thank you VERY VERY much for all your time, help, and patience.

    TY to everyone else as well. This community rocks!
      My ComputersSystem Spec


 
Page 3 of 3 FirstFirst 123

Related Threads
Using RoboCopy in General Support
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...
I am trying to make better file backups. So in order to have different backup frequencies on different files, I decided to write scripts to run robocopy to perform the backups (I'm running these scripts manually using scheduler to display...
Ugh! Im at wits end here lol. All these years later i finally jump on the cloud storage bandwagon and nobody offers placeholders and syncing outside the client folder is rare at best. we're forced to use workarounds such as symlinks and while I...
So heres the deal. after reformatting my entire PC due to a networking issue - ive gotten it ALMOST back to where I want it. I'll be the first to admit ive disabled a couple services, and ive removed all the microsoft bloatwares. That being...
Robocopy and /ETA switch in General Support
I have a few batch scripts to backup or restore files, and for some of them, I have the /ETA switch in them as they will move some larger files. In W7, It would always give the time to transfer, but in Win10 (x64), this switch doesn't seem to do...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

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