bhhoogl.blogg.se

Create a daily schedule for outlook
Create a daily schedule for outlook









  1. #CREATE A DAILY SCHEDULE FOR OUTLOOK HOW TO#
  2. #CREATE A DAILY SCHEDULE FOR OUTLOOK ARCHIVE#

To keep old backups, you can enable KeepHistory.

  • Whether or not to keep a history of your backups.
  • 30000 milliseconds will suit most environments though. Depending on your Outlook version and the amount of add-in that you have, the delay can be shortened or needs to be extended. If Outlook still didn’t closed by then, the script will kill the outlook.exe process to be able to continue with the backup. If Outlook is running, the script sends a Close command to Outlook and will wait for 30 seconds for Outlook to close on its own. Any existing pst-files with the same name that exist in the folder will be overwritten.

    create a daily schedule for outlook

    This path may also be a network path, either specified as an UNC path or a mapped network drive. Make sure that the path is enclosed in double straight quotes and ends with a slash (\). If this folder does not exist before running the script, the script tries to create it. Specify the folder to which you want to make your backups.

  • The backup location for your pst-files.
  • To figure out where your pst-files are located, you can follow the same instructions for manually backing up your pst-files. Make sure you increase the counter for pst(0) = for each pst-file and that the path is enclosed in double straight quotes.
  • The location of each pst-file to back up.ĭefine the location for each pst-file that you want to back up.
  • If you only want to backup 1 pst-file, you must change this to ReDim pst(0). So ReDim pst(1) means you have 2 pst-files defined in the script to backup. As this is an array, the counting starts at 0 and not 1. The ReDIM pst(1) part of the script sets how many pst-files you want to back up.

    create a daily schedule for outlook

    The script will then open in Notepad or another script editor you have configured for vbs-files. To configure the script, right click on the extracted backupoutlook.vbs file and choose Edit. There are a couple of things you must configure and a couple of things you can configure before using the script for the first time. Once you have configured it, you can execute it manually by double clicking on it, or create a Scheduled Task to backup your pst-files automatically on a regular basis. To do this, right click on the zip-file and choose: Extract All…ĭon’t execute the included backupoutlook.vbs file before configuring it! Create a Scheduled Task to backup your pst-filesĪfter downloading the zip-file, you’ll need to extract it.

    create a daily schedule for outlook

    #CREATE A DAILY SCHEDULE FOR OUTLOOK HOW TO#

    Step-by-step instructions are provided for how to set it up. Once configured, you can use the script on-demand by a simple double click but you can also fully automate your backups by using it with a Scheduled Task.

    #CREATE A DAILY SCHEDULE FOR OUTLOOK ARCHIVE#

    Optionally, you can keep a backup archive and have the script start Outlook again once it is done so it almost goes unnoticed. It supports an unlimited amount of pst-files and even network locations are supported as the backup location. This guide shows you how to configure the script to back up your pst-files to a location of choice. This pst-file backup script is a really easy to use script for which no coding skills are required.











    Create a daily schedule for outlook