rman catalog foo/bar@cat target / cmdfile=your_script.rman msglog=db1.out