Back Up Data: A Simple Script
Here’s a simple way to back up data files. I got this script from a great book called Admin Scripting by Jesse Torres.
This script is completely customizable to suit your needs. Remember, the idea is to back up data files that you cannot re-create (or that would take considerable time to do so).
This script invokes Windows’ built-in NT Backup utility. You can customize the source and destination paths, as well as whether the file should be a full or incremental back up.
You can download backup script batch file here (rename the file with a “.bat” extension).
Data Back Up Script
You can make as many of these scripts to suit your needs. For example, you may want to make a back up of your My Documents folder as well as your Data folder (if you have one).
The final step to tie it all together is to automate the data back up in the following way:
Once a month, make a full back up of your data. Every week (weeks 2, 3, and 4), make an incremental backup. To make the script work as an incremental, find the line
NTBACKUP.EXE Backup %BList% /d “%BComment%” /l:F /F “%BFile%” /V:YES /M Normal
and change the “Normal” to “Incremental”
It’s just that simple. Now, there is no reason to never have a back up of your most critical data!
Return to Back Up Files from Back Up Data