Rman database Restore Command running in background using nohup
nohup rman target / @/export/home/orapre/rman_restore_db.ful log=/export/home/orapre//rman_restore_db.ful.log &
rman scripts content for rman_restore_db.ful
set echo on;
run {
allocate channel backup_disk1 type disk maxpiecesize 20G;
allocate channel backup_disk2 type disk maxpiecesize 20G;
allocate channel backup_disk3 type disk maxpiecesize 20G;
allocate channel backup_disk4 type disk maxpiecesize 20G;
allocate channel backup_disk5 type disk maxpiecesize 20G;
allocate channel backup_disk6 type disk maxpiecesize 20G;
allocate channel backup_disk7 type disk maxpiecesize 20G;
allocate channel backup_disk8 type disk maxpiecesize 20G;
allocate channel backup_disk9 type disk maxpiecesize 20G;
allocate channel backup_disk10 type disk maxpiecesize 20G;
restore database;
switch datafile all;
switch tempfile all;
recover database;
}
nohup rman target / @/export/home/orapre/rman_restore_db.ful log=/export/home/orapre//rman_restore_db.ful.log &
rman scripts content for rman_restore_db.ful
set echo on;
run {
allocate channel backup_disk1 type disk maxpiecesize 20G;
allocate channel backup_disk2 type disk maxpiecesize 20G;
allocate channel backup_disk3 type disk maxpiecesize 20G;
allocate channel backup_disk4 type disk maxpiecesize 20G;
allocate channel backup_disk5 type disk maxpiecesize 20G;
allocate channel backup_disk6 type disk maxpiecesize 20G;
allocate channel backup_disk7 type disk maxpiecesize 20G;
allocate channel backup_disk8 type disk maxpiecesize 20G;
allocate channel backup_disk9 type disk maxpiecesize 20G;
allocate channel backup_disk10 type disk maxpiecesize 20G;
restore database;
switch datafile all;
switch tempfile all;
recover database;
}