Question on program document to run compact task (compact - a) for archiving

We would like to implement server based archiving on our 4000+ Domino user mail files. We have over a 1000 mail files on our Domino cluster servers. We want to first test archiving for a pilot user group (30 to 50 users) and have created an explicit policy to archive documents from user mail files that are not modified in the past 180 days. The explicit Mail Archiving policy will be applied to a user group that contains the 30-50 pilot users.

I only want archiving to happen on the mail files of the pilot user group and not on all the mail files on the server. Will I have to create one program document per mail file to run the compact task (compact -a mail\user1.nsf, compact -a mail\user2.nsf, …, compact -a mail\userN.nsf) or can I create just one program document (compact - a mail) and the Archive Policy and Setttings will ensure that only the mail files of the pilot user group are archived ?

Subject: Question on program document to run compact task (compact - a) for archiving

Just create one program document calling a archive.bat file, placed on the server, where all the compact -a… lines are.

You can make a DB managing the users and use an agent to maintain the list/lines.

Reards

Mov V Hansen

Subject: RE: Question on program document to run compact task (compact - a) for archiving

How do you put a bat file in a program document? I have (actually a txt file) my file in my data directory. I have put its name both in the program name and in the command fields, but when it tries to execute in both cases the log says it cannot find the program.

I need more details on how to do this.

Subject: RE: Question on program document to run compact task (compact - a) for archiving

Hi,

In the NAB, create one new program document.

Program name: cmd.exe

Comand line: /c d:\notesdata\myrun.bat

Command line is the line where it’s told what to do.

It must be something you can execute not a txt file.

Server to run on and schedule time must be set.

Regards

Mov V Hansen