A shoot-out has erupted between your MS development teams using .NET and your Linux development teams using Jav

A shoot-out has erupted between your MS development teams using .NET and your Linux
development teams using Jav

A shoot-out has erupted between your MS development teams using .NET and your Linux
development teams using Jav

A.
Knowing that your database is in danger, which command would you use to back up your
NOARCHIVELOG mode database using RMAN with compression?
backup database all

A.
Knowing that your database is in danger, which command would you use to back up your
NOARCHIVELOG mode database using RMAN with compression?
backup database all

B.
backup compressed database

C.
backup as compressed backupset database;

D.
backup as compressed backup database plus archivelog all;

E.
backup as compressed backupset database plus compress archivelog all;

Explanation:

RMAN-03009: failure of backup command on ORA_DISK_1 channel at
02/23/2014 11:46:01
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
RMAN>



Leave a Reply 1

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


Anonim

Anonim

Correct answer: C. backup as compressed backupset database;
A. is wrong because the backup will not be compressed.

SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 5
Current log sequence 7
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.

SQL> startup mount;
ORACLE instance started.

Total System Global Area 839282688 bytes
Fixed Size 2217992 bytes
Variable Size 507512824 bytes
Database Buffers 322961408 bytes
Redo Buffers 6590464 bytes

Database mounted.
SQL> SQL> SQL> SQL>
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$ rman target /

Recovery Manager: Release 11.2.0.1.0 – Production on Wed Jan 28 20:47:20 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to target database: TEST (DBID=2118498126, not open)

RMAN> backup as compressed backupset database;

Starting backup at 28-JAN-15
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=133 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/home/oracle/app/oracle/oradata/test/system01.dbf
input datafile file number=00002 name=/home/oracle/app/oracle/oradata/test/sysaux01.dbf
input datafile file number=00003 name=/home/oracle/app/oracle/oradata/test/undotbs01.dbf
input datafile file number=00005 name=/home/oracle/app/oracle/oradata/test/example01.dbf
input datafile file number=00004 name=/home/oracle/app/oracle/oradata/test/users01.dbf
channel ORA_DISK_1: starting piece 1 at 28-JAN-15
channel ORA_DISK_1: finished piece 1 at 28-JAN-15
piece handle=/home/oracle/app/oracle/flash_recovery_area/TEST/backupset/2015_01_28/o1_mf_nnndf_TAG20150128T204723_bdlh6cdf_.bkp tag=TAG20150128T204723 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:25
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 28-JAN-15
channel ORA_DISK_1: finished piece 1 at 28-JAN-15
piece handle=/home/oracle/app/oracle/flash_recovery_area/TEST/backupset/2015_01_28/o1_mf_ncsnf_TAG20150128T204723_bdlh91jy_.bkp tag=TAG20150128T204723 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 28-JAN-15