This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Feb 18, 2016, 4:26 AM
2 Posts

Domino compact -a -B with transactional logs

  • Category: Domino Server
  • Platform: Windows
  • Release: 9.0
  • Role: Administrator
  • Tags: compact,transactional logs
  • Replies: 2

Greetings,
We have a server base policy which runs daily in night to archive 1 year old emails into archive folder. (Transnational logs are enabled.)

When we run compact -a , it makes archive but does not reduce file size, after that i have to use compact -B option separately which reduces the file size successfully.

My query is can we run 'compact -a -B' together? (to first archive then reduce file size)
Does it have any negative impact?

Feb 18, 2016, 8:16 AM
33 Posts
Answer

Dont mix the commands, just use -a, or -a -j if needed, see "Load compact -?"

Load compact -a path\db.nsf

  -A         Archive and delete documents without compacting.
  -a         Archive and delete documents, then compact database.

 

 

Feb 19, 2016, 5:02 PM
212 Posts
Compact

Do not run the Compact -A with the compact -B, as these perform two totally different functions.  Compact -a (-A) is to cause the server to archive specific files, while the Compact -B is an inplace compaction with file size reduction, ands this compact also changes teh DBIID, so if you have transaction logging enabled, this will also be effected.

 

As stated previosuly, you can use the Compact -a to archive and compact the file.  If you want file size reduction, you should set a program document to run compact -B after the Archiving is complete.  Also, if you use transaction logging with yuour backup, you will need to run the backup program as well.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal