Almost every Domino administrator has been annoyed by this at some point:
For example, to quickly replicate a specific database with multiple Domino servers via console command, you need to enter the same console command over and over with a different target server. And on some days, this happens countless times… 😉
Solution
Create a simple text file containing all the required console commands (one console command per line). Save this file in the DATA directory of the Domino server.
At the server console, you can now call this file using the command
< filename.txt
Important
If the file is NOT stored in the DATA directory of the Domino server, you must enter the full path (on Windows) in the form
< drive:\Path1\Path2\filename.txt
Interesting Note
Hello Manfred,
a remark/tip regarding your (updated) blog post:
The text files must not be larger than 4 KB, otherwise they cannot be read and processed by the server.
I had to convert the ODS on a Domino server with over 3,000 databases that needed to be available 24/7 (worldwide). Taking the server offline was not an option, so I created program documents (nserver -c "<ODS2.txt" ...) with text files (split by time zones) containing drop database xxx.nsf, load compact -c -ODS xxx.nsf. One file was not enough — I had to perform the maintenance block by block and file by file.
Best regards
Martin
<empty-block/>
Source: from Martin via email