SAP backup using RMAN Image Copy Backup

Article:TECH181207  |  Created: 2012-02-10  |  Updated: 2012-05-14  |  Article URL http://www.symantec.com/docs/TECH181207
Article Type
Technical Solution


Environment

Problem



Can the SAP with RMAN backup perform a RMAN "Image Copy" backup to tape?

Background Information:

An image copy is a bit-for-bit duplicate of a database file, identical to a copy made with an operating system command. (RMAN-created image copies are, however, recorded in the RMAN repository, unlike file copies created using operating system-level commands.)

Image copy backups can only be created on disk. RMAN can create image copies of datafiles and datafile copies, control files and control file copies, archived redo logs, and backup pieces. RMAN creates image copies when the AS COPY option is used with the BACKUP command.

http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup001.htm


Error



None


Environment



Applies to all platforms


Cause



SAP’s brbackup process is the process that creates the RMAN run block when the backup is performed. Netbackup does not perform that function.

Referring to the SAP documentation regarding supported init.sap parameters:

http://help.sap.com/saphelp_nw73/helpdata/en/46/b60e39de275a64e10000000a11466f/content.htm

disk_copy_cmd

This parameter specifies the copy command to be used to copy files to local disks.
...snip...

• rman: Oracle Recovery Manager (RMAN) copies data to disk (for one-to-one copies of data files).

http://help.sap.com/saphelp_nwpi71/helpdata/en/47/38edaa4c1b0a8ee10000000a114a6b/content.htm

tape_copy_cmd

This parameter defines the command used to copy database files (not to raw devices) and non-database files from disk to tape.
...snip...
• rman: performs backup with Oracle Recovery Manager. Data is copied by SAP backup library directly to tape.

Please notice that only the disk_copy_cmd will perform the “one-to-one” copies of data files. The disk_copy_cmd does not make use of the Netbackup media manager as it writes to local disk only.


Referring to Oracle RMAN documentation:

http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup001.htm
Image copy backups can only be created on disk.


Solution



Only the disk_copy_cmd will perform the “one-to-one” copies of data files. The disk_copy_cmd does not make use of the Netbackup media manager.




Article URL http://www.symantec.com/docs/TECH181207


Terms of use for this information are found in Legal Notices