Robocopy Script For Incremental, Differential and Full Backup

shafialungel

New member
Local time
2:24 AM
Messages
2
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:D:\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

Computer type
PC/Desktop
OS
Windows 7 Professional 64 Bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built By Me.
OS
Windows 10 Pro 64 bit
CPU
AMD FX 9590 8 Core Black Edition
Motherboard
MSI 990FXA GAMING (MS-7893)
Memory
Corsair Vengeance 16GB DDR3
Graphics Card(s)
AMD Radeon (TM) R9 380 Gaming Series
Sound Card
AMD High Definition
Monitor(s) Displays
Samsung 32" 60Hz 4ms Curved PLS LED
Screen Resolution
1920 X 1080
Hard Drives
C: 223 GB SSD = E: 465 GB HDD = F: 931 GB HDD = G: 149 GB HDD = H: 931 GB HDD
PSU
EVGA Supernova NEX750B 750W ATX EPS12V 80PLUS Bronze
Case
Cool Master
Cooling
Noctua NH-D15 Premium Cooler with 2x NF-A15 PWM 140mm Fan
Internet Speed
Fiber Optic: Download 332.7 Mbps / Upload 331.5 Mbps
Antivirus
Windows Defender
Browser
Slimjet (64bit)
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

Computer type
PC/Desktop
OS
Windows 7 Professional 64 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 Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Here is an excellent explanation of the difference between differential and incremental backups:
https://www.easeus.com/backup-utility/differential-backup-vs-incremental-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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
CPU
Haswell
Memory
4 GB
Monitor(s) Displays
Acer 23"
Screen Resolution
1920 x 1080
Hard Drives
Two hard drives, 1TB each: One for Linux, one for my data.
Keyboard
IBM Model M
Antivirus
Sophos (Linux), Trend Micro (Windows)
Browser
Firefox, Opera
Other Info
I use Samba to share my data drive with the other computers at my house and with my guest session in VMWare Workstation Player.
Back
Top