24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9.7.3.1 Coexistence of backup-archive client and TDP for <strong>Oracle</strong><br />

When using the incremental command of the backup-archive client, you<br />

should exclude the d<strong>at</strong>abase objects th<strong>at</strong> are backed up using TDP for<br />

<strong>Oracle</strong>. While the d<strong>at</strong>abase is running, you will not get a consistent backup<br />

using the backup-archive client.<br />

In our environment, all the files th<strong>at</strong> were backed up using TDP for <strong>Oracle</strong><br />

where in the c:\oracle\orad<strong>at</strong>a directory. To prevent them from being backed<br />

during a full incremental backup, we added an exclude.dir st<strong>at</strong>ement to the<br />

dsm.opt file:<br />

exclude.dir c:\oracle\orad<strong>at</strong>a<br />

To prevent those files from being backed up with a selective command, we<br />

also added this st<strong>at</strong>ement:<br />

exclude c:\oracle\orad<strong>at</strong>a\...\*<br />

You may wish to use additional exclude st<strong>at</strong>ements to prevent other files from<br />

being backed up during your incremental backups. However, you should<br />

consider using an include st<strong>at</strong>ement to back up <strong>Oracle</strong>.ORA files<br />

(tnsnames.ora, init.ora, etc..) These files would make a disaster recovery<br />

restore much easier:<br />

include c:\oracle\admin\...\*.ora<br />

include c:\oracle\ora81\...\*.ora<br />

After making these changes, our resulting dsm.opt file looked like this:<br />

COMMMETHOD TCPIP<br />

TCPSERVERADDRESS 193.1.1.11<br />

TCPPORT 1500<br />

NODENAME JAMAICA<br />

PASSWORDACCESS GENERATE<br />

exclude.dir c:\oracle\orad<strong>at</strong>a<br />

include c:\oracle\admin\...\*.ora<br />

include c:\oracle\ora81\...\*.ora<br />

exclude c:\oracle\orad<strong>at</strong>a\...\*<br />

With these include/exclude st<strong>at</strong>ements, the <strong>Oracle</strong> d<strong>at</strong>abase files will not be<br />

backed up in the TSM backup-archive client incremental.<br />

152 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!