Backup related issues

Published on June 2016 | Categories: Documents | Downloads: 73 | Comments: 0 | Views: 575
of 5
Download PDF   Embed   Report

Rman backup related issues

Comments

Content


SQL> alter database enable block change tracking ;
alter database enable block change tracking
*
ERROR at line 1:
ORA-19773: must specify change tracking file name
SQL> alter database enable block change tracking file '/u01/app/oracle/oradata/t
est2/bct.ctl';
alter database enable block change tracking file '/u01/app/oracle/oradata/test2/
bct.ctl'
*
ERROR at line 1:
ORA-00933: SQL command not properly ended
SQL> alter database enable block change tracking using file '/u01/app/oracle/or
adata/test2/bct.ctl';
Database altered.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Pr
oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
-bash-3.2$ rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Sun Apr 15 16:51:29 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=2886261877)
RMAN> backup incremental level2 database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "from, level"
RMAN-01008: the bad identifier was: level2
RMAN-01007: at line 1 column 20 file: standard input
RMAN> backup incremental level 2 database;
Starting backup at 15-APR-12
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 incremental level 2 datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/test2/system01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/test2/UNDOTBS01.DB
F
input datafile file number=00002 name=/u01/app/oracle/oradata/test2/SYSAUX01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/test2/emp01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/test2/USERS01.DBF
input datafile file number=00006 name=/u01/app/oracle/oradata/test2/student01.db
f
channel ORA_DISK_1: starting piece 1 at 15-APR-12
channel ORA_DISK_1: finished piece 1 at 15-APR-12
piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2012_04_15/o1_mf
_nnnd2_TAG20120415T165331_7rocxnpn_.bkp tag=TAG20120415T165331 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 15-APR-12
Starting Control File and SPFILE Autobackup at 15-APR-12
piece handle=/u01/app/oracle/flash_recovery_area/TEST/autobackup/2012_04_15/o1_m
f_s_780684815_7rocxsxf_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 15-APR-12
RMAN> exit
Recovery Manager complete.
-bash-3.2$ sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.6.0 - Production on Sun Apr 15 16:55:08 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1300352 bytes
Variable Size 234883200 bytes
Database Buffers 180355072 bytes
Redo Buffers 6131712 bytes
SQL> rman target /
SP2-0734: unknown command beginning "rman targe..." - rest of line ignored.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Pr
oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
-bash-3.2$ rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Sun Apr 15 16:57:18 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (not mounted)
RMAN> restore controlfile from autobackup;
Starting restore at 15-APR-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=152 device type=DISK
recovery area destination: /u01/app/oracle/flash_recovery_area
database name (or database unique name) used for search: TEST
channel ORA_DISK_1: AUTOBACKUP /u01/app/oracle/flash_recovery_area/TEST/autoback
up/2012_04_15/o1_mf_s_780684815_7rocxsxf_.bkp found in the recovery area
AUTOBACKUP search with format "%F" not attempted because DBID was not set
channel ORA_DISK_1: restoring control file from AUTOBACKUP /u01/app/oracle/flash
_recovery_area/TEST/autobackup/2012_04_15/o1_mf_s_780684815_7rocxsxf_.bkp
channel ORA_DISK_1: control file restore from AUTOBACKUP complete
output file name=/u01/app/oracle/oradata/test2/control01.ctl
output file name=/u01/app/oracle/oradata/test2/control02.ctl
output file name=/u01/app/oracle/oradata/test2/control03.ctl
Finished restore at 15-APR-12
RMAN> restore database;
Starting restore at 15-APR-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/15/2012 16:58:06
ORA-01507: database not mounted
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> restore database;
Starting restore at 15-APR-12
Starting implicit crosscheck backup at 15-APR-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=152 device type=DISK
Crosschecked 10 objects
Finished implicit crosscheck backup at 15-APR-12
Starting implicit crosscheck copy at 15-APR-12
using channel ORA_DISK_1
Crosschecked 10 objects
Finished implicit crosscheck copy at 15-APR-12
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /u01/app/oracle/flash_recovery_area/TEST/autobackup/2012_04_15/o1_mf_
s_780684815_7rocxsxf_.bkp
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/test2/sy
stem01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/test2/SY
SAUX01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/test2/UN
DOTBS01.DBF
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/test2/US
ERS01.DBF
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/test2/em
p01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd0_TAG20120415T164521_7rocgdg0_.bkp
channel ORA_DISK_1: ORA-19870: error while restoring backup piece /u01/app/oracl
e/flash_recovery_area/TEST/backupset/2012_04_15/o1_mf_nnnd0_TAG20120415T164521_7
rocgdg0_.bkp
ORA-19502: write error on file "/u01/app/oracle/oradata/test2/system01.dbf", blo
ck number 2545 (block size=8192)
ORA-27072: File I/O error
Linux Error: 28: No space left on device
Additional information: 4
Additional information: 2545
Additional information: -1
c. dbms_backup_restore.restoreCancel() failed
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd2_TAG20120415T165331_7rocxnpn_.bkp
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/15/2012 16:59:07
ORA-19870: error while restoring backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd2_TAG20120415T165331_7rocxnpn_.bkp
ORA-19668: cannot do full restore of datafile /u01/app/oracle/oradata/test2/UNDO
TBS01.DBF
RMAN> restore database;
Starting restore at 15-APR-12
using channel ORA_DISK_1
skipping datafile 4; already restored to file /u01/app/oracle/oradata/test2/USER
S01.DBF
skipping datafile 5; already restored to file /u01/app/oracle/oradata/test2/emp0
1.dbf
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/test2/sy
stem01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/test2/SY
SAUX01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/test2/UN
DOTBS01.DBF
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd0_TAG20120415T164521_7rocgdg0_.bkp
channel ORA_DISK_1: ORA-19870: error while restoring backup piece /u01/app/oracl
e/flash_recovery_area/TEST/backupset/2012_04_15/o1_mf_nnnd0_TAG20120415T164521_7
rocgdg0_.bkp
ORA-19502: write error on file "/u01/app/oracle/oradata/test2/system01.dbf", blo
ck number 2545 (block size=8192)
ORA-27072: File I/O error
Linux Error: 28: No space left on device
Additional information: 4
Additional information: 2545
Additional information: -1
c. dbms_backup_restore.restoreCancel() failed
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd2_TAG20120415T165331_7rocxnpn_.bkp
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/15/2012 19:34:10
ORA-19870: error while restoring backup piece /u01/app/oracle/flash_recovery_are
a/TEST/backupset/2012_04_15/o1_mf_nnnd2_TAG20120415T165331_7rocxnpn_.bkp
ORA-19668: cannot do full restore of datafile /u01/app/oracle/oradata/test2/UNDO
TBS01.DBF
RMAN> recover database;
Starting recover at 15-APR-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/15/2012 19:36:30
RMAN-06094: datafile 1 must be restored

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close