Top
Symfoware Server V12.1.0 Operation Guide
FUJITSU Software

Chapter 3 Backing Up the Database

This chapter describes how to back up the database.

Backup methods

The following backup methods enable you to recover data to a backup point or to the state immediately preceding disk physical breakdown or data logical failure.

Approximate backup time

The formula for deriving the approximate backup time when you use WebAdmin or the pgx_dmpall command is as follows:

backupTime = dataStorageDestinationUsage / diskWritePerformance x 1.5

Note

  • Use the selected backup method continuously.

    There are several differences, such as the data format, across the backup methods. For this reason, the following restrictions apply:

    • It is not possible to use one method for backup and another for recovery.

    • It is not possible to convert one type of backup data to a different type of backup data.

  • There are several considerations for the backup of the keystore and backup of the database in case the data stored in the database is encrypted. Refer to the following for details:

  • If you have defined a tablespace, back it up. If you do not back it up, directories for the tablespace are not created during recovery, which may cause the recovery to fail. If the recovery fails, refer to the event log, create the tablespace, and then perform the recovery process again.

  • If performing backups with WebAdmin, the following password file is temporarily created during backup for WebAdmin to connect to the database:

    • userProfileFolder\localSettingsFolder\Fujitsu\symfo_version\instanceName\pgpass.conf

    Therefore, when you are backing up corefiles created in the core_directory parameter of postgresql.conf, or log files created in the log_directory parameter of postgresql.conf, ensure not to back up the password files located in the same directories at the same time.

Information

The following methods can also be used to perform backup. Performing a backup using these methods allows you to restore to the point when the backup was performed.

  • Backup using an SQL-based dump

    Dump the data by using SQL. This backup method also enables data migration.

  • File system level backup

    This backup method requires you to stop the instance and use OS commands to backup database resources as files.

  • Backup by continuous archiving

    This is the standard backup method for PostgreSQL.

Refer to "Backup and Restore" in "Server Administration" in the PostgreSQL Documentation for information on these backup methods.