Windows 10: Need some critique on my backup plans using robocopy

Discus and support Need some critique on my backup plans using robocopy in Windows 10 Backup and Restore to solve the problem; 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... Discussion in 'Windows 10 Backup and Restore' started by asusx205ta, Dec 24, 2016.

  1. Need some critique on my backup plans using robocopy


    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 reminders).

    Here is what I came up with:

    I have a few locations that I need more frequent backups than the rest:
    Documents
    Dropbox
    OneDrive
    Google Drive

    Less frequent backups:
    Pictures
    Videos

    I already have a schedule for windows 7 style file backup including system image backup.

    Due to the natures of different files, some files in the frequent backup folders are large and don't need as frequently backed up as others. An example would be books I downloaded. They are large files but I don't cry a river if I lose them and have to find them again online. I still want them under Documents for organizational purposes. Other files are less important, such as past versions of a document that I've published. They are only somewhat important since I can always go back to a certain version if someone asks about it. I zipped files like that using winrar.

    So here is how I organized the backup jobs.

    small backups: running every two weeks only on files that are newer and more important.
    medium backups: running every 2 months
    complete backups: running every 6 months to back up everything
    All backups are kept until further decisions.

    There will be two identical drives on a dual bay (not WD external dual drive with forced hardware AES encryption). One will be backing up files. The second one is synced with /MIR option of robocopy (haven't decided on how frequently).

    Since all my files are within respective folders, I decided to write a robocopy job file for each of these folders and save the job file inside each folder. Say my Dropbox folder will contain small and medium backup job files. They will have specific files and folders they wish to exclude to make small and medium backups take a lot less space and time than complete backups.
    Then in a central location, say my Dropbox folder, I will have three power shell scripts to run small, medium, and complete backups.

    I think this is better than keeping one job file since the job file in my scenario goes with the folder the job is supposed to back up.

    Any advice on my scenario? I've done some tests on these jobs and they seem to work. Robocopy is not very fast but at least I'm only backing up files I want backed up, instead of trying to back up everything every time.

    :)
     
    asusx205ta, Dec 24, 2016
    #1
  2. KingNeil2 Win User

    Robocopy backup won't work

    I tried to use the built-in Windows program called Robocopy to back up my files using the following command on the command line:

    robocopy Documents J:\robocopy /e

    This command works fine on my laptop

    But it would not work on my desktop computer for some reason

    It just shows the very command that I typed over and over again repeating the command over and over on a new line each time, and it doesn't copy the files. There is no explanation for why.

    On the other hand, using Windows Backup / File History works just fine, but I don't want to use Windows Backup because I don't like the format that the files are saved in.

    Why isn't Robocopy working? How do I solve this?
     
    KingNeil2, Dec 24, 2016
    #2
  3. 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___, Dec 24, 2016
    #3
  4. Need some critique on my backup plans using robocopy

    My two cents even though we don't have pennies where I live anymore.

    Windows 7 for Image - I think you will find the Internet laced with issues about how reliable this process is. Some have had good success and some have been left very disappointment. If you read the forums a lot you will see Macrium Reflect is recommended and used by a number of members. There is a free version and that is what is recommended. Search Macrium Reflect in the forums and you can judge for yourself.

    Frequency - Everyone's frequency is going to be different. The question I ask myself is how much effort would it take to recreate and can I even recreate the data. Sounds like you create documents to publish. If you had a disk failure at a bad time could you make your deadline and how much effort would be involved. I run a Raid 1 for a little safety and copy out my weeks work to another drive. I can recreate most but simply don't have the time and storage is so cheap.

    For Backups I call them all copies if they are are located together and are online. Fire, theft and water damage are hopefully localized but if they are all right there they are all gone. I like the fact you backup to offsite as well. Then there is the "Online" or connected. Some of today's Ransomware is aggressive and if you can readily access it so can it. I have two monthly backups of data that are offline. One I keep at my house, one I keep somewhere else. The one that is offsite is encrypted.

    I also like the fact that you are keeping versions of your backups, then if one fails you can go back another generation. Many people miss this point.

    On Robocopy I would ensure you exclude Junction points as that can cause the process to run long or should I say very long.

    Good luck and thanks for sharing. Hopefully it will stir others into action.
     
    Caledon Ken, Dec 26, 2016
    #4
  5. Bree New Member
    @asusx205ta, I am one who has persevered with the Backup & Restore (Windows 7) System Image, I use it regularly, both to save and restore images. Problems mostly involve not being able to find and recognise the image you want to restore. Moving the system image to another drive or renaming it will often 'break' the ability to restore it. The actual restore seems reliable though, once you can get it to see the image. I've found the two most reliable ways to use the built in 'system imaging' are to save the image to a second partition on the same drive, or save to multiple DVDs. Make the restore disk when offered at the end of making the image, this one has the best chance of 'seeing' the image.

    Even I would recommend using something else - Macrium is more flexible and reliable, making it the popular choice on these boards.

    Not just long - it can produce infinitely long path names. I use a batch file based on Robocopy for monthly Full and weekly Incremental backups of my user files. Including junction points can under some circumstances create a copy of a folder that contains a copy of that same folder (that in turn contains a copy of itself, and so on...) until the path length gets too long! The option switch is /xjd

    I would also recommend setting retries to a low number (I set /R:0). You could have a very long wait if a file cannot be copied! From Robocopy /? (my bold)
     
  6. Samuria Win User
    If files are on Google drive one drive they are backed up straight away and safe on the cloud so there is no need to back them up
     
    Samuria, Dec 26, 2016
    #6
  7. I trust them just enough with my files but not with backing them up though.
     
    asusx205ta, Dec 27, 2016
    #7
  8. Need some critique on my backup plans using robocopy

    Thanks Caledon. I will investigate Macrium Reflect. Right now I use Paragon backup and recovery 2014 free edition, only occasionally. I only restored windows image a couple of times so I don't know how reliable they are. Once I thought my backup included an image but was only able to restore one image that was second most recent version for some reason. The result wasn't bad. I was migrating a system so I went right back with my screw driver, swapped in the original drive, did a system image and swapped in the new drive.

    Yes, I keep all copies of my backup, only occasionally sorting them out to delete useless and large files, such as an install file that had duplicates in many backups. I figured, at the rate I am generating files, I can afford to add more drives if I need them, at a very reasonable cost.

    I don't connect my backup drives to my computer unless I need to perform the backups. It saves from wear and tear and also prevents mishaps, such as ransomware or fire/theft. I also plan to only mirror to my second backup maybe every 6 months and store it in the bank for the rest of the time.

    Thanks for the junction advice. I hit that roadblock right after I thought I figured out robocopy and started a small-scale test on my Document folder. It turns out that this folder has junctions to Pictures, Videos, and a couple other folders (full back, yeah!). So I exclude with:

    /SL
    /XJD
    /XJF

    *Smile
     
    asusx205ta, Dec 27, 2016
    #8
  9. Thanks Bree,

    I will change the retry. 1Million times seems unnecessary *Smile. I got the junction options.
     
    asusx205ta, Dec 27, 2016
    #9
  10. Bree New Member
    Yes, I thought that too *Smile

    If you would like to look into using Full and Incremental backups, I use Robocopy's /M option for that.
    For a Full backup I first use the command attrib +A *.* /s then Robocopy with /M to clear their archive attribute as it copies them. Subsequent use of Robocopy /M will only copy files that have changes since the last backup.
     
Thema:

Need some critique on my backup plans using robocopy

Loading...
  1. Need some critique on my backup plans using robocopy - Similar Threads - Need critique backup

  2. missing some files and folders using Robocopy command

    in AntiVirus, Firewalls and System Security
    missing some files and folders using Robocopy command: We are planning to midgrade our fileserver from server 2012 R2 to 2019. When running robocopy to transfer files and fodders to 2012 R server to 2019, it shows no failed. However, if I check drive size and files copied on these two server, they are different.2012 R2 shows...
  3. Backup and compare with robocopy not working

    in Windows 10 Backup and Restore
    Backup and compare with robocopy not working: I've backed up the Windows folder from a Windows 10 boot drive with robocopy F:\Windows E:\roboRubi\Windowsz /mir Both source and target drives are attached to internal SATA ports. None of the two drives (source and target) is the boot drive I'm booted into. I'm using an...
  4. Cannot backup or robocopy windowsimagefile

    in Windows 10 Installation and Upgrade
    Cannot backup or robocopy windowsimagefile: I am unable to either backup this file using File History, or copy it using a Robocopy script. Robocopy simply "skips" it, according to the result of the script from the cmd command. I suspect is has to do with all the permissions requirements, but have made sure I log in...
  5. Not a question. It's a critique.

    in Windows 10 BSOD Crashes and Debugging
    Not a question. It's a critique.: As a professional technical writer it infuriates me when I run into information that gives data in acronyms without explaining what that acronym stands for. I just ran into that problem when I was accessing information about Windows compatibility issues (DPI--means Dots Per...
  6. Tough Command Line Backup using Robocopy or Xcopy

    in Windows 10 Backup and Restore
    Tough Command Line Backup using Robocopy or Xcopy: I must backup my BSOD'd PC from the command line before re-installing Windows 10, but Robocopy is glacially slow and Xcopy emits"Insufficient Memory" (due to long pathnames). I am now running Windows 10 from a USB 3.0 drive downloaded from MSft which brought me to [Install...
  7. Do I need to use a 'Backup Plan Template' in Macrium?

    in Windows 10 Backup and Restore
    Do I need to use a 'Backup Plan Template' in Macrium?: I have been kindly advised by people on this forum that its best to use Macrium to create an 'image' of your SSD only, and to manually backup your HD storage (that has photos, documents, music etc). Every Sunday (usually evenings), I connect my 2TB external HD, open...
  8. robocopy backup of important files

    in Windows 10 Backup and Restore
    robocopy backup of important files: hi, I have a standard Windows 10 build and I'm using y to backup my data to an external drive. The goal is just to capture all my data so if the PC fails/gets stolen etc. I can restore my data on to another PC. I'm doing a backup of c:\users\ as this seems to capture...
  9. Robocopy backup won't work

    in Windows 10 Backup and Restore
    Robocopy backup won't work: I tried to use the built-in Windows program called Robocopy to back up my files using the following command on the command line: robocopy Documents J:\robocopy /e This command works fine on my laptop But it would not work on my desktop computer for some reason It...
  10. Using RoboCopy

    in Windows 10 Support
    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...