Solved

PST Automatic autoarchive and compact

Posted on 2012-03-30
5
1,791 Views
Last Modified: 2012-04-05
How can I schedule (For example using a command line tool), the process of autoarchive and compact the PST Outlook files?

Our problem, is that the PST files of the users grow too much and I need to archive and compact every month

Regards
0
Comment
Question by:lnrivera
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:Kubejunkie
ID: 37788968
I'm not sure i understand the question. Outlook has its own autoArchive function that you can use to Archive the email from the server/.ost file. The compact function should perform automatically.

I will need to know exactly the process you want to use and have automated. I will need to know what version of office you are running and version of windows. I will also need to know if you will want any user interaction at all or everything done in the background.
0
 

Author Comment

by:lnrivera
ID: 37789169
The pst files are Outlook 2007, I want to do the autoarchive and compact task without user interaction, all must be done in the background.

(The pst are in a server, and I want to schedule this tasks during the night)

Regards
0
 
LVL 2

Expert Comment

by:Kubejunkie
ID: 37789191
Ok

What is the process you want to run?

Example:
User runs auto archive at predetermined time setup on local client. Emails move from OST to PST file. You setup a task to run a backup of that PST file (archive.pst) and rename to another file name at night (archive%date%.pst. User runs auto archive the next day and it creates a "new pst" with same name as original pst name (archive.pst).

Is that what you are looking for? mabye not on a day by day basis but process would be pretty much the same.

If that is not what you are looking for Please give me an exact process that you are looking for End to End.
0
 

Author Comment

by:lnrivera
ID: 37791854
I want to do the same that autoarchive can do with the user interaction in outlook, but do this task as automatic process (Autoarchive for examle the emails that are one moth old, moving to another pst, and compact to reduce the size of the main pst file)
0
 
LVL 2

Accepted Solution

by:
Kubejunkie earned 500 total points
ID: 37803054
are the pst's on the server in a User Home path (example : \\servername\home$\username\archive.pst).

I ask because if they are you can use the Example i gave in my last post to resolve your problem.

Setup the Built in AutoArchive in outlook to run at a specific time such as a day before your backup script will run and to use a specifc path such as (example : \\servername\home$\username\archive.pst)
Then build a .bat script on your server to Run robocopy to move your archives to your backup location.
http://ss64.com/nt/robocopy.html
Then setup a windows task on the server with task schedule to run the .bat file at a predetermined time each month.
this will work because outlook will create a new PST each time it is run if there is no archive in that location.

If this is what you are using to backup your email for your company i would recommend against it and go for a much more robust service like sonavault. Pst files can become confusing especially if you are seperating them by each month for every user.

http://www.sonasoft.com/products/sonavault-email-archiving-software/
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now