commitCoherentBackup

commitCoherentBackup();

The commitCoherentBackup method of the JadeDatabaseAdmin class signals the successful completion of a database backup transaction on an SDS secondary.

This method arranges a database quiet point on the primary to establish commit‑consistent end backup recovery state that is stored in the database control file, which is then backed up to the default backup directory specified in the beginBackup method. Backup recovery will stop tracking at end backup, saving replay state.

The commit‑consistent checkpoint processing on the primary performs a checkpoint within a database quiet point. The primary MaxWaitForQuietPoint value specified in the [PersistentDb] section of the JADE initialization file is used when waiting for the quiet point.

You may encounter an exception 3077 (Maximum time to wait for a quiet point was exceeded), in which case, the backup remains active and you can retry the commitCoherentBackup method call or you can call the abortBackup method. The backup terminates with the exception if it is unhandled. Other errors (for example, the 3221 (SDS primary not connected) or 3212 (SDS a response was not received within a reasonable timeframe) error) terminate the backup with that exception.