Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PST Automatic autoarchive and compact

Posted on 2012-03-30
5
Medium Priority
?
2,014 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

650 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