I want to use RMAN to backup my database on tape. I am using recovery catalog. Below is the error displayed:
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-00569: ERROR MESSAGE STACK FOLLOWS
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel delete
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
Additional information: 4110
ORA-19511: SBT error = 4110, errno = 0, BACKUP_DIR environment variable is not set
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
What should I do to be able to backup on tape?
You are getting these errors because the tape device, SBT_TAPE is not known to the system. You'll have to work with your system administrator to get a tape device known in the system and known by a specific name. Once that is accomplished, all you need to do is specify that name and it will work. Until that device is called by the name it is registered with the system, it won't work. Oracle does include Legato software on the distribution media which facilitates this. You'll have to install this software and configure it.