AWOB Backup Procedure

GAVO,Admin

=Postgresql Backup=

We create a full database backup on a running system every 12 hours.

We save all File from Postgresql compressed in /X/backup/pgdata-DATE.tar.gz and all logs we be saved in /X/backup/logs/

Postgresql Restore
restore_command = 'cp /X/backup/logs/%f %p'
 * Rename the data directory
 * extract the pgdata-DATE.tar.gz to data directory
 * copy all log files from old pg_xlog directory to /X/backup/logs/
 * create in the new data directory a file named recovery.conf
 * add the following line in this file ans save it


 * if you need a target time you can also add the date

recovery_target_time = '2008-11-25 18:08:06'


 * Start the database a check the postgresql log file

=Incremental 7 daily backup of Document Library=

Every day a backup will be created in /X/backup/awob-7days/.

Restore
Shutdown the server and copy all Document Library data from a day where you like to recover it to your Document Library data directory and restart it.

=AWOB instance backup=

We mirror the full partition X to Y every 2 hours.

AWOB instance restore
Shutdown the server, copy all data of Liferay from Y to X and restart the server.