SEP sesam Extension for PostgreSQL
(C)SEP AG
Copyright 1999-2011 by SEP AG. All Rights reserved.
Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.
Contents |
The SEP sesam extension for PostgreSQL allows an uninterruptible backup of PostgreSQL databases.
Features:
If the SEP sesam Client has been installed by RPM, the extension should be installed with a RPM package too.
Install or update of the SEP sesam PostgreSQL module by:
RPM
TGZ
<SESAM_ROOT>/bin/sesam
No Special Modules are needed with SEP sesam 3.6. The PostgreSQL Module is included in the regular Client Package.
The settings will be made in the SEP sesam GUI.
You can specify the same information in the Restore options. These will be used in the case of a restore operation. If the password has changed you can set it in the restore wizard at the time of the restore request. If the database doesn't need any account information avoid the setting of username and password.
If another operating system user is necessary for the backup (mostly postgres instead of root) you can set it with the option -a osuser=<username>.
A Restore operation offers the possibilities to execute with or without (no) Recover.
In the case of No Recover the data will be written as a Dump file onto the file system (usually in the directory <SESAM-VAR>/work. You can use this file as input file for the PostgreSQL program pg_restore. Select the option No recover after restore in the Restore Wizard to proceed this.
For additional information about using pg_restore refer to the man page.
Advantage:
Drawback:
The data will be stored directly into the database without caching in the file system. Select the option Auto recover after restore in the Restore Wizard to proceed this.
Advantage
Drawback
If you start the restore with the option overwrite existing data the database will be new created. If this set together with the option Restore to the original target path the database will be deleted first and right after that created by using of the information of the backup saveset. If you select the option New restore target and enter a new database name the PostgreSQL command createdb creates a database with this name. The data will be imported into this new database.
| Hint: |
|
Pay attention on automatically creating a new database and a following import into that database you have to set up necessary database users and roles before the import. |
If you select the restore option do not overwrite existing files the data will be restored into an existing database only. If there are any errors during the recover process (e.g. Primary Key Error) the restore operation will be displayed as an error in the SEP sesam GUI. In this case you should check the restore protocol as well as the data in the database.
Our sales team would be happy to assist you!
Browse and discover videos by SEP.