Professional Documents
Culture Documents
SQL> startup
############################################
***NOTE***
Back up the catalog database at regular intervals, to two separate media (for
example, disk and tape) if available.
Do not use another recovery catalog as the repository for the backups.
**********
{
BACKUP DATABASE PLUS ARCHIVELOG;
DELETE OBSOLETE;
}
--to list the names of all scripts stored in the current recovery catalog
RMAN> LIST ALL SCRIPT NAMES;
RUN
{
BACKUP DATABASE PLUS ARCHIVELOG;
DELETE OBSOLETE;
}
RMAN> @/home/oracle/backup1.txt
$ cat backup2.txt
########################################################
--DO NOT RUN THEM AT THIS STAGE OF THE COURSE