Cool Batch Backup with Task Scheduler and Versioning

Version 1.0

Last updated on
Subscribe to Internet Tips and Tools Feed

Here is a completely customizable batch backup script. With this script you can backup any folders on your PC on a regular basis. The script automatically sets a schedule in Task Scheduler to backup your files daily.

Features

  • Compatible with Windows XP, Vista, 7, 8 and 10
  • Completely customizable batch script that is well documented with comments
  • Specify how often to backup
  • Specify how many versions to backup
dlc_b

Download

Downloaded 0 times.
Please make a donation to reveal the download link.

How to Use

Download batbackup.bat and then right-click on the file and click "Edit". Edit the following options in the file:

:: SET BACKUP DRIVE AND FOLDER
set drive=F:
set folder=Cool Batch Backup

:: SET FOLDERS TO BACKUP
set folder[0]=%userprofile%\Favorites
set folder[1]=%userprofile%\Desktop
set folder[2]=%userprofile%\Documents
set folder[3]=%userprofile%\Music
set folder[4]=%userprofile%\Pictures

:: SET HOW OFTEN TO BACKUP IN MINUTES
set minutes=30

Save the file and then right-click on the file and click "Run as administrator". The script will create all the folders for you on the backup drive and create a shortcut on the desktop to the log files. The script will ask you how many versions of your backup files you would like to have:

1 = Just 1 version of the backup
2 = 7 versions. One for each day of the week
3 = 30 versions. One for each day of the month

You may customize other options in the bactch script. If you are knowledgeable in batch programming or in command prompt commands you can edit many options such as the backup command. Currently it is using xcopy with paramaters to only copy newer files by date than the files already copied (\d switch).

History

3/21/2016 - Version 1.0 - Cool Batch Backup with Task Scheduler and Versioning created

Last updated on April 19, 2017
Created on March 21, 2016

Back to www.seabreezecomputers.com
Subscribe to Internet Tips and Tools Feed        

User Comments

There are 3 comments.

Displaying first 30 comments.

1. Posted By: aa00528 - - April 13, 2017, 4:43 am
Bravo Jeff, currently using it in order to protect from ransomware.
If I may ask you to add some parameters in the batch, in order to list the existing scheduling, enable/disable, load/unload...
Thanks for it

2. Posted By: Jeff - - April 13, 2017, 2:58 pm
Hi aa00528,

It creates a folder on your desktop called "Cool Batch Backup". In that folder is log.txt which shows when the backup has ran. Whenever you run batbackup.bat again it replaces the old schedule with the new one. If you want to see the current schedule in Windows Task Scheduler then click on Start in windows and type: taskschd.msc

Then press enter and click on "Task Scheduler Library" and you should see "Cool Batch Backup" in the list. There you can right click on it and disable it or delete it.

Jeff
www.seabreezecomputers.com/

3. Posted By: aa00528 - - April 20, 2017, 2:02 pm
Thanks Jeff

I appreciate you having taken some time for these explanations.

Have a nice day