Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Robocopy Script For Incremental, Differential and Full Backup

09 Apr 2017   #1
shafialungel

Windows 7 Professional 64 Bit
 
 
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 System SpecsSystem Spec
.
09 Apr 2017   #2
Lance1

Windows 7 Ultimate, Service Pack 1, 64 bit
 
 

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 System SpecsSystem Spec
27 Nov 2017   #3
shafialungel

Windows 7 Professional 64 Bit
 
 
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 System SpecsSystem Spec
.

27 Nov 2017   #4
samuria

win 8 32 bit
 
 

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 System SpecsSystem Spec
27 Nov 2017   #5
mrjimphelps

Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
 
 

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 System SpecsSystem Spec
Reply

 Robocopy Script For Incremental, Differential and Full Backup




Thread Tools




Similar help and support threads
Thread Forum
ROBOCOPY - Create Backup Script
How to Create a Backup Script using ROBOCOPY Command There are many paid and free software solutions available to backup critical data and files on a computer system. Many users, however, are unaware of an inbuilt Windows 7 command called ROBOCOPY (Robust File Copy) that allows users to...
Tutorials
my backup script using robocopy
robocopy /S /E /MOV %USERPROFILE%\Documents\ G:\backup\Documents\ robocopy /S /E /MOV %USERPROFILE%\Pictures\ G:\backup\Pictures\ robocopy /S /E /MOV %USERPROFILE%\Downloads\ G:\backup\DownloadS\ robocopy /S /E /MOV %USERPROFILE%\Favorites\ G:\backup\Favorites\ robocopy /S /E /MOV...
Backup and Restore
Can I use an old Acronis Full Backup and do incremental backup now?
I am using Acronis true image 11 I have created an full backup on 01 March 2014 and then scheduled incremental backup daily from 02 March 2014. Now (31 Aug 2014) my backup hard disk is full (the disk that store the backup), so I take out the backup hard disk that is already full and replace...
Backup and Restore
differential backup
Does Windows 7 have differential backups on the Home Premium? I have Acronis third party backup which I will use if it's better?
Backup and Restore
How create incremental Full System Backup?
It is difficult for me to distinguish what parts of the Back up and restore screen apply just to creating a full backup and and which apply just to creating a file backup. I know I can create a system Image by clicking in the upper left hand area of the screen (the create a system image link). ...
Backup and Restore


Our Sites

Site Links

About Us

Find 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 15:16.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App