Monday, 27 January 2014

Netbackup Oracle internal process


Backup :

Database tables are not directly copied to netbackup .

bporaexp/bporaexp64 utility





Database tables are first converted in xml files by bporexp/bporaexp64 in backups and then data is storage in netbackup storage unit 

RMAN (oracle recovery manager ) is responsible for performing backups and restores . Rman can’t directly access media and devices it uses netbackup for oracle to uses the devices .

Rman does three things . identifies whether the opearation is backup or restore
What to backup or restore (Rman)
Submits a request for media server to accessing the media and devices for (backup/Restore ) using linking libobk or orasbt.dll
Process : Nbrb will be intaited on media servers
                 Nbrb will get the resources from emm
Controlls the flows of data into/out of databases
Process : Rman access the devices and bpbkar gets started and send the data . (Backup)
                  Rman access the devices and tar gets started and send the data . (Restore)


Once it gets the resources
                        Bpbkar gets intiates on clients .
                       Sends data to media server ( bpbkar puts data from client disk to networkà child bptm puts data from network to shared memory à parent bptm puts data from shared memory to disk )



Rman uses restore  command to start restores
                        Using netbackup library libobk talks to media server via bpcd to get resource
                        Once it gets the resources
                        Tar gets initated on the client and transfers data to client from media server
                          Parent bptm reads data from tapes/disk of mediaserver and puts in buffersà child bptm puts data from shared memory to network  -à tar reads data from network to client disk
Scripts:
/usr/openv/netbackup/ext/dbext/oracle/samples

No comments:

Post a Comment