3.6.5 Backup and restore
This section describes how to back up and restore part of JP1/DH - Server data.
To back up and restore the entire system on the server where JP1/DH - Server is installed, use a backup tool, such as a commercially available tool.
- Organization of this subsection
(1) Performing a backup operation
Perform the procedures described below to back up the JP1/DH - Server database, storage folders for delivery data, log files, and configuration files.
You can perform a backup operation with the JP1/DH Web application server running. If, however, you want to take snapshot of the system before the backup, let users know that the service will be down, shut down the JP1/DH Web application server, and then back data up while JP1/DH - Server is unavailable to the users.
-
Use the dbbackup.bat command to back up the database. For details about how to use the command, see 12.3.1 dbbackup.bat (backing up the database).
-
Back up all files and folders in the storage folder for delivery data defined in 3.2.2 Storage folder for delivery data in some way, such as a file copy command.
-
Back up log files output from JP1/DH - Server in some way such as a file copy command. For details about where the log files are output, see 3.6.4 Maintaining log files.
-
Back up the files edited and created in 5.3 Setting up the JP1/DH Web application server environment in some way, such as a file copy command.
(2) Performing a restore operation
Perform the procedures described below to restore the JP1/DH - Server database, storage folders for delivery data, log files, and configuration files.
Before the restore operation is performed, let users know that the service will be down, shut down the JP1/DH Web application server, and then restore data while JP1/DH - Server is unavailable to the users.
-
Restore the files edited and created in 5.3 Setting up the JP1/DH Web application server environment from their backups in some way, such as a file copy command, if necessary.
-
Restore backups of the log files output from JP1/DH - Server in some way, such as a file copy command, if necessary. For details about where the log files are output, see 3.6.4 Maintaining log files.
-
Restore all the backed-up files and folders to the storage folder for delivery data defined in 3.2.2 Storage folder for delivery data in some way, such as a file copy command.
-
Use the dbrestore.bat command to restore the database. For details about how to use the command, see 12.3.2 dbrestore.bat (restoring the database). To use the dbrestore.bat command, the database service (JP1_DH_DATABASE_SVR) must be running.