Jump to content

Automate the backup/eport of a Outlook PST file on shutdown


Recommended Posts

Posted

We have a night school receptionist who uses a stand alone laptop. She has Outlook configured and uses it to keep a track of all the bookings for the different rooms/sports halls for the night school as well of keep track of payments booking etc.

 

We had a scare last week went he laptop died but it turns out to be the Motherboard and this was replaced under warranty. What i would like to do is have a script run on shutdown/log off that automates the exportation of the Outlook contents (PST file) to usb pen drive file.

 

Is this possible and does anyone know of such a script?

Posted

You could have a RoboCopy script set as logoff task

 

Example

 

robocopy c:\Documents and Settings\User\Application Data\outlook.pst E:\Outlook_Backup\ /e /r:0 /w:0

 

save it as a .bat & download robocopy from tinterweb

  • Thanks 1
Posted
Have a look at the MS tool for PST backups...

I use this and it's very handy. You can set it up to remind you to backup and it will do so on shutdown of Outlook. You can also set it to backup to a particular location such as a pen or network drive.

Mine is set to backup every 7 days so about every Friday when I shutdown Outlook, it asks if I want to backup.

 

Simple and effective.

  • Thanks 2
Posted

You could use an xcopy command too:

 

@echo off
xcopy "c:\Documents and Settings\User\Application data\outlook.pst" "E:\Outlook_Backup\" /y

 

Save as a .bat extension.

  • 7 months later...
Posted

Alternatively (this may or may not work for you), but for users of Outlook 2003, I generally move the PST file to their My Documents which is mapped from the server so it'll automatically get backed up.

 

You could in theory use the same procedure with a memory stick, but I have never tried!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...