2. The AccuRev Repository : Moving the db and site_slice Directories

Moving the db and site_slice Directories
Note: Before you start, consult A Word of Caution on Windows Zip Utilities below.
The site_slice and db directories must be under the same parent directory, so if you move one, you must use the other as described in the following procedure.
1.
acserverctl dbstop
2.
Move the site_slice and db directories to a new parent directory location. Make sure that both directories are moved to the same parent directory.
3.
Open acserver.cnf in a text editor and change the SITE_SLICE_LOC definition to point to the new site_slice directory location.
4.
cd into the db directory and open the postgresql.conf file in an editor. Change the directory path that points to where the site_slice/logs directory is now located.
5.
acserverctl dbstart
6.
Register the acserver.cnf changes with the database:
maintain server_properties update
7.
acserverctl start
8.
UNIX/Linux: From the command line, enter ps -ef | grep postgresql and verify that the db directory path listed after the "-D" option is correct.
Windows: In the services.msc utility in Windows, right-click on the "Accurev DB Server" process, select "Properties" and verify that the directory path listed after the "-D" option is correct.

Borland