This section explains how to back up and restore the system.
There are two types of backup methods.
This backup method stops the services of this product and then performs backup of the system. As this method backs up and restores the assets of this product at a batch, it is necessary to stop the services when performing backup and restoration. Offline backup can be performed at the following timings:
When installation of this product is completed
When configurations are added to a coordination adapter
When a configuration file is modified
For details on the procedures for performing offline backup and restore, refer to "4.2.1 Offline Backup".
This backup method performs backup of Cloud Services Management resource information without stopping the services of this product.
Offline backup must be performed as a prerequisite to performing online backup.
For details on how to perform offline backup, refer to "4.2.1.1 Backup".
Note
Backup operation using this method does not back up audit logs or configuration files.
As this method backs up the assets of this product dynamically, stopping of the services is not necessary when performing backup, but it is necessary when performing restoration. It is also necessary to stop the services when pre-configuring online backup.
As difference files are generated on a daily basis, pay attention to the remaining disk space when using this method.
Online backup utilizes the PITR (Point In Time Recovery) function of PostgreSQL. Specifically, it uses the following two backup methods, each of which collects a different range of information from the databases.
Base backup backs up an entire database cluster (a group of files on which database data is recorded). Base backups are obtained using the fscsm_basebackup create command.
For details on the fscsm_basebackup create command, refer to "5.2.14 Base Backup Operation Commands".
Difference backup periodically backs up a Write Ahead Logging (WAL) file in which changes to the database are recorded. This method enables recovery of data content by reflecting changes that are recorded on the WAL file to the files backed up using base backup.
For details on the procedures for performing online backup and restore, refer to "4.2.2 Online Backup".
Under the following conditions, the disk space necessary for backup is approximately 1.0 GB for offline backup, 96 MB for each difference file generated every day for online backup, and approximately 900 MB for a base backup.
The number of organizations: 100
The number of users: 1,000
The number of platforms: 300
The number of services: 300
The following operation is performed on a daily basis:
Power on and off of the all services
Note
The environment in which backup and restore are performed
When backup and restore are performed, the system environment must be the same at the time of backup and restoration. Therefore, backup and restore cannot be performed under the following condition:
When the source of backup and target for restore have different OSs
However, backup and restore may be performed if the two systems are different versions of the same OS.
When performing online backup, difference files are generated at the same interval as the scheduled execution of the file that performs the backup process. Watch the disk usage status and adjust the execution intervals if necessary.