Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

hello is it possible to use the winrar cli to backup a pst file. i have outlook openend 24/7 so the file is locked.

i use the following command:

C:\Backup>"c:\Program Files\WinRAR\rar.exe" a meel.rar c:\Users\CapSoft\AppData\Local\Microsoft\Outlook\*.*

but i only get a message that it is currently in use, how can i resolve this? is it even possible to back it up when outlook is openend?

when i close outlook it works.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'm none too thrilled with the idea that a PT file should be backed up while outlook is opened. It is however possible so long as you are on XP or above. See this link for a script that will make a copy of the file using vshadow to create a shadow copy on the fly. After you have a copy you will be able to use your rar command to compact the file.

share|improve this answer
    
i have windows 7 pro. will take a look at your link thanks! –  JP Hellemons Jan 4 '10 at 15:12
    
pff a lot of work, i will just close outlook. though thanks for the link –  JP Hellemons Jan 4 '10 at 15:24
    
Outlook has a mechanism for backing up or archiving data (at least it did the last time I messed with it). Just configure it to do a nightly archive to a known PST file and location, RAR up the resulting files, then delete them. –  Geoff Fritz Jan 4 '10 at 21:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.