Database Reference
In-Depth Information
Implementing the backup process
Now that we have described the types of files to be backed up, the frequency
of backup needed, and the locations of what needs to be backed up, you may
use alternate third-party tools or commands to perform your filesystem backups.
The backup commands and instructions in this section are meant to serve as a
workable guideline to cover all areas requiring backup and are general in nature.
They assume a Linux-based operating system with gtar installed, but they may
be substituted with alternate file manipulation commands as needed. We recom-
mend dedicating a backup mount point with ample storage and timestamping
each backup file with the date and time in the file name. Many backup solutions
that can be leveraged to automate and simplify the administration of the entire
backup process are available in the market.
Oracle system files
The Oracle system files are comprised of the server specific files under the /etc
system directory as well as the Oracle Inventory. The oraInst.loc file location
varies depending on the flavor of Unix being used:
1.
Set your environment, if not already set. This may vary depending on your in-
stallation:
export BACKUP_DIR=/backup
export TIME=`date "+%Y%m%d_%k%M"`
2.
Execute the following command to backup the Oracle system files under
/etc:
gtar -czvf $BACKUP_DIR/etcora.${TIME}.tgz /etc/oraInst.loc /etc/oratab
Search WWH ::




Custom Search