Volume Shadow Copy

Ok, here's a fun one.

Imagine you have Outlook on your machine.  I know, this applies to almost nobody.

Run any given backup program, with Outlook open.

Your todaysfavouritebackupprogram will fail when it gets to a file like C:\Users\mark\AppData\Local\Microsoft\Outlook\.ost - because Outlook puts an exclusive lock on the file.

So what can you do?

Well, you'll probably think that a technology like Volume Shadow Copy (which is DESIGNED to copy open files) will be your friend.

So you create a backup thingy (that's the technical term), and you create a volume shadow copy, and you try to backup your file, which is now called something like

\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy17\Users\mark\AppData\Local\Microsoft\Outlook\.ost


And guess what?  IT DOESN'T EXIST IN THE SHADOW COPY


Why?  I can hear you ask (yeah, from all the way over here)

Would you believe that it is excluded from the VSC BY DESIGN @ Microsoft.


So basically, you either close Outlook if you want to backup this file, or you don't backup this file.


Now, I know that OST files are basically just local caches, and you can regenerate them from the server, and whatever....but what if you want to get a mail back from two months ago that you deleted from the server?


Thanks, guys


Luckily, with AltexaBackup, you could write a small command to close outlook when it hits the OST file, then reopen it again when backup of that particular file is done.


Works, but it's ugly

Except, of course, since the OST file is just NOT THERE, you'd have to look for the lock file (~.ost.tmp) and act on that instead.

Works, but doubly ugly.

Come on guys, there could at least be an OPTION for this