How to backup Outlook data files

Many small businesses use Microsoft outlook for their emails backing up your emails are critical.

Outlook stores emails, contacts, and appointments in single files called personal storage folders, *.pst. The location of these files is a bit obscure and means they are often missed from backups of your PC. Also as the files are often locked they can be skipped when you do a backup!

So where are these files? Well it depends on your operating system and version of office. But you can find the locations easily;

  1. Close any messaging programs such as Outlook, Microsoft Exchange, or Microsoft Windows Messaging.
  2. Click Start, and then click Run. Copy and paste (or type) the following command in the Open box, and then press ENTER:
  3. control panel
  4. Control Panel opens.

    Note If you see the Pick a category screen, click User Accounts, and then go to step 3.

  5. Double-click the Mail icon.
  6. Click Show Profiles.
  7. Click the appropriate profile, and then click Properties.
  8. Click Data Files.
  9. Under Name, click the Personal Folders Service that you want to back up. By default, this service is called Personal Folders. However, it may be named something else.

    Note If you have more than one Personal Folders Service in your profile, you must back up each set of .pst files separately.

    If there are no entries called Personal Folders and you have not yet stored any information such as messages, contacts, or appointments in Outlook, you probably have not yet enabled the Personal Folders Service.

10.  Click Settings, and then note the path and file name that appears.

Select the filename and copy it “Ctrl + C”

“Automation it the key to any successful backup solution! “

The simple option is to create a little script to do this; this is very simple to do.

  1. Open notepad
  2. And paste in your filename and path from step 10
  3. Delete the filename at the end of the path, most probably anything the final \Outlook\xxxxxxxxxxxxxxxxxxx.pst
  4. Paste the following at the front of the line copy
  5. The add this to the end of the line (where you removed the filename previously) *.pst
  6. Then add a space and put the location where the backup will go, for example if you are using the Pro version of ER backup so we can backup directly to our virtual drive ”L:\backup\mail\
  7. You could also do this to a USB drive or a network drive.
  8. Add “” around the paths so that you have a line of text like below, (remember it depends on the versions you are using so it might look slightly different
    copy “C:\Users\richard.ESSENTIAL\AppData\Local\Microsoft\Outlook\*.pst” “L:\backup\mail\”

Now go to save as

Change the save as type to All files *.*

Enter the file name PSTBACKUP.BAT and select the c: drive or a folder to keep the script in.

Quickly test this works browse to the location you saved the file and run it.

Now check in the backup destination folder and you should see the files are all there.


How to Automate further

Windows 7 and Windows XP (see below)

WIndows 7

If you would like to automate it further then windows XP, windows vista and windows 7 all have a program called “Task Scheduler” to do this.

From the control panel select , Administrative Tools then Task Scheduler

Click “Create Task”


Enter a Name for the task and Description for the job


Set how often you want to run the backup, remember that outlook must be closed when you run the backup, Lunchtime is a good time to do this.

Select “Start a program”

Then enter the path of the pstbackup.bat file

Click Finish


In the main window you should now see your job, always check the “Last Run Time” to make sure it has run.

It is very important to check your backup has completed regularly, look at the last time the pst files were modified as a guide. If you are not sure then speak to an IT profesional or contact ER Backup and we can advise.

In XP

Open Control Panel

Select Scheduled Task

Click Add Scheduled Task

Click Next

Select Browse

Locate your batch file and select it. (PSTBACKUP.BAT)

Give the job a name and select how often it runs

Set how often you want to run the backup, remember that outlook must be closed when you run the backup, Lunchtime is a good time to do this.


Enter the username and password either yours or an account with administrator rights

In the main window you should now see your job, always check the “Last Run Time” to make sure it has run.

It is very important to check your backup has completed regularly, look at the last time the pst files were modified as a guide. If you are not sure then speak to an IT profesional or contact ER Backup and we can advise.

Disclaimer

ER Backup take no responsibility for the monitoring and maintaining of this process, the user must ensure that it is working correctly or verify with their IT support company.

One Response to “How to backup Outlook data files”

Leave a Reply

You must be logged in to post a comment.

“I realized at one point that I needed a new hard drive, a good data backup online and also a ftp as half my businesses is in India. When I heard about Essential Richard, the live drive serves all the purposes for a ridiculously cheap price and I know for the price I pay I would not even have got a hard drive let alone having extra back up and FTP. It is something I use every day and I know my data is backed up every second so it allows me to concentrate on my work. Brilliant stuff and I would highly recommend this to anyone.”


Rohit Murthy

Event Director


“I've recently started using an online back-up system provided by ER Backup. I've been really pleased with the service and am enjoying the peace of mind that comes with knowing that all my documents are safely backed up even whilst I am working on them. A great service. Thank you ER!”


Helen Clelland,
Free As A Word

I'm a user of ER Backup and it's a great backup solution. It automatically backs up your important files and documents without your intervention and it does it extremely well. So if you don't currently backup up at all, then you need this. If you're backing up already but manually then your free time and sanity needs this! As a massive bonus you get great customer service with Richard and a truly personal service.

Jaabir Ramlugon