I am needing to backup some files weekly. Like .pst and .doc files from laptops to a network dive. I am looking into using a batch file to do this. I am looking for some help on this. If anyone can help me that would be great.
@echo off
cdcd backup
if exist myfile.10 then del *.10
if exist myfile.9 then ren *.9 *.10
if exist myfile.8 then ren *.8 *.9
...
...
if exist myfile.pst then ren *.pst *.1
cdcd mypath
xcopy32 /k/r/y/c/h/e/f *.pst c:\backup
This will make a stack of ten copies of your data, allowing time to recover from accidental corruption. You can also copy across a network, provided that you call the batchfile in protected mode only.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.