Can we use environment variables in RMAN script?
I tried to use it in format command like..
format '$BACKUP_DIR/%d_db_t%t_s%s_p%p'
and getting this error
ORA-07217: sltln: environment variable cannot be evaluated.
Sanjay
Printable View
Can we use environment variables in RMAN script?
I tried to use it in format command like..
format '$BACKUP_DIR/%d_db_t%t_s%s_p%p'
and getting this error
ORA-07217: sltln: environment variable cannot be evaluated.
Sanjay
U cannot use env variable there. U can pass environment variables inside the backup script like this:
allocate channel c1 type 'SBT_TAPE' parms 'ENV=(NSR_CHECKSUM=TRUE)'