Fixing a Notes database
When upgrading a server or moving datbases I like to apply a little hygiene to my notes databases. So you can find a little cmd file in the notes data directory, that fixes what needs to be fixed:
Fixnotesdb.cmd
Running the script with the server down has the advantage, thay you can fix the address book as well. On R8.5 you want to have CREATE_R85_DATABASES=1 in the notes.ini. The only disadvantage: you need to type the password 4 times (unless your server doesn't need one). If you don't have a password, you could add:
net start "domino (lotusnotesdata)" <-- be sure to check your services for your settings!
at the end of the script and it would relaunch your server after it has run. YMMV.
Update: There is a Linux version too.
Update 2: There is a Mac version too
Update 3: for R9.0.1FP8 onwards you want to use
Fixnotesdb.cmd
nfixup -L -F -Y %1
ncompact -D -c -i -n -v -ZU %1
nupdall -R %1
nupdall -X %1
Running the script with the server down has the advantage, thay you can fix the address book as well. On R8.5 you want to have CREATE_R85_DATABASES=1 in the notes.ini. The only disadvantage: you need to type the password 4 times (unless your server doesn't need one). If you don't have a password, you could add:
net start "domino (lotusnotesdata)" <-- be sure to check your services for your settings!
at the end of the script and it would relaunch your server after it has run. YMMV.
Update: There is a Linux version too.
Update 2: There is a Mac version too
Update 3: for R9.0.1FP8 onwards you want to use
ncompact -D -c -i -n -v -ZU -nifnsf -LargeSummary %1
Posted by Stephan H Wissel on 16 January 2006 | Comments (4) | categories: IBM Notes Lotus Notes