Database Backup and Recovery (MOSC)

MOSC Banner

Not possible to create rman script

edited Dec 10, 2018 7:50AM in Database Backup and Recovery (MOSC) 5 commentsAnswered ✓

I'm trying to transfer old scripts into a new rman catalog but it is not possible even though it is syntactically correct as it was used for years in the old one.

RMAN> create or replace global script offline_weekly

2> {

3> shutdown immediate;

startup mount;

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';

CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 2;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%d_%F';

backup device type sbt format '%d_full_offline_%s_%U_%t' filesperset 1 tag '%TAG' database;

alter database open;

crosscheck backup of database completed before 'trunc (sysdate-35)';

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center