MERCADOS FINANCIEROS

viernes, 31 de mayo de 2019

RMAN DEBUG ON

$rman target / debug=ALL log=/u01/backup/rman.txt
The above command records all the info of the commands issued in the rmandebug.txt file and the debugging information is for all the five categories.
  • At the RMAN prompt
If you want to specify, you can specify the debug option at the RMAN prompt itself with any other RMAN standalone command like below:
RMAN>debug on;
RMAN>backup database;
RMAN>debug off;
  • From a run block
If you are running multiple commands in one go, you can start the debugging of all of them by supplying the option of debug inside the run block as shown below:
        RMAN> run {
                          debug on;
                          allocate channel c1 type disk;
                          backup database;
                          debug off;
                  }

No hay comentarios: