views:

326

answers:

2

How can I relocate database from one folder to another on the same server while the server is running?

+2  A: 

The Domino Administrator has an option to move a database in background.

I never used it and i think it will create a copy of the original database and then delete the orgin.

I always move on os level: stop domino, mv file, start domino. It takes much more less time and space if on the same partition.

HTH.

PeterMmm
+4  A: 

You can do this without stopping the server. Make sure all users are out of the database.

First, go to the console and type drop users (which drops all connections users have to the server. Sounds bad, but it is like interrupting their network connections, and their Notes workstations are smart enough to reconnect).

Next type dbcache flush. This clears any cache locks the server has on the specific NSF file.

Now (quickly) go to the file at the OS level (Windows Explorer, or whatever the equivalent is on your server) and move the file to the new folder. If it doesn't work, you may need to repeat the dbcache flush feature a few times. Sometimes the server takes control back again immediately, especially if someone reconnects to that NSF file.

Ken Pespisa