PST backup with Volume Shadow Copy Service

backupoutlookscriptingvsswindows-server-2003

I was asked to implement the task of backing up 35 PST files ranging from 800Mb to 2000Mb. Windows XP and Windows 2000 workstations are assigned to the users and we have a Windows 2000 domain controller we use to back up files on 3x 500Gb external hard drives.

I found several methods from applications to scripts. Local or remote applications would be my last resort. I came across this script based on Volume Shadow Copy Service.

CopyWithVss

I wanted to know if there would be a problem if the path had spaces. Would mounting the destination path of each PST folder with a drive letter be more practical? My concern with mounting option is that i would eventually run out of letters since I have 35 and possibly more workstations to back up.

Lastly, can someone give me an example of CopyWithVss if it were run on a production network? The script is a bit cryptic even after reading several times. Where in the script do I enter the source and the destination?

I'm a Mac user so please excuse my ignorance with Windows platform.

Best Answer

In scanning this batch file it looks like spaces shouldn't be a problem. It also looks like yhou will have to map the destination as this will run on the local workstations. Since it runs locally you can map all of your workstations to the same driveletter. I am hoping that these PST files are from POP or IMAP servers, if they are connected to exchange than I would highly recommend phasing out your PST files and keeping the mail up on the server.

As far as an example there is one provided on the website you linked to (scroll down after thee xplanation) Here's an excerpt:

Z:\outlook_backup>CopyWithVss.cmd x:\Store\PST\2004-01-27.pst x:\Store\PST\backup.pst

Z:\outlook_backup>setlocal Z:\outlook_backup>if NOT "" == "" goto :IS_CALLBACK

Z:\outlook_backup>set SOURCE_DRIVE_LETTER=x:

Z:\outlook_backup>set SOURCE_RELATIVE_PATH=\Store\PST\2004-01-27.pst

Z:\outlook_backup>set DESTINATION_PATH=x:\Store\PST\backup.pst

...Determine the scripts to be executed/generated...

Z:\outlook_backup>set CALLBACK_SCRIPT=Z:\outlook_backup\CopyWithVss.cmd

Z:\outlook_backup>set TEMP_GENERATED_SCRIPT=GeneratedVarsTempScript.cmd

...Creating the shadow copy...