Oracle® Collaboration Suite High Availability Configuration Release 2 (9.0.4) for UNIX and Linux Part Number B15612-01 |
|
|
View PDF |
You must back up Information Storage and the software during installation and after completing the setup. This appendix provides instructions for performing these backups.
Follow these steps to back up the database during the installation process. Backup performed during installation is termed as cold backup. Backup performed during normal operation, when the database is open, is different. The Information Storage database is not open, but it must be mounted for Oracle Database Recovery Manager backups.
To back up Information Storage:
Shut down the database, and then mount it.
To do this, run the following commands:
sqlplus "/ as sysdba" SQL> shutdown immediate; SQL> startup mount; SQL> quit
Create the infobackup.rman
script file with the following contents:
connect target configure controlfile autobackup on; configure controlfile autobackup format for device type disk to '/ocsstore_db_backup/%F'; run { allocate channel bkp device type disk format '/ocsstore_db_backup/%U' ; backup database; release channel bkp; }
Run the infobackup.rman
script by using the following command:
rman infobackup.rman
Software backups must be taken after each major installation and configuration step for each tier. All the processes on a tier must be shut down before you perform the backup.
To back up software:
Log in as root.
Run the following command:
cd ORACLE_BASE
Run the following command:
tar -cvf backup_directory/step_name.tar *
For example, to back up the Infrastructure following the Oracle Calendar Server and Domain Controller step, run the following command:
tar -cvf /ocsinfra_backup/afterCalSrvr.tar *