Perform the following commands to test a controlfile backup to NetVault from RMAN CLI. This can help determine if there are problems with NetVault configuration.
* Run a simple CLI controlfile backup:
RMAN> run {
allocate channel sbt1 type 'SBT_TAPE';
backup current controlfile;
release channel sbt1;
}
* Run again with the 'format' clause:
RMAN> run {
2> allocate channel sbt1 type 'SBT_TAPE';
3> backup
4> format 'servername:targetsetname:advancedoptionsetname:%d_%s_%t'
5> current controlfile;
6> release channel sbt1;
7> }
The format clause takes 3 variables.
1 - The NetVault Server name. This is not the Oracle client's name.
2 - The name of a Target Set created in NetVault that will be used for Oracle Backup jobs
3 - The name of an Advanced Options Set created in NetVault that will be used for Oracle Backup jobs