Use the parameters in the PPCD Console DB Backup properties section of the ppcd.properties file to specify backup instructions for the Ark console. By default, the backup properties are commented out; when you uncomment the parameters, the backup service will start when the console application is deployed.
By default, the console.db.backup.script
parameter specifies the name and location of the backup script provided with EDB Ark. If you choose to provide your own backup script, use the parameter to specify the name and location. Please note that you must ensure that the script can be read and executed by the ppcd user.
Use the console.db.backup.dir
parameter to specify a directory to which backups will be written. Please note that you must create the directory specified. The ppcd
user must have sufficient privileges to write to the specified directory.
On an Amazon hosted console, you can use the console.db.backup.container
parameters to specify the name of a container (an Amazon S3 bucket) in which console backups will be stored, and a console-specific folder name. If no value is specified for console.db.backup.folder
, the value will default to default
# Unique name for the console backup folder that identifies this
The backup script provided with the Ark console uses pg_dump to create a plain-text SQL script file that contains the commands required to rebuild the console database to the state in which the backup was taken. You can use the following command to invoke the psql command line tool and use the script to restore the console:
Where recovery_file specifies the path and name of the backup file you wish to restore.
to instruct the Ark console to use the backup of your old console when starting. The recovered console will contain the previous list of registered users, monitoring data, and events from the last time that the database was backed up.
The Folder name
drop-down listbox (see Figure 7.2) will contain a list of backup sources available for use during the recovery. Select a backup source, and click Finish
to instruct Ark to reload the backup, or Cancel
to exit without recovering the console.