06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases<br />

9.12 Support <strong>for</strong> Oracle RDB database<br />

<strong>to</strong> SBT <strong>to</strong> be used <strong>for</strong> diagnostic purposes. If the backup is a parallel operation a PLAN file is<br />

created and executed as part of the existing RMU/BACKUP/PARALLEL and<br />

RMU/BACKUP/PLAN command syntax. The following is an example of a parallel backup and<br />

non parallel res<strong>to</strong>re (the res<strong>to</strong>re is always non parallel and executes in a single process) using the<br />

/LIBRARIAN qualifier.<br />

$RMU/BACKUP/PARALLEL=EXECUTOR=2/LIBRARIAN=WRITER_THREADS=1-<br />

/LIST_PLAN=FILENAME.PLAN/NOEXECUTE/LOG DATABASE FILENAM.RBF<br />

$RMU/BACKUP/PLAN FILENAME.PLAN<br />

$RMU/RESTORE/LIBRARIAN=(READER_THREADS=2)/LOG FILENAME<br />

In this example the first backup command creates the PLAN file <strong>for</strong> a parallel backup but does<br />

not execute it. The second backup command executes the parallel backup using the PLAN file.<br />

Note that 2 worker processes will be used and each process will use the 1 writer threads specified<br />

with the /LIBRARIAN qualifier. Each writer thread in each process will write one stream of<br />

backup data using SBT. There<strong>for</strong>e 2 streams will be written <strong>to</strong> the LIBRARIAN archive. The<br />

streams will be given the names<br />

FILENAME<br />

FILENAME02<br />

To retrieve the same 2 data streams which represent the backed up Rdb database on the non parallel<br />

res<strong>to</strong>re a READER_THREADS=2 parameter can be specified with the /LIBRARIAN qualifier<br />

<strong>to</strong> use 2 threads <strong>to</strong> execute the res<strong>to</strong>re, or if a READER_THREADS value specified is less<br />

than 2 (1 is the default), RMU will determine the number of data streams actually s<strong>to</strong>red by querying<br />

the SBT distribute the data streams among the requested reader threads. If a<br />

READER_THREADS value is specified that is greater than "2" RMU will set it <strong>to</strong> "2" so that<br />

the res<strong>to</strong>re does not attempt <strong>to</strong> retrieve data streams which do not exist.<br />

Since all data stream names representing the database are generated based on the backup file<br />

name specified <strong>for</strong> the RMU backup command used with the /LIBRARIAN qualifier, the user<br />

must use a different backup file name <strong>to</strong> s<strong>to</strong>re the next backup of the database using SBT.<br />

The user can incorporate the date or some other unique identifier in the backup file name <strong>to</strong><br />

make it unique if he wants <strong>to</strong> avoid deleting a previous backup <strong>to</strong> SBT, which used the same<br />

backup file name.<br />

Note<br />

Deleting the previous backup is not recommended, as entire backup will be lost.<br />

9.12.2.1 PARAMETERS Passed <strong>for</strong> the PLAN file<br />

WRITER_THREADS=#<br />

Use # writer threads <strong>to</strong> write # backup data streams using SBT. The database s<strong>to</strong>rage areas will<br />

be partitioned among the database streams. The streams will be named BACKUP_FILENAME,<br />

BACKUP_FILENAME02, BACKUP_FILENAME03, up <strong>to</strong> BACKUP_FILENAME#.<br />

BACKUP_FILENAME is the backup file name specified in the RMU command excluding any<br />

specified VMS file extension. This parameter can only be specified <strong>for</strong> parallel and non parallel<br />

database backups. The default is 1 writer thread.<br />

READER_THREADS=#<br />

Use # reader threads <strong>to</strong> read all the backup data streams from SBT created <strong>for</strong> the backup filename.<br />

The streams will be named BACKUP_FILENAME, BACKUP_FILENAME02,<br />

BACKUP_FILENAME03, etc. BACKUP_FILENAME is the backup file name specified in the<br />

9-28 <strong>System</strong> <strong>Backup</strong> <strong>to</strong> Tape <strong>for</strong> Oracle Databases

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

Saved successfully!

Ooh no, something went wrong!