Skip to Content

Automated backups

Posted in

Q - What's the easiest way to ensure my work/photos/music is backed up?
A - Use Xcopy in a shutdown script ...

Create allworkbackup.bat with the following code in it:

%windir%system32xcopy.exe "d:allwork*.*" j:backupallwork*.* /d /y /s
pause

Then [File] > [run] > gpedit.msc > Windows settings > scripts > shutdown > add > D:allworkbackup.bat with a Script Parameter of //I

As Windows is shutting down a new message will appear "running shutdown scripts". This adds a little to the shut down but ensures you are protected. Dont forget to store your backup away from your pc (or have rotating backups). Nb this only works with XP Pro