<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: backup database keep forever logs</title>
	<atom:link href="http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html</link>
	<description>Oracle Certified Master</description>
	<pubDate>Mon, 01 Dec 2008 19:19:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Vladimir Barac</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8204</link>
		<dc:creator>Vladimir Barac</dc:creator>
		<pubDate>Sun, 26 Oct 2008 16:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8204</guid>
		<description>Hi

I hope somebody will visit this page again.

Oracle 10.2.0.4, standard edition. It seems it is not possible to keep backupsets that contain archived logs? 

RMAN&#62; change backup tag KEEP_ME_PLEASE keep forever nologs;

using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of KEEP command at 10/26/2008 19:21:04
RMAN-06530: CHANGE ... KEEP not supported for backup set which contains archive logs</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I hope somebody will visit this page again.</p>
<p>Oracle 10.2.0.4, standard edition. It seems it is not possible to keep backupsets that contain archived logs? </p>
<p>RMAN&gt; change backup tag KEEP_ME_PLEASE keep forever nologs;</p>
<p>using channel ORA_DISK_1<br />
RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-03002: failure of KEEP command at 10/26/2008 19:21:04<br />
RMAN-06530: CHANGE &#8230; KEEP not supported for backup set which contains archive logs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8175</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Tue, 07 Oct 2008 16:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8175</guid>
		<description>@Philip,

I am fairly certain you need to be using a recovery catalog to use KEEP FOREVER.  I've read it in Oracle documentation, but cannot find it at the moment.</description>
		<content:encoded><![CDATA[<p>@Philip,</p>
<p>I am fairly certain you need to be using a recovery catalog to use KEEP FOREVER.  I&#8217;ve read it in Oracle documentation, but cannot find it at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Douglass</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8038</link>
		<dc:creator>Philip Douglass</dc:creator>
		<pubDate>Tue, 05 Aug 2008 21:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-8038</guid>
		<description>There must be something magical at the site you did this, because it most definitely does not work for me on 10.2.0.3 either:

&lt;code&gt;$rman target / nocatalog

Recovery Manager: Release 10.2.0.3.0 - Production on Tue Aug 5 21:37:22 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: ORASID (DBID=204994610)
using target database control file instead of recovery catalog

RMAN&#62;  backup archivelog all tag KEEP_ME_PLEASE;

Starting backup at 05-AUG-08
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=1023 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=1064 devtype=DISK
skipping archive log file /FRA/archivelog/2008_06_18/o1_mf_1_1378_y8JAYjEt_.arc; already backed up 1 time(s)
[...snipped...]
skipping archive log file /FRA/archivelog/2008_08_05/o1_mf_1_1411_z4nRigt3_.arc; already backed up 1 time(s)
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=1412 recid=1399 stamp=661988258
channel ORA_DISK_1: starting piece 1 at 05-AUG-08
channel ORA_DISK_1: finished piece 1 at 05-AUG-08
piece handle=/FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp tag=KEEP_ME_PLEASE comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 05-AUG-08

Starting Control File and SPFILE Autobackup at 05-AUG-08
piece handle=/FRA/autobackup/2008_08_05/o1_mf_s_661988261_z4nhkEYn_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 05-AUG-08

RMAN&#62; change backup tag KEEP_ME_PLEASE keep forever nologs;

using channel ORA_DISK_1
using channel ORA_DISK_2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of KEEP command at 08/05/2008 21:37:58
RMAN-06530: CHANGE ... KEEP not supported for backup set which contains archive logs

RMAN&#62; delete backup tag KEEP_ME_PLEASE;

using channel ORA_DISK_1
using channel ORA_DISK_2

List of Backup Pieces
BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
71      71      1   1   AVAILABLE   DISK        /FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp

Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=/FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp recid=71 stamp=661988260
Deleted 1 objects


RMAN&#62; quit


Recovery Manager complete.&lt;/code&gt;

My brief trip to the Backup and Recovery Advanced User's Guide seems to indicate that the only way to accomplish this is from the consistent mount state: &lt;a href="http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp009.htm#sthref701" rel="nofollow"&gt;Keeping a Long-Term Backup: Example&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>There must be something magical at the site you did this, because it most definitely does not work for me on 10.2.0.3 either:</p>
<p><pre><code>$rman target / nocatalog

Recovery Manager: Release 10.2.0.3.0 - Production on Tue Aug 5 21:37:22 2008

Copyright (c) 1982, 2005, Oracle.&nbsp;&nbsp;All rights reserved.

connected to target database: ORASID (DBID=204994610)
using target database control file instead of recovery catalog

RMAN&amp;gt;&nbsp;&nbsp;backup archivelog all tag KEEP_ME_PLEASE;

Starting backup at 05-AUG-08
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=1023 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=1064 devtype=DISK
skipping archive log file /FRA/archivelog/2008_06_18/o1_mf_1_1378_y8JAYjEt_.arc; already backed up 1 time(s)
[...snipped...]
skipping archive log file /FRA/archivelog/2008_08_05/o1_mf_1_1411_z4nRigt3_.arc; already backed up 1 time(s)
channel ORA_DISK_1: starting compressed archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=1412 recid=1399 stamp=661988258
channel ORA_DISK_1: starting piece 1 at 05-AUG-08
channel ORA_DISK_1: finished piece 1 at 05-AUG-08
piece handle=/FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp tag=KEEP_ME_PLEASE comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 05-AUG-08

Starting Control File and SPFILE Autobackup at 05-AUG-08
piece handle=/FRA/autobackup/2008_08_05/o1_mf_s_661988261_z4nhkEYn_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 05-AUG-08

RMAN&amp;gt; change backup tag KEEP_ME_PLEASE keep forever nologs;

using channel ORA_DISK_1
using channel ORA_DISK_2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of KEEP command at 08/05/2008 21:37:58
RMAN-06530: CHANGE ... KEEP not supported for backup set which contains archive logs

RMAN&amp;gt; delete backup tag KEEP_ME_PLEASE;

using channel ORA_DISK_1
using channel ORA_DISK_2

List of Backup Pieces
BP Key&nbsp;&nbsp;BS Key&nbsp;&nbsp;Pc# Cp# Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp; 1&nbsp;&nbsp; AVAILABLE&nbsp;&nbsp; DISK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp

Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=/FRA/backupset/2008_08_05/o1_mf_annnn_KEEP_ME_PLEASE_z4nhfQSB_.bkp recid=71 stamp=661988260
Deleted 1 objects

RMAN&amp;gt; quit

Recovery Manager complete.</code></pre></p>
<p>My brief trip to the Backup and Recovery Advanced User&#8217;s Guide seems to indicate that the only way to accomplish this is from the consistent mount state: <a href="http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp009.htm#sthref701" rel="nofollow">Keeping a Long-Term Backup: Example</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-5965</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Tue, 19 Feb 2008 07:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-5965</guid>
		<description>NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'

either OS variable or registry entry depending on your os</description>
		<content:encoded><![CDATA[<p>NLS_DATE_FORMAT=&#8217;YYYY-MM-DD HH24:MI:SS&#8217;</p>
<p>either OS variable or registry entry depending on your os</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ghyslain</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-5960</link>
		<dc:creator>Ghyslain</dc:creator>
		<pubDate>Mon, 18 Feb 2008 21:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-5960</guid>
		<description>Starting backup at 13.04.2007 13:58:04
How do you get RMAN to include the time ? (like you have)
I only get the date in "Starting backup at 13.04.2007" !...

Thank you,</description>
		<content:encoded><![CDATA[<p>Starting backup at 13.04.2007 13:58:04<br />
How do you get RMAN to include the time ? (like you have)<br />
I only get the date in &#8220;Starting backup at 13.04.2007&#8243; !&#8230;</p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-4174</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Thu, 28 Jun 2007 15:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-4174</guid>
		<description>Sorry, I do not know how to change the tag :-(</description>
		<content:encoded><![CDATA[<p>Sorry, I do not know how to change the tag <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-4168</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 27 Jun 2007 12:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-4168</guid>
		<description>No, I meant for a backup that is already completed.  Backups run nightly, and sometimes the next day, the proj mgr wants to keep the previous nights backup and rename it.</description>
		<content:encoded><![CDATA[<p>No, I meant for a backup that is already completed.  Backups run nightly, and sometimes the next day, the proj mgr wants to keep the previous nights backup and rename it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-3998</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Wed, 13 Jun 2007 16:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-3998</guid>
		<description>backup database tag BKUP_06132007_KEEP_30

?</description>
		<content:encoded><![CDATA[<p>backup database tag BKUP_06132007_KEEP_30</p>
<p>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-3996</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 13 Jun 2007 12:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-3996</guid>
		<description>Another quick question as I can't find the answer.  Anyway to change the actual tag name of the backup?  I.E. change TAG20070613T000231 to something like BKUP_06132007_KEEP_30?</description>
		<content:encoded><![CDATA[<p>Another quick question as I can&#8217;t find the answer.  Anyway to change the actual tag name of the backup?  I.E. change TAG20070613T000231 to something like BKUP_06132007_KEEP_30?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-2668</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Wed, 23 May 2007 17:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/04/backup-database-keep-forever-logs.html#comment-2668</guid>
		<description>something like

restore database until sequence 14 thread 1
recover database until sequence 14 thread 1

where 13 is your highest saved redo log.

should work</description>
		<content:encoded><![CDATA[<p>something like</p>
<p>restore database until sequence 14 thread 1<br />
recover database until sequence 14 thread 1</p>
<p>where 13 is your highest saved redo log.</p>
<p>should work</p>
]]></content:encoded>
	</item>
</channel>
</rss>
