This section explains the maintenance of common control repository.
Save the common control repository.
Information
About the notation in procedure
Directory name | Explanation |
---|---|
$BAK_DIR | Backup destination directory. |
$INS_DIR | "Program Directory" specified at the ETERNUS SF Manager installation. |
Stop the ETERNUS SF Express Tomcat service.
Open Service Control Manager to stop the following service.
ETERNUS SF Manager Tomcat Service
Create a backup data.
Using Explorer, create the following backup directories:
$BAK_DIR\Common
Execute the following command to create a backup data with OS Administrator privilege.
If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.
The file name of the created backup data is <file_name>.
$INS_DIR\Common\sys\postgres\bin\pg_dump -U esfpostgres -C --attribute-inserts -p <port number> -f $BAK_DIR\Common\<file_name> esfdb
The prompt is displayed, and waiting for input. Input the following strings.
master01!
Start the ETERNUS SF Express Tomcat service.
Open Service Control Manager to start the following service.
ETERNUS SF Manager Tomcat Service
Restore the common control repository.
Information
About the notation in procedure
Directory name | Explanation |
---|---|
$BAK_DIR | Backup destination directory. |
$INS_DIR | "Program Directory" specified at the ETERNUS SF Manager installation. |
Stop the ETERNUS SF Express Tomcat service.
Open Service Control Manager to stop the following service.
ETERNUS SF Manager Tomcat Service
Restore a backup data. The following procedure must be implemented by a user with administrator privileges for the operating system.
Execute the following command.
If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.
$INS_DIR\Common\sys\postgres\bin\psql -U esfpostgres -p <port number> postgres
The prompt is displayed, and waiting for input. Input the following strings in order.
master01! drop database esfdb; \q
Execute the following command to restore the backup data.
If you did not change the port number, specify 15432 for <port number>. If you did change the port number, specify the changed port number for <port number>.
The <file_name> is the file name specified when the backup data was created.
$INS_DIR\Common\sys\postgres\bin\psql -U esfpostgres -p <port number> -f $BAK_DIR\Common\<file_name> postgres
The prompt is displayed, and waiting for input. Input the following strings.
master01!
Start the ETERNUS SF Express Tomcat service.
Open Service Control Manager to start the following service.
ETERNUS SF Manager Tomcat Service
Note
After restoring the shared control repository, it takes approximately 2 minutes before the Web Console becomes available.