
UPDATE 9/11/2012:
This post from The WordPress Security Checklist people details an excellent option for backing up WordPress onto a free, cloud-based Dropbox account.
—
Backups are extremely important. We all know that. I set up all of our customers with a solid backup plan. Even so, I have had so many customers through the years that have neglected their backups, sometimes for a catastrophic result.
Here is a simple way to create a backup script on a Windows computer:
1. Right-click your desktop and select New > Text Document.
2. Name the document backups.bat.
3. Copy this text into it:
REM Copy important files to the d: drive, list files copied in c:backups.log
REM xcopy Source > Destination commands > Destination List File
xcopy "c:datafiles*.*" "d:datafiles" /d /y /i /s > c:backups.log
REM Copy important files to the d: drive, append list of files copied to c:backups.log
xcopy "c:datafiles2*.*" "d:datafiles2" /d /y /i /s >> c:backups.log
REM Open the log with results of all backups above
START c:backups.log
4. Change the path names to suit your own needs. Make sure your destination folder is a separate or external drive.
5. Add as many other lines as you may need by copying the 2nd xcopy line and editing it.
6. Save and close the file then double click it.
You are now a bona-fide programmer, and you’ve created backups that will some day come in very handy – guaranteed. For more info about the xcopy command type xcopy into your Start > Help and Support window.
If you want a free script that makes multiple backup copies of your files and can use Winzip then you can download our Advanced VB Script Backup Script. For simple 1-click WordPress backups the Backup Creator is a great option.