|
Re: Archivelog Backup [message #636511 is a reply to message #636509] |
Mon, 27 April 2015 05:24 |
|
Michel Cadot
Messages: 68731 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Full cold or hot backup?
Do you want to restore only the backup or recover up to a specific time? (or to put it clearer, in case of disk failure, do you want to lose all transactions since the last backup or not?).
[Updated on: Mon, 27 April 2015 05:25] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Archivelog Backup [message #636580 is a reply to message #636579] |
Tue, 28 April 2015 09:12 |
gazzag
Messages: 1119 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
Recovery Manager: Release 11.2.0.2.0 - Production on Tue Apr 28 15:09:25 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /
connected to target database: XE (DBID=XXXXXXXXXX)
RMAN> backup archivelog delete all input;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "delete": expecting one of: "all, from, high, like, low, scn, sequence, time, until"
RMAN-01007: at line 1 column 19 file: standard input
RMAN>
RMAN> BACKUP ARCHIVELOG ALL DELETE INPUT;
Starting backup at 28-APR-15
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=10 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=1 RECID=3 STAMP=876484816
input archived log thread=1 sequence=2 RECID=4 STAMP=877683579
input archived log thread=1 sequence=3 RECID=5 STAMP=878223661
input archived log thread=1 sequence=4 RECID=6 STAMP=878224266
channel ORA_DISK_1: starting piece 1 at 28-APR-15
channel ORA_DISK_1: finished piece 1 at 28-APR-15
piece handle=C:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\BACKUPSET\2015_04_28\O1_MF_ANNNN_TAG20150428T151106_BMZ57TO2_.
BKP tag=TAG20150428T151106 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
channel ORA_DISK_1: deleting archived log(s)
archived log file name=C:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ARCHIVELOG\2015_04_08\O1_MF_1_1_BLB2KZYQ_.ARC RECID=
3 STAMP=876484816
archived log file name=C:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ARCHIVELOG\2015_04_22\O1_MF_1_2_BMGO7BVT_.ARC RECID=
4 STAMP=877683579
archived log file name=C:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ARCHIVELOG\2015_04_28\O1_MF_1_3_BMZ4NX0L_.ARC RECID=
5 STAMP=878223661
archived log file name=C:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ARCHIVELOG\2015_04_28\O1_MF_1_4_BMZ57SYW_.ARC RECID=
6 STAMP=878224266
Finished backup at 28-APR-15
RMAN>
[Updated on: Tue, 28 April 2015 09:13] Report message to a moderator
|
|
|