RE: RMAN need for alter system archive log all

2002-09-25 Thread Mercadante, Thomas F

Thanks for posting the results, Robert.

I like the new feature.  At least, I don't see how it hurts anyone.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 5:58 PM
To: Multiple recipients of list ORACLE-L


9i backup results. Note current log archived message.

Starting backup at 24-SEP-02
current log archived
channel TMSP_t1: starting archive log backupset
channel TMSP_t1: specifying archive log(s) in backup set
input archive log thread=1 sequence=110 recid=1 stamp=473438751
input archive log thread=1 sequence=111 recid=2 stamp=473438824
input archive log thread=1 sequence=112 recid=3 stamp=473444662
input archive log thread=1 sequence=113 recid=4 stamp=473444730
channel TMSP_t1: starting piece 1 at 24-SEP-02
released channel: TMSP_t1  

8i Results 

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: t1
RMAN-08500: channel t1: sid=21 devtype=SBT_TAPE
RMAN-08526: channel t1: VERITAS NetBackup for Oracle8 - Release 3.4GA
(030800)

RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08009: channel t1: starting archivelog backupset
RMAN-08502: set_count=133 set_stamp=473445972 creation_time=24-SEP-02
RMAN-08014: channel t1: specifying archivelog(s) in backup set
RMAN-08504: input archivelog thread=1 sequence=3039 recid=1 stamp=473445815
RMAN-08013: channel t1: piece 1 created
RMAN-08503: piece handle=45e3gdik_1_1 comment=API Version 2.0,MMS Version
3.2.0.
0
RMAN-08525: backup set complete, elapsed time: 00:01:36
RMAN-08031: released channel: t1

No sign of current log being archived, and it didn't show up in the
archivelog directory.
So, I'd say this is a 9i new feature. Interesting.

RF



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 3:54 PM
To: Multiple recipients of list ORACLE-L


Egads, I made a stupid misfire of the brain.
The current log IS switched during an archive log backup (i.e. BACKUP
ARCHIVELOG ALL). Sorry for the mistypo...

RF

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 2:35 PM
To: '[EMAIL PROTECTED]'


What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original 

Re: RMAN need for alter system archive log all

2002-09-24 Thread Ruth Gramolini

Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: RMAN need for alter system archive log all

2002-09-24 Thread DENNIS WILLIAMS

Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: RMAN need for alter system archive log all

2002-09-24 Thread Mercadante, Thomas F

Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services

RE: RMAN need for alter system archive log all

2002-09-24 Thread Freeman, Robert

Egads, I made a stupid misfire of the brain.
The current log IS switched during an archive log backup (i.e. BACKUP
ARCHIVELOG ALL). Sorry for the mistypo...

RF

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 2:35 PM
To: '[EMAIL PROTECTED]'


What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, 

RE: RMAN need for alter system archive log all

2002-09-24 Thread Mercadante, Thomas F

Robert,

Do you know - is this a new feature in 9i?

I don't see this happening in 8.1.7.

I think it's a good thing, however!

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 3:54 PM
To: Multiple recipients of list ORACLE-L


Egads, I made a stupid misfire of the brain.
The current log IS switched during an archive log backup (i.e. BACKUP
ARCHIVELOG ALL). Sorry for the mistypo...

RF

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 2:35 PM
To: '[EMAIL PROTECTED]'


What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed 

RE: RMAN need for alter system archive log all

2002-09-24 Thread Freeman, Robert

What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official 

RE: RMAN need for alter system archive log all

2002-09-24 Thread Freeman, Robert

H ya know, maybe it is a new feature in 9i. I went and tried it
because I was thinking that it did do the log switch, but I just wasn't 100%
sure... I did it in 9iR2 (backup archivelog all) and it does do the log
switch (it even says in the output, switching current log, and I also had
logfiles generated in the archive log destination. I was the only one on the
system, so I know it wasn't a chance switch.

Still, maybe in 8i it doesn't. I'll try it on 8i and see if it's different.

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 3:54 PM
To: Multiple recipients of list ORACLE-L


Egads, I made a stupid misfire of the brain.
The current log IS switched during an archive log backup (i.e. BACKUP
ARCHIVELOG ALL). Sorry for the mistypo...

RF

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 2:35 PM
To: '[EMAIL PROTECTED]'


What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and archivelog, on one tape and rman will know just
what he needs to recover a database.

Ruth
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 5:43 PM


List - I am wrapping up my RMAN procedures so I can turn off conventional
backups and still sleep at night. I am on Oracle 8.1.6. Does anyone know the
answer to this question: If I do an RMAN backup to disk, then copy the RMAN
backup pieces to tape, and copy the archive logs to tape, do I need to
execute an ALTER SYSTEM ARCHIVE LOG ALL before I copy the archive logs to
tape? This has been necessary for hot backups, but I can't recall this being
mentioned specifically for RMAN. I want to be able to recover the database
from the contents of the backup tape alone, and I noticed during my disaster
recovery tests that you definitely needed to have required archive logs
available.


Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
Please see the official 

RE: RMAN need for alter system archive log all

2002-09-24 Thread Freeman, Robert

9i backup results. Note current log archived message.

Starting backup at 24-SEP-02
current log archived
channel TMSP_t1: starting archive log backupset
channel TMSP_t1: specifying archive log(s) in backup set
input archive log thread=1 sequence=110 recid=1 stamp=473438751
input archive log thread=1 sequence=111 recid=2 stamp=473438824
input archive log thread=1 sequence=112 recid=3 stamp=473444662
input archive log thread=1 sequence=113 recid=4 stamp=473444730
channel TMSP_t1: starting piece 1 at 24-SEP-02
released channel: TMSP_t1  

8i Results 

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: t1
RMAN-08500: channel t1: sid=21 devtype=SBT_TAPE
RMAN-08526: channel t1: VERITAS NetBackup for Oracle8 - Release 3.4GA
(030800)

RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08009: channel t1: starting archivelog backupset
RMAN-08502: set_count=133 set_stamp=473445972 creation_time=24-SEP-02
RMAN-08014: channel t1: specifying archivelog(s) in backup set
RMAN-08504: input archivelog thread=1 sequence=3039 recid=1 stamp=473445815
RMAN-08013: channel t1: piece 1 created
RMAN-08503: piece handle=45e3gdik_1_1 comment=API Version 2.0,MMS Version
3.2.0.
0
RMAN-08525: backup set complete, elapsed time: 00:01:36
RMAN-08031: released channel: t1

No sign of current log being archived, and it didn't show up in the
archivelog directory.
So, I'd say this is a 9i new feature. Interesting.

RF



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 3:54 PM
To: Multiple recipients of list ORACLE-L


Egads, I made a stupid misfire of the brain.
The current log IS switched during an archive log backup (i.e. BACKUP
ARCHIVELOG ALL). Sorry for the mistypo...

RF

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 2:35 PM
To: '[EMAIL PROTECTED]'


What version of RMAN are you talking about. In the 9iR2 documentation for
RMAN is clearly states that during backups using the PLUS ARCHIVELOG
command, RMAN does force a log switch. 

When you do a backup using the PLUS ARCHIVELOG command RMAN will:

Run ALTER SYSTEM ARCHIVE LOG CURRENT 
Runs the BACKUP ARCHIVELOG ALL command. 
Backs up the files specified in the BACKUP command. 
Run ALTER SYSTEM ARCHIVE LOG CURRENT again.
Back up any remaining archived redo logs.  

A normal backup of archived redo logs such as BACKUP ARCHIVELOG ALL will not
result in a log switch. 



Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!


The avalanche has begun, It is too late for the pebbles to vote.



-Original Message-
Sent: Tuesday, September 24, 2002 1:59 PM
To: Multiple recipients of list ORACLE-L


Dennis,

I don't think that Rman automatically performs a SYSTEM ARCHIVE.  At least.
I've not seen it.

In my archive Rman database backups, I issue an 'alter system archive log
current' before I backup the archive files to make sure that I have the
latest archive I can possible get.

Unless I'm convinced that Rman is doing this for me, I have no reason to
change my procedures.

You could certainly include this command both within an Rman script or
elsewhere to make sure that you get the same benefit.

Hope this helps.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Tuesday, September 24, 2002 1:18 PM
To: Multiple recipients of list ORACLE-L


Ruth - At this point we just RMAN to disk. Someone on this list provided
that advice as start simple. I was using RMAN to store the archive logs,
but that just used up twice the disk space and I could discern no benefit so
I stopped it (always open to new reasons). On recovery, RMAN uses the
original archive logs just fine. I just want to make sure we have the right
archive logs on tape, and this morning I posted an update to my original
question, namely that I found where RMAN automatically issues an ALTER
SYSTEM ARCHIVE LOG CURRENT. I'm a little confused about the timestamp on the
archive logs, but I guess I just have to take it on faith that Oracle and
RMAN are doing the right thing.
  Thanks Ruth.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
Sent: Tuesday, September 24, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L


Rather than copy the archive logs to tape, do an archivelog backup using
rman.   Archive the current log when you start.  Then you can put all the
backupsets, database and