which would be the correct order to create a backup of an Oracle database in NOARCHIVELOG mode?

Given the following steps, which would be the correct order to create a backup of an Oracle
database in NOARCHIVELOG mode?
7. shutdown immediate from RMAN
8. Log into RMAN
9. startup mount from RMAN
10.backup database
11.alter database open
12.backup database plus archivelog delete input

Given the following steps, which would be the correct order to create a backup of an Oracle
database in NOARCHIVELOG mode?
7. shutdown immediate from RMAN
8. Log into RMAN
9. startup mount from RMAN
10.backup database
11.alter database open
12.backup database plus archivelog delete input

A.
2,3,1,4,5

B.
2,1,3,6,5

C.
1,3,5,4

D.
2,1,3,5,6

E.
2,1,3,4,5

Explanation:
Backing Up a Database in NOARCHIVELOG Mode
If a database runs in NOARCHIVELOG mode, then the only valid database backup is a
consistent backup. For the backup to be consistent, the database must be mounted after a
consistent shutdown. No recovery is required after restoring the backup.
To make a consistent database backup:
1. Start RMAN and connect to a target database.
2. Shut down the database consistently and then mount it.
For example, enter the following commands to guarantee that the database is in a consistent
state for a backup:
RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP FORCE DBA;
RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP MOUNT;
3. Run the BACKUP DATABASE command.
For example, enter the following command at the RMAN prompt to back up the database to
the default backup device:
RMAN> BACKUP DATABASE;
The following variation of the command creates image copy backups of all data files in the
database:
RMAN> BACKUP AS COPY DATABASE;
4. Open the database and resume normal operations.
The following command opens the database:
RMAN> ALTER DATABASE OPEN;



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Jake from SF

Jake from SF

Given the following steps, which would be the correct order to create a backup of an Oracle
database in NOARCHIVELOG mode?
1. shutdown immediate from RMAN
2. Log into RMAN
3. startup mount from RMAN
4.backup database
5.alter database open
6.backup database plus archivelog delete input

A.
2,3,1,4,5

B.
2,1,3,6,5

C.
1,3,5,4

D.
2,1,3,5,6

E.
2,1,3,4,5

Jake from SF

Jake from SF

E is kind of correct, STARTUP FORCE DBA will guarantee consistent state for backup:

https://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmquick.htm

Backing Up a Database in NOARCHIVELOG Mode
If a database runs in NOARCHIVELOG mode, then the only valid database backup is a consistent backup. For the backup to be consistent, the database must be mounted after a consistent shutdown. No recovery is required after restoring the backup.

To make a consistent database backup:

Start RMAN and connect to a target database.

Shut down the database consistently and then mount it.

For example, enter the following commands to guarantee that the database is in a consistent state for a backup:

RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP FORCE DBA;
RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP MOUNT;
Run the BACKUP DATABASE command.

For example, enter the following command at the RMAN prompt to back up the database to the default backup device:

RMAN> BACKUP DATABASE;
The following variation of the command creates image copy backups of all datafiles in the database:

RMAN> BACKUP AS COPY DATABASE;
Open the database and resume normal operations.

The following command opens the database:

RMAN> ALTER DATABASE OPEN;

k

k

Jake, startup force dba wont quarantee the consistency, shutdown immediate will.