Thursday, October 15, 2015

How to execute fixup or compact on macos?

How do you execute a local Fixup or Compact on Mac OS X running an IBM Notes client? Because there is no ncompact or nfixup executable on Apple Mac OS X, you will have to do it a bit different.

I do not use it often, but I always have to search for it...
- Open a Terminal Window
- Switch to the Notes App Directory:
  cd /Applications/IBM\ Notes.app/Contents/MacOS
- Set the environment variable DYLD_LIBRARY_PATH:   
  export DYLD_LIBRARY_PATH="/Applications/IBM Notes.app/Contents/MacOS"
- Switch to the Support subfolder:
  cd Support
- Execute NotesFixup or NotesCompact:
  ./NotesCompact
  ./NotesFixup

(without options you will do a compact for all databases in your Lotus Notes Data directory
/Users/YourUsername/Library/Application Support/Lotus Notes Data/ )
  ./NotesCompact mail/your-replica.nsf -c

(or with options for a special database)

No comments:

Post a Comment