cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle RMAN backup via NetBackup PDDO

Rockey_Wen
Level 4
Does anyone have ideas how to backup Oracle database by using RMAN scripts to NetBackup PDDO?

Currently, our Oracle database servers got NetBackup Oracle agents installed, and backup policies are based on RMAN scripts. In the RMAN scripts, we are currently address the backup streams to tape, which means device type = "sbt_type". What kind of modification should I do if I want to re-direct backup stream to PureDisk storage unit? Can I treat the Puredisk storage unit as local disks and set device type to "DISK"?



Thanks,

Rockey Wen
1 ACCEPTED SOLUTION

Accepted Solutions

Abesama
Level 6
Partner
The sbt_type in RMAN script is purely for RMAN's understanding, it does not have any control over NetBackup media server's decision to write the backup data on to tape/disk/PDDO storage unit.

If you set it to sbt_tape then RMAN decides to use the media management API (NetBackup agent installed on the Oracle server) to do the backup - then the NetBackup agent will pass the backup data to the NetBackup media server, and the NetBackup media server will write the backup data to tape (if a tape storage unit is specified in the backup policy) or disk (if a disk storage unit is specified in the backup policy) or PDDO storage unit (if the PDDO storage unit is specified in the backup policy)

On the other hand, if you set it to sbt_disk, then RMAN decides to use the local disk to do the backup, "without using NetBackup plugin" so it simply dumps the database to local hard disk, and NetBackup will not be ever used for this operation, it's purely RMAN's job to take care of the backup.

So, if you want to do backups using NetBackup, then you have to set it to sbt_tape in RMAN script, regardless of the ultimate bacup destination being tape or disk or PDDO.

If you want NetBackup to use PDDO storage unit, then specify that sotrage unit in the Oracle backup pocliy.

After that, if you want NetBackup to use tape storage unit, specify the tape storage unit in the Oracle backup policy.

If you want NetBackup to use disk storage unit, specify the disk storage unit in the Oracle backup policy.

Abe

View solution in original post

2 REPLIES 2

Abesama
Level 6
Partner
The sbt_type in RMAN script is purely for RMAN's understanding, it does not have any control over NetBackup media server's decision to write the backup data on to tape/disk/PDDO storage unit.

If you set it to sbt_tape then RMAN decides to use the media management API (NetBackup agent installed on the Oracle server) to do the backup - then the NetBackup agent will pass the backup data to the NetBackup media server, and the NetBackup media server will write the backup data to tape (if a tape storage unit is specified in the backup policy) or disk (if a disk storage unit is specified in the backup policy) or PDDO storage unit (if the PDDO storage unit is specified in the backup policy)

On the other hand, if you set it to sbt_disk, then RMAN decides to use the local disk to do the backup, "without using NetBackup plugin" so it simply dumps the database to local hard disk, and NetBackup will not be ever used for this operation, it's purely RMAN's job to take care of the backup.

So, if you want to do backups using NetBackup, then you have to set it to sbt_tape in RMAN script, regardless of the ultimate bacup destination being tape or disk or PDDO.

If you want NetBackup to use PDDO storage unit, then specify that sotrage unit in the Oracle backup pocliy.

After that, if you want NetBackup to use tape storage unit, specify the tape storage unit in the Oracle backup policy.

If you want NetBackup to use disk storage unit, specify the disk storage unit in the Oracle backup policy.

Abe

Kerry_LeRoy
Level 3
As Abesama stated, use the policy to configure the storage unit. If you need to make a tape copy as well, use a Storage Life Cycle Policy and configure the storage units for each copy in it.

We are getting anywhere from 65% to 95% deduplication sending RMAN backups to PureDisk.