As time goes on, your MessageMaster database is growing larger and larger. You would like a way to purge some old messages from your database. In addition, you want to archive these messages, rather than just delete them permanently.
This article explains the Archiver.exe utility, and how to use it.
In your c:\Program Files\Objective Software\Utility directory on your MessageMaster server, you will find a tool called Archiver.exe. Its purpose is to delete messages from your database, and store them once again as XML files, which you can then compress and archive where you would like.
Here's how to use the utility. For example, you would like to archive messages from then entire month of May 2004 into the F:\Archive directory. The name of your MessageMaster server is MMServer, and the database is called ObjSoft. The username to connect to the database is ObjSoftUser with password pwd.
"C:\Program Files\Objective Software\Utility\archiver.exe" /d "F:\Archive" /s MMServer /db ObjSoft /u ObjSoftUser /p pwd /sdate 01-may-2004 /edate 31-may-2004
The destination archive directory can be on a file server, or on the local machine. In that directory, a sub-directory will be created for each day of messages that is archived. If you have a high daily volume of messages, be aware of the disk space that the purged messages will consume. Each XML message file is approximately 1-2kB.
As Archiver.exe does its processing, it will process each day in your date range in turn, and display the number of messages archived for each day as well as the number of messages deleted from the database.
To see all of the command line parameters for Archiver.exe, type:
"C:\Program Files\Objective Software\Utility\archiver.exe" /?
We have plans to have the Archiver utility kick off from a new screen on the MessageMaster Console, where you can fill out a form rather than specifying arguments on a command line. This is planned for the next release.