Robocopy Script For Incremental, Differential and Full Backup


  1. Posts : 2
    Windows 7 Professional 64 Bit
       #1

    Robocopy Script For Incremental, Differential and Full Backup


    Dears, Anobody can help me to have a backup script that will help for backup requirement, Please see the details below


    My Source Directory is "D:\Source"
    My Destinationa Directory is "\\Server\Destination"
    I need to meet the following
    (1) Need to take fullbackup on every Friday ?
    For this I am using the following command on my script ( I tried this it taking Fullbackup without any issues)
    ROBOCOPY "D:\Source" "\\Server\Destination" /E /ZB /SEC /SECFIX /R:1 /W:0 /XA:SH /V /NP /TEE /log:\Source\Backup.log

    (2) Need to take Incremental Backup on Every Sunday, Monday, Tuesday and Wednesday
    I dont know how to do this
    I need to keep this incremental backups in seperate folders with day names or dates
    I mean Sunday, Monday, Tuesday and Wednesday or corresponding dates
    (3) Need to take differential backup on every Thursday
    I dont know how to do this
    I need to keep this differential backup on a folder called Thursday Or Corresponding Date...
    Thanks in Advance for your kind Help
      My Computer


  2. Posts : 630
    Windows 10 Pro 64 bit
       #2

    Hello shafialungel, Welcome to W7F. Download the sample script from this link. It'll give you a good baseline to work from. Incremental, Differential and Full backups of files with the script
      My Computer


  3. Posts : 2
    Windows 7 Professional 64 Bit
    Thread Starter
       #3

    Anybody Can help me to modify the script


    Hello Lance
    Thanks your suggestion, but I am not familiar with script can you please point me where I have to edit on the script, Thanks in advance...
      My Computer


  4. Posts : 3,788
    win 8 32 bit
       #4

    It's simpler to just do a full backup using source destination /m to mirror it or simpler use Google drive app this backs up all on its own you don't need to do anything and it's safe if your pc server dies you get 13gig free 100gig for £12 a year
      My Computer


  5. Posts : 1,784
    Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
       #5

    Here is an excellent explanation of the difference between differential and incremental backups:
    https://www.easeus.com/backup-utilit...al-backup.html



    Storage space will become an ever-increasing problem as you do regular backups. Therefore, you should try to reduce the amount of storage space that is required for backups. Here are some thoughts:
    • You don't need to do incremental AND differential backups. You will save a lot of storage space by doing only incrementals. I see that you are doing differentials only one day per week. This is a good plan, because differentials are better backups than incrementals, and doing them only once a week will save a lot of storage space.
    • You could do full backups once a month rather than once a week. This would save a lot of storage space. But it could make restores a bit more complicated.
    Some other thoughts:

    Friday is a good day to do your full backups, if Friday is the last day of the work week, and if you are doing them at the end of the work day. In other words, when everyone has completely finished work for the week. By doing them on Friday night rather than, say, Sunday, you have the entire weekend to complete the full backups. (If there is a huge amount of data, it could take a couple of days to do a full backup.) Also, backups can put a load on the servers that they are backing up, so it is good that everyone has finished work and logged off when you do the backups.

    How are you storing the backups? On hard drives? On tapes? Using tape sounds like old technology; but you can store a huge amount of data on tapes for a lot less money than on hard drives. And although you can't always do instantaneous restores with tapes, you can do restores within a reasonable amount of time. After all, the backup isn't your production working environment, it is only the method you have set up to be able to get up and running in the event of an emergency situation.

    How long will you keep the backups? Some companies keep their January 1st full backup forever, and delete all previous backups. Some companies keep all full backups forever. The more you keep, the more storage space you will need.
      My Computer


 

  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 03:45.
Find Us