Start RMAN without connecting to a database
$ rman Start RMAN and run a command file:
$ rman @/scripts/rman_commands.txt Connect to a target database and a recovery catalog:
$ rman TARGET SYS/pwd CATALOG cat_usr/pwd@cat_str Connect to a target database without using a recovery catalog:
$ rman TARGET SYS/pwd@sid NOCATALOG Connect to a target database and log a full debug trace file:
$ rman TARGET SYS/pwd NOCATALOG debug trace=rman.trc log=rman.log Connect to a target database and log output messages to a file:
$ rman TARGET SYS/pwd log=rman.log APPEND Run a command file from the RMAN prompt:
RMAN> @/my_dir/my_command_file.txt
$ rman Start RMAN and run a command file:
$ rman @/scripts/rman_commands.txt Connect to a target database and a recovery catalog:
$ rman TARGET SYS/pwd CATALOG cat_usr/pwd@cat_str Connect to a target database without using a recovery catalog:
$ rman TARGET SYS/pwd@sid NOCATALOG Connect to a target database and log a full debug trace file:
$ rman TARGET SYS/pwd NOCATALOG debug trace=rman.trc log=rman.log Connect to a target database and log output messages to a file:
$ rman TARGET SYS/pwd log=rman.log APPEND Run a command file from the RMAN prompt:
RMAN> @/my_dir/my_command_file.txt