hot backup RAC
Is the below script good enough to create a Hot backup of RAC database?
run
{
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;
sql 'alter system switch logfile';
backup incremental level 0 format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.dbf' database;
backup format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.arc' archivelog all not backed up 2 times;
sql 'alter system switch logfile';
backup current controlfile format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.ctl';
release channel ch1;
release channel ch2;
run
{
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;
sql 'alter system switch logfile';
backup incremental level 0 format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.dbf' database;
backup format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.arc' archivelog all not backed up 2 times;
sql 'alter system switch logfile';
backup current controlfile format '/cloudfs/rman_backup/rmnho/%d_%T_%t_%s_%p.ctl';
release channel ch1;
release channel ch2;
0