RMAN :: Backup And Delete Single Archivelog?

Dec 14, 2012

May I know what is the command for rman to backup and delete single archive log?

View 15 Replies


ADVERTISEMENT

RMAN :: Delete Archivelog Backupsets Automatically

Aug 30, 2012

I have a standby database in which I am backing up my database from. I also backup my archivelogs on my primary site as well as the control file. My issue is that I cannot find the correct RMAN command that will allow me to delete the actual backupsets from disk after say 7 days.

I know how to delete automatically the actual archivelog files, but not how to only have 7 days of archivelog backupsets available at any one given time.

View 3 Replies View Related

Recovery Manager (RMAN) :: How To Delete All Archivelog Backups Of The Day

Sep 3, 2013

Oracle 10gR2 on 64-bit RHEL.Backup Strategy:There will be a level-0 backup of the database every Sunday and level-1 every weekday.Archivelogs will be backed up up every 30 minutes. 

Q: How can I delete ALL the archivelog backups that were taken that day (every 30 minutes) right after successful completion of level-0 or level-1 backup?

I want to delete them because they may not be of any use after the level-0 or level-1 backup (am I right)? 

View 7 Replies View Related

Data Guard :: RMAN Refuses To Delete Old Archivelog

Apr 10, 2013

We have two Windows 2008 VMs with Oracle 11G configured as primary and standby.This configuration has been defined by a partner who is no longer working for us.We have broken the correct application of the redo log on the standby when we have not correctly restored some snapshots on those two VMs.I would like to create a new Oracle server that will become the new standby. For that, I need too :

- Display the full dataguard configuration to reproduce it on the new server
- Stop (delete ?) the configuration on the primary server.

We also have the current problem that RMAN refuses to delete old archivelog since they have not been applied to the standby.

View 3 Replies View Related

RMAN :: Failed To Backup Because Archivelog Destination Was Out Of Space

Dec 16, 2012

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================

RMAN-03009: failure of backup command on t1 channel at 12/15/2012 06:15:11
RMAN-10015: error compiling PL/SQL program
RMAN-10033: error during compilation of job step 2: ORA-00603: ORACLE server session terminated by fatal error
ORA-04030: out of process memory when trying to allocate 400 bytes (PL/SQL DIANA,LISIMA: Add cells)

We received the above error message after the following event:

rman failed to backup because archivelog destination was out of space

We moved SOME of the archivelog file manually using operating system command mv to another location so that our application can run first.When the engineers restarted the rman to backup, we receive the above error.

View 7 Replies View Related

Backup & Recovery :: RMAN - Archivelog Deletion Policy Not Working?

Oct 4, 2012

I'm on a Windows server 2003 R2 64 bit, database is 11.1.0.7. From RMAN connected to the target and the catalog, this is a show all;

RMAN> show all;

RMAN configuration parameters for database with db_unique_name ORCL are:

CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:oracleadmin

[code]....

I'm running incremental backups, a level 0 on sunday and a level 1 the other days of the week, this is the ctl file:

LEVEL 0:
connect target /@ORCL
connect catalog rman/rmanpw@rmancat
RUN
{

[code]....

The level 0 does delete the archive logs (because of the delete input). Each backupset has two copies of the archive logs (which is what I want), and I expected the logs to be deleted after being backed up 2 days (each day is twice, 2 days = 4 times). But it's not deleting the logs, even after 6 runs.

View 4 Replies View Related

Recovery Manager (RMAN) :: Error While Run Backup Plus Archivelog To Tape

Jan 3, 2013

am trying to run rman backup plus archivelog TO tape disk my rman configuration settings are as seen below

RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
[code].....

get the following error when i do this,
RMAN-03009: failure of backup command on C3 channel at 01/03/2013 11:33:45
ORA-00600: internal error code, arguments: [ksfdfetch1], [], [], [], [], [], [],

View 1 Replies View Related

Backup & Recovery :: RMAN Script Delete The Backup Pieces Older Than 2 Days

Jan 8, 2013

Is this script is enough to delete the backup pieces older than 2 days.

CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
configure device type disk parallelism 1 backup type to compressed backupset;

run
{
allocate channel d1 type disk ;
backup filesperset 5 format '/u06/backup/EBSDEV/EBSDEV_data_t%t_s%s_p%p' database ;
sql 'alter system archive log current' ;
backup filesperset 20 format '/u06/backup/EBSDV3/EBSDV3_arch_t%t_s%s_p%p' archivelog all delete input ;

[Code]....

View 1 Replies View Related

Backup & Recovery :: Delete Obsolete Backup From RMAN?

Jul 17, 2013

Environment: 2 Node Oracle(10.2.0.4.0) RAC on Aix 6.1.

Backups using RMAN utility.Our system is configured to take backups on Tape library using TSM server.

We take incremental level 1 backup on all days and Level 0 backup on Wednesday.We would like to keep the RMAN retention period of 14 days.I delete the backups that are 7 days old from the disk to save space and 14 days older backup from Tape.

I am getting below error in my RMAN backup logfiles.Also attached

RMAN-06207: WARNING: 147 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------

The configuration of RMAN is:

RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;

[code].....

How to avoid this error ? Can we set "Retention period" as 14 days in RMAN level and delete the backups in disk which is older than 7 days?Should the deletion of tape backup be handled in TSM level ?

View 1 Replies View Related

Backup & Recovery :: How To Delete Obsolete (RMAN)

Aug 8, 2007

I am working on Oracle 10g Rel 2. I am unable to delete the OBSOLETE from rman

previously my senior use to take backup on remote m/c.

While giving the command

rman>delete obsolete

RMAN-06207: WARNING: 228 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece \192.168.1.162BACKUPFINPRODDB_T619092194_S12_P1
RMAN-06214: Backup Piece \192.168.1.162BACKUPFINPRODDB_T619093015_S13_P1

View 14 Replies View Related

RMAN :: Delete Backup And Complete Job Details

May 21, 2013

I deleted all my RMAN backup with delete backup command .but when i run query on v$rman_backup_job_details, show information, i don't know that v$rman_backup_job_details read data from where? and how to delete complete that v$rman_backup_job_details don't show any thing?

View 8 Replies View Related

Backup & Recovery :: Delete Obsolete Backups Using RMAN

Jul 4, 2011

I have a problem in running delete obsolete or report obsolete using rman. Although the retention policy is set to "CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 60 DAYS;", when running delete obsolete or report obsolete it deletes or returns all the backupsets till sysdate. What should I do to solve this issue?

View 8 Replies View Related

RMAN :: Backup Just A Single Table Partition?

Jan 23, 2013

we are using oracle 11.2.0.3 on linux platform and was wanting to know if there is a way to backup just a single table partition using rman? If so does the database need to be running in archivelog mode in order to do this with the database online?

This is a database that has one single huge table that is partitioned by day and we are attempting to export out daily partitions using datapump export so that we can archive them to tape but the disk system we have is not able to keep up and the export of roughly 128gb is taking over 8 hours and is failing because the undo is aging out. We would like to bypass writing the partitions out to disk and just stream them to tape if at all possible?

View 5 Replies View Related

Data Guard :: RMAN Archive Log Backup With Delete Input Command

Mar 17, 2012

I have following query in Dataguard ..

If I want to take Rman archive log backup with delete input command , how the archive logs will be copied to standby database

For eg

I am taking archive backup as

RMAN>backup archivelog all delete input;

here consider few archives are not copied to standby database (due to nw issue) then how standby will receives these missing archives as those are deleted by rman backup at primary side.

I am not getting any document related to above query.

View 7 Replies View Related

Data Guard :: How To Delete Archivelog In Standby Database When Applied Successfully

Aug 20, 2008

How to make the automatic deletion of all the archivelogs when it is applied successfully on the standby database? We have 1 primary database and 1 standby database using oracle physical dataguard.

In the primary database, we have daily backup job so that the applied archivelogs are deleted automatically, no problem

But in the standby database ( physical standby) I have to go there and delete manually because I don't issue backup on this database. Is there any solution for this problem.

View 3 Replies View Related

Backup & Recovery :: Hot Backup In No Archivelog Mode

May 9, 2011

if I could execute the 'ALTER DATABASE BEGIN/END BACKUP' while in NOARCHIVELOG MODE.

View 6 Replies View Related

RMAN :: How To Do Archivelog Dump

Sep 13, 2012

how can I do an archivelog dump?

View 3 Replies View Related

RMAN No ArchiveLog Error

Nov 25, 2010

I have been trying to do a once off backup of an oracle database. I have followed instructions to do standard backups and when actually running the RMAN backup I got a ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode.

No problem: I read that you need to execute the following commands in RMAN to ensure a clean shutdown/startup of the database to get past this problem: run {shutdown immediate;startup mount, etc } ...problem is - this code shuts down the database and then I cannot restart it using startup mount as it starts with this TNS listener errors. So I have restart through services but then I get the NOARCHIVELOG error cropping up again.

I'm getting quite frustrated with this. I don't need an archive/redo log - I just need the current state (snapshot) of the database with all the datafiles / procedures/functions in it...a once off - but I can't seem to get this working.

View 2 Replies View Related

RMAN :: Archivelog Restore

Feb 21, 2013

i have changed the log_archive_dest_1 to another drive (suppose D ) than Oracle installed disk

created tables in scott ,
alter system switch logfile;

so archive log was der in the new destination i delete that archivelog from D and pasted to drive E ( cut paste ) start rman , crosschecked archivelogs Now , i want to tell Rman that recover that archivelog from E and then recover

10.2.0
win 7

View 5 Replies View Related

RMAN :: 11g Archivelog Backups Not Going Obsolete?

Mar 11, 2013

We have EM (Cloud 12c) initiated scheduled backup jobs that perform (all below are online backups, obviously archivelog mode)

- level 0 Incremental 3AM on Sunday - with options backup all archive logs, delete input, delete obsolete

- level 1 Incremental (non cumulative) 3AM every other day - same options

Recovery window is set to 3 days, other options below:

CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;

[code]....

Everything appears to be working normally (archive logs are being backed up and once they are the archive logs themselves are being deleted from the FRA), but I'm having some trouble understanding the behavior of the delete obsolete.

With a recovery window of 3 days, on Monday at 11AM my expectation would be that I would find in backups the following:

- level 0s from day before (Sunday) and the previous Sunday (8 days prior)

- all level 1s from previous Sunday on (so Mon-Sat and this morning)

- archivelog backups from Friday until this morning

What I'm not understanding is that I'm seeing archivelog backups from last Monday, Tuesday, etc. - i would have thought these would have gone obsolete based on my recovery window, yet when I run report obsolete in RMAN nothing is showing up.

View 16 Replies View Related

RMAN :: Clone 2 Node RAC Database To Single Instance Non-RAC Database Using Existing Backup

Jul 25, 2012

I tried to clone a 2 node rac database to single instance non rac database using existing backup. I have not used connectivity to target or catalog. rman duplicate finished with below messages:

rman auxiliary sys/******@dbracdup
RMAN> duplicate database to dbrac spfile backup location '/oracle/backup';
...
...
Finished recover at 25-JUL-12
Segmentation fault

And the database was in mount stage, and when i tried to open database it failed with below error:

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-19838: Cannot use this control file to open database .

View 4 Replies View Related

Archivelog - Recover Database Using Backup

Apr 2, 2013

i have one question regarding archivelog and backup if i take just backup excluding archivelogs like = RMAN>backup database; (not plus archivelog ) now when even i recover database using backup , will it also recover changes that was in archives?

View 7 Replies View Related

Backup & Recovery :: Database Hang Due To ArchiveLog Full

Jun 4, 2013

Just now my database is hang due to the archivelog full. I try to use RMAN to delete the expired one and free space but encounter the error:

RMAN>crosscheck archivelog all;
archive log filename=/geodata/oraclelog/archive_log/ORAGF45/archivelog/2013_06_04/o1_mf_1_1444_8tsxvwc2_.arc recid=1350 stamp=817182450
validation succeeded for archived log
archive log filename=/geodata/oraclelog/archive_log/ORAGF45/archivelog/2013_06_04/o1_mf_1_1445_8ttx2q6j_.arc recid=1351 stamp=817214416
[code].......

So I try to back it up first by using the below command:

RMAN> backup archivelog all;

Starting backup at 04-JUN-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
[code]......

I know that I have to extend the db_recovery_file_dest directory for "limit exceed" error but how can I safely delete the archivelog in order to bring up the database?

View 3 Replies View Related

Backup & Recovery :: User Name To Connect For Archivelog After Migration

Jul 22, 2012

I have migrated my database to oracle and while migration i have followed all instructions and migrated to oracle.the connection and user having my tables and all object is

con name: orcltestcon user: orcltestuser and password: orcltestuser.

I want to turn on ARCHIVELOG Mode ON.

1) Is it good practice to turn on archivelog. also tel me cases where it is good.
2) to turn on ARCHIVELOG , with which command i should connect.

1) CONNECT SYS/<password> AS SYSDBA;
or
2) CONNECT orcltestuser/orcletestuser AS SYSDBA.

View 1 Replies View Related

Backup & Recovery :: SCN Based Backup Do RMAN Generate Backup From Archivelogs

Oct 18, 2012

understanding rman scn based Backup Algorithm .. In SCN based backup do rman generate backup from archivelogs ???

View 1 Replies View Related

Secure Backup :: Possible To Un-delete Expired Backup Pieces?

Jan 16, 2013

Is it possible to un-delete the deleted backup pieces, then catalog them to RMAN?

ob> lsvol contents vid GENERIC-000138
VOID OOID Seq Volume ID Barcode Family Created Attributes
533 533 28 GENERIC-000138 PCC204L2 GENERIC 2010/11/12 never closes; content manages reuse
BSOID File Sect Level Host Size Created Attributes
4254 277 2 0 oraserv 14.8 GB 2012/03/31 deleted
4255 278 1 0 oraserv 57.7 GB 2012/03/31 deleted
4256 279 1 0 oraserv 54.2 GB 2012/03/31 deleted
4257 280 1 0 oraserv 62.3 GB 2012/03/31 deleted

View 2 Replies View Related

Backup & Recovery :: 2 Separate RMAN Backup One Backup Is Of Only Datafile

Jan 24, 2011

I have 2 seperate rman backup one backup is of only datafile ,spfile and controlfile which i am able to restore and recover without any problem say bkp1 taken at 10 am

other set of backup is of only archive log files of same day but later time than datafile backup say bkp2 taken at 8pm...if i restore and recover bkp1 and try to restore bkp2 it gives error datafile exist (possibly due to fact both backup have control file)

if i just restore bkp1 and try to restore bkp2 so that i can do one recover at time
it gives error datafile permission issue (possibly due to fact both backup have control file)

I want to restore database upto 8pm time how can i use both bkp1 and bkp2 to do it(restore datafiles and apply all archive logs on it)

View 17 Replies View Related

SQL & PL/SQL :: How To Write Single WITH For A Update And Delete

Mar 13, 2012

Can I achieve the merge (update-only) and delete in a single SQL statement?

merge into table_4
using
(select table_3.col1 col1,table_3.col2 col2,
from table_1, table_2, table_3
where
[code].....

delete from table_3 where <records identified in the 'using' clause of above merge>;

i.e.

delete from table_3
where (table_3.col1,table_3.col2)
in ( select table_3.col1,table_3.col2,
from table_1, table_2, table_3
where
join conditions.....
other conditions ....
group by table_3.col1, col1,table_3.col2
having count(*) >1 );

What I want is roughly as following :

WITH mywith as ( select table_3.col1,table_3.col2,
from table_1, table_2, table_3
where
join conditions.....
other conditions ....
group by table_3.col1, col1,table_3.col2
having count(*) >1 )
update table_4 set col3='N' where table_4.col1=mywith.col1 and table_4.col2=mywith.col2
delete from table_3 where table_3.col1=mywith.col1 and table_3.col2=mywith.col2;

View 5 Replies View Related

Backup & Recovery :: ORA-00265 / Instance Recovery Required - Cannot Set ARCHIVELOG Mode

May 28, 2008

I need to make my database to ARCHIVELOG mode when i try it it gives below following error

SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode

View 9 Replies View Related

Forms :: Delete Detail Block Single Record

Apr 22, 2010

My form consist two datablock cust_mstr,cust_dtls, each customer code consists two or three contact details records, when i delete the single detail record instead of deleting single record it deletes all the details records from cust_detail table.

Here by i attaching my form for your reference pls find the code in delete button

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved