Examine the RMAN command:
RMAN> SET ENCRYPTION IDENTIFIED BY <password> ON FOR ALL TABLESPACES; RMAN> BACKUP
DATABASE PLUS ARCHIVELOG;
Which type of encryption is used for the backup performed by using this command?
A.
password-mode encryption
B.
dual-mode encryption
C.
transparent encryption
D.
default encryption
ans b?
ans A = RMAN> SET ENCRYPTION ON IDENTIFIED BY password ONLY;
^^^^^
Ans A
What is the difference between password-mode and dual- mode?
The answer is B. Here is the test:
RMAN> set encryption identified by ‘foo’ on for all tablespaces;
executing command: SET encryption
RMAN> backup tablespace users;
Starting backup at 11-OCT-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00006 name=/u04/oradata/db03/users01.dbf
channel ORA_DISK_1: starting piece 1 at 11-OCT-17
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 10/11/2017 20:17:00
ORA-19914: unable to encrypt backup
ORA-28365: wallet is not open