RMAN - backup on FRA and somewhere else
Hi allI would like to configure RMAN, so it would create two copies of backupset...
In the recovery area Flash (maintenance of the FRA nice, i.e. < file_name > F:\ora_fra\db_name\backupset\ directory structure) and the other to a custom domain (say I:\ora_bck\ < Filename >).
I tried on:
RMAN > 2 copies of backup of database format 'F:\ora_flash\%U', 'I:\ora_bck\%U ';
But this resulted in the creation of a file directly in F:\ora_flash (not in accordance with the FRA directory structure, so I don't really know if this file is or is not included in FRA)
If I do the following:
RMAN > backup database;
RMAN > run {}
2 > backup copies of the value = 2;
3 > backupset backup completed between ' sysdate-1' and 'sysdate' format 'I:\ora_bck\%U ';
{4 >}
To do this, what I expect of her (a good copy in FRA, second on I :), but I can even smell it is a terrible solution.)
Any ideas? (The requirement must perform full backup of the DB from time to time in 2 places - FRA and disk I :)
Thank you.
Adam
Unfortunately, two-sided printing is unusable during the creation of files in the flash recovery area. BACKUPSET BACKUP is an option, or you can just use a command of the o/s to copy, and then if necessary CATALOGUE files.
Tags: Database
Similar Questions
-
RMAN backup to tape and disk script
Hi all,
I'm looking for a script to backup on tape and disk using an RMAN command. There is that one parameter, I don't want to understand, I've seen evidence of. Backup of the Flash recovery area. I want to be able to do it from the location of the files. I want to back up the database complete, kitchen sink and everything.
Can anyone help?
General information.
Database 10 g 2, Grid Control 10.2.0.4, Linux RHEL4.6 Server. If you need more information please ask me.
Thank you all!This can be by setting up your backup channels,
Channel configuration
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/rcmconfg.htm#i1006906
-
Restore the RMAN backup on another server
Hello
ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to
Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.
My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.
I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:
Restore backup RMAN on another server
This thread contains very good example for a restoration of database on the file system.
I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.
If I get a copy of the part 3 RMAN backup, how would I copy on FRA?
OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?
Please advise!
Best regards
You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';
This thread will help
Restore from a different location from the original location of RMAN backup
-
RMAN backup recovery point in time
Hi all
Here's my rman backup script configuration and rman.
Because of size constraints I save my logs to archive by rman and delete.
I wanted to know if it was possible to go at a certain time using these archiving logs.
ex: -.
Racing script at 10:00 in the evening daily say it ran on March 1 and March 2, to 22:00, if I want to recover until 14:00 on March 2, will be March 2 backup enough or I'll need March 1 backup and archive logs until 14:00 for which I need to physcially archive backup logs daily , with rman.
RUN { ALLOCATE CHANNEL ch1 DEVICE TYPE DISK; ALLOCATE CHANNEL ch2 DEVICE TYPE DISK; ALLOCATE CHANNEL ch3 DEVICE TYPE DISK; BACKUP DATABASE INCLUDE CURRENT CONTROLFILE format 'G:\Oracle\flash_recovery_area\TEST\BACKUPSET\tmp\rman_backup\df_%d_%s_%p_%T'; DELETE NOPROMPT OBSOLETE; SQL "ALTER SYSTEM ARCHIVE LOG CURRENT"; BACKUP ARCHIVELOG ALL DELETE INPUT format 'G:\Oracle\flash_recovery_area\TEST\BACKUPSET\tmp\rman_backup\arc_%d_%s_%p_%T'; }
RMAN configuration parameters for database with db_unique_name TEST are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; 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 'G:\Oracle\flash _recovery_area\TEST\BACKUPSET\tmp\RMAN_BACKUP\CTL_%F'; CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE MAXSETSIZE TO UNLIMITED; # default CONFIGURE ENCRYPTION FOR DATABASE OFF; # default CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOA D TRUE ; # default CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABA SE\SNCFTEST.ORA'; # default
Hello;
RMAN> startup mount RMAN> restore database until time "to_date('02-MAR-2013 09:00:00', dd-mon-rrrr hh24:mi:ss')"; RMAN> recover database; RMAN> alter database open;
Best regards
mseberg
-
Error in the creation of the database of hot RMAN backup
Hello
I created the database at the time of the installation of Oracle software. Name AAA
Now I took hot RMAN backup of database and after the fall of database.
Now I want to restore the database again, but I am facing a problem.
as: if I want to connect RMAN, $rman target / it gives error
Recovery Manager: Release 10.2.0.1.0 - Production on Tue may 24 15:29:17 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00554: initialization of the package manager internal collection failed
RMAN-04005: target database error:
ORA-12560: TNS:protocol adapter error
Please help to get me out of this problem.
Regs,
BrijSee this topic and say if this can help
http://forums.Oracle.com/forums/thread.jspa?threadID=2190328&TSTART=90
-
Dear friends,
Seasonal greetings.
I use these commands to make my backup.
Can I use the .bkp?backup database tag "everyday_full_bkup" format='D:\Oracle_Backup\Database_Name\%I_%T.bkp';
This is the message I get when I run the above, receives the command.
Seeing this error, I removed the backup:Starting backup at 11-MAY-10 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00002 name=D:\ORACLE\DATA\MARSDB\UNDO_01.DBF input datafile fno=00001 name=D:\ORACLE\DATA\MARSDB\SYSTEM_01.DBF input datafile fno=00004 name=D:\ORACLE\DATA\MARSDB\DATA_01.ORA input datafile fno=00005 name=D:\ORACLE\DATA\MARSDB\INDEXES_01.ORA input datafile fno=00003 name=D:\ORACLE\DATA\MARSDB\SYSAUX_01.DBF input datafile fno=00006 name=D:\ORACLE\DATA\MARSDB\XXSMALLTABS_01.ORA channel ORA_DISK_1: starting piece 1 at 11-MAY-10 channel ORA_DISK_1: finished piece 1 at 11-MAY-10 piece handle=D:\ORACLE_BACKUP_DATA\MARSDB\1970380511_20100511 tag=EVERYDAY_FULL_BKUP comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset channel ORA_DISK_1: starting piece 1 at 11-MAY-10 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/11/2010 11:03:01 ORA-19504: failed to create file "D:\ORACLE_BACKUp\DatabaseName\1970380511_20100511" ORA-27038: created file already exists OSD-04010: <create> option specified, file already exists
n is based on the number that I see in the backup from the list.list backup; delete backup piece n;
Since then, I thought that set up channel might help, tried this but still getting the same error.
Want to clarify, if the channel set is only to set the path where is made the backup as well as the naming convention?RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'the path\%F.bkp'; BACKUP DATABASE tag "everyday_full_bkup";
Just to make sure that everything is fine, I checked
and all is well.crosscheck backup;
I even tried
and still the same error.rman> backup database;
Please throw some light on this. Please guide me. I'm desperate.
Thanking you in advance.
See you soon!
Nith
Published by: user645399 on May 11, 2010 11:00
Published by: user645399 on May 11, 2010 11:36
Published by: user645399 on May 11, 2010 11:53Hi.There occur error because you used format(for backup) is a mistake. Because used this format, rman cannot generate a unique name for each backupset. RMAN create the first backup set using this format, then want to also eponymous and the error occur (backupsets cannot be the same name). You can use %U this guarantees uniqueness in
generated backups.
See also
http://SS64.com/ora/rman_format_string.html -
Block Media Recovery and RMAN backup incremental level 1
Hello
I read somewhere that block Media Recovery will not work if a database is backed up with 1 incremental rman. Is this true and if so is there a work around?
I can't find it in the documentation of oralce.
Concerning
MeHello
Yes you are right, for the recovery block media, you must have full rman backup. Incremental backups are not used by block
media recovery. Only full backups and archived logs are used.See this doc on part III
http://download-UK.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm
concerning
Jafar
Published by: jerome on October 22, 2008 19:51
-
Import of schemas and tables of RMAN backup
Hi all
I have here are 3 requirements:
(1) is it possible that I can import a single table using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.
(2) is it possible that I can import a single SCHEMA using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.
(3) can I import a package from the RMAN backup?
I have incremental backup of level 1 and level 0.
My database is 11.2.0.3
Thank you and best regards,
Mukesh
Hi Mukesh,
All of your needs can be met with output up to 11g using RMAN database, but beyond of 12 c, you can restore a single table RMAN backup (RMAN BACK TABLE new feature to the 12 c (Doc ID 1521524.1) Oracle database). For your condition impdp/expdp is the best Utilities option until oracle provided up to version 11 g.
I hope this helps.
Kind regards
-
RMAN backup location must change and remove obsolete
Dear Experts,
I'm working on the following environment,
Operating system: Windows server 2012 R2
Oracle version: 11.2.0.1.0 release
Type of RMAN backup: Cumulative (preferred by the direction and I can't change it in differential backup)
My current situation,
I set up RMAN and H: drive for purposes of backup and G: for Archivelog.
Recently, my city was covered by the flood waters and the server works not for a week so that we delete obsolete level 0 does not work.
Currently there is not enough space to run a level 1 and level 0, while I should change the backup location.
My Question is,
(1) I need to change this location of drive H: to G: drive backup backup correctly without error not enough space.
(2) after having taken a level 1 and level 0, depending on my 1 redundancy, RMAN mechanism should delete obsolete backup disk without failure G: and H:.
Kindly help me how to get to my need. This will help me, thanks in advance
You can
1. replace the DB_RECOVERY_FILE_DEST G:
2 run backups
3. wait for the DELETE OBSOLETE delete obsolete backups of H:
and then
4. change the DB_RECOVERY_FILE_DEST return h as it was more early
In this way, you don't have to use the FORMAT or CHANNEL of CONFIGURE commands (I was referring to CONFIGURE CHANNEL, not ALLOCATE CHANNEL) to change the destination of the backup
Hemant K Collette
-
content managed rman backup crushing and selection procedure of the tape media
Hello Experts.
I have a question about the backupset rman tape media manage tape of the osb.
[ENV]
Exadata rman backup assistance OSB(version: 10.4.0.3.0) SL500 LTO5 4 Tape Drive with rman scripts and full backup is working well.
1 Appendix backup on OS crontab
-Each backup full day at 00:00 AM
2 rman view all:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using the control file of the target instead of recovery catalog database
RMAN settings for database with db_unique_name TESTDW are:
CONFIGURE RETENTION POLICY TO 3 DAY RECOVERY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
CONFIGURE THE TYPE OF DEFAULT DEVICE TO 'SBT_TAPE ';
SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 TYPE OF BACKUP BACKUPSET.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 rman backup scirpts
Run {}
allocate channels c01 type 'sbt_tape' connect 'sys/manager@testdw1';
allocate channel c02 type 'sbt_tape' connect 'sys/manager@testdw2';
allocate channel c03 type 'sbt_tape' connect 'sys/manager@testdw1';
allocate channels c04 type 'sbt_tape' connect 'sys/manager@testdw2';
Backup section size 900g database;
output channel c01;
output channel c02;
output channel c03;
output channel c04;
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1st quarter > after several weeks and I run the command as "#obtool u admin Pei welcome1 lsvol-L lib1.
and are used in many media of rman backup band (about 50EA media, perhaps 46EA are full and 4EA are appendble)
So, I issue the command 'lsvol - a - c' and could not display expired on all media content.
Why OSB no has not select and replace the tape media despite the rman rman default retention policy (3days) all show the setting.
Why OSB does not have the expired status of rman content on tape media?
-> I need the rman (delete expired, delete obsolete etc...) command to share the summary status of OSB and rman rman?
Q2 > selection procedure for the tape media all backup rman
Suppose the total number of tape media is 5EA. (1,2,3,4,5) with an available tape LTO5 drive.
Status: 1 (full-rman content already expired), 2 (content integral-rman not expired), 3 (editable, remaining space), 4 (new media), 5 (currnet wring media)
If OSB burn now 5 and reach at the end of the Strip and possibly another media, media to be selected by the OSB?
Advanced thanks.
If I place the order obsolete in the rman script as 'delete type 'SBT_TAPE' noprompt obsolete device;' the results will be the same as your
the syntax because rman default setting (CONFIGURE RETENTION POLICY to RECOVERY WINDOW OF 3 DAYS ;) has already been fixed on the command "Show all", right? @)
Yes.
I use the catalog of recovery on a different database and backup script has catalog db connection string.
And if I only use controlfile instead of recovery catalog to save the backup information and put in place "control_file_record_keep_time" a default of 7 days to 365 days, "remove obsolete" command to remove several weeks backupset works well, is it not?
Possible problem are existing backups for several weeks if you left default control_file_record_keep_time. Change now will not help unless you catalog later manually all the old pieces not catalogued on tape backup.
After you clean up the situation and particularly to remove obsolete in your script, rman, you will never make problems with control_file_record_keep_time from this moment. By default will do just fine because it is larger than your window of recovery.
Kind regards
Mitja
-
RMAN LEVEL BACKUP INCREMENTAL 0 AND 1 OF CUMULATIVE LEVEL
Dear friends
This is Eliza, I need some clarification, your suggestion will help me more...
Currently I am working in RMAN backup and restore, recovery and I need to take the extra SIZE 0 AND LEVEL 1 CUMULATIVE
I know something about what level rman incremental 0 and level 1 cumulative can do is, first I have to take the level 0 and then level 1 respectively.
As follows
SUNDAY: LEVEL 0 CUMULATIVE
MONDAY - SATURDAY: LEVEL 1 CUMULATIVE
SUNDAY: LEVEL 0 CUMULATIVE (repetition of this cycle)
MY QUESTION IS
Can I use after an order to take INCREMENTIELLE LEVEL 1 CUMULATIVE backup of,
CUMULATIVE DATABASE INCREMENTAL LEVEL 1; # has changed since the level 0 blocks
But, if I want to take CUMULATIVE INCREMENTAL level 0 BACKUP, that is me I want to use the following,
INCREMENTAL LEVEL 0 BACKUP CUMULATIVE BASIS;
(GOLD)
DATABASE INCREMENTAL LEVEL 0 BACKUP;
(GOLD)
Suggest me your valuable idea. Thanks in advance.
Hello
I think that this CUMULATIVE or incremental level 0 backup specification makes no sense so INCREMENTAL level 0 BACKUP database; = INCREMENTAL CUMULATIVE 0 DATA LEVEL;
-
RMAN backup and restore into Production KEEPS RAC and DATA
Hi gurus of the Oracle
We need the expert advice for tune and cross check the RMAN Script for Production environment below below
Please suggest any corrections or comments on below mention scripts which will be executed on RAC and Production DATA GUARD environment
LINUX RHEL 5.5 64-bit
ORACLE GRID Infrastructure R2 Version 11.2.0.3.0 (we use ASM Cluster File system)
ORACLE11g R2 Version 11.2.0.3.0
We planned for basically rman backup drive using control file target instead of recovery catalog database
We will have Data Guard Setup between 2 remote sites of database and two remote sites have running the local 2-node RAC database
=========================RMAN_Full_Backup.sh=========================================================================
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_backup_lvl0_orcldb_ %m %y hour %M %S %d ".log
# Start rman backup
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
run
{
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
include current controlfile
tag 'datafile_full ';
}
run
{
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
overlap archivelog all;
SQL 'alter system archive log current';
backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
tag 'archivelog_full ';
}
cross-checking of backup;
delete noprompt obsolete;
Save the list of database;
EXIT;
EXPRESSIONS OF FOLKLORE
==================================================================================================
=========================================RMAN_Inc_Backup.sh ===========================================
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_backup_lvl1_orcldb_ %m %y hour %M %S %d ".log
# Start rman backup
# use only the following line if this script is run via the root CRON
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
Run {}
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
include current controlfile
tag 'datafile_Incr ';
}
Run {}
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
overlap archivelog all;
SQL 'alter system archive log current';
backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
tag 'archivelog_full ';
}
cross-checking of backup;
delete noprompt obsolete;
backup from the list;
EXIT;
EXPRESSIONS OF FOLKLORE
-bash - $3.2
====================================================================================================
===================================RMAN_DB_Restore.sh====================================================
-bash-3, $ 2 cat /home/orarac/RMAN_Scripts/RMAN_DB_Restore.sh
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_restore_orcldb_ %m %y hour %M %S %d ".log
# use only the following line if this script is run via the root CRON
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
Run {}
BOOTABLE MEDIA FORCE;
RESTORE THE DATABASE;
RECOVER THE DATABASE;
ALTER DATABASE OPEN;
}
EXIT;
EXPRESSIONS OF FOLKLORE
====================================================================================================
Concerning
HitgonThank you mseberg
This command is the full backup or a backup of level 0?
full backup as compressed backupset
data include current controlfile more archivelog deletion entry;We use command below for the full backup of database.
database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
include current controlfile
tag 'datafile_full ';We use the command below to the increment backup
database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
include current controlfile
tag 'datafile_Incr ';What is the different when we use
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;or
full backup as backupset compressed database include controlfile current more archivelog delete all input;
Concerning
Hitgon -
RMAN backup and cross-checking script
Hello
I just joined a new company this week. As would any s/n, I was going just through the RMAN backup scripts used in the new environment.
Here we run weekly RMAN backup complete for some of the databases that I am responsible for managing. The script and schedules are as follows.
Every Sunday from 21:00, we organize a weekly job overlap
Connect target username/pwd@DBNAME
Connect catalog username/pwd@DBNAME
Run {}
CROSS-CHECKING OF BACKUP;
DUPLICATION OF COPY;
OVERLAP BACKUPSET;
OVERLAP ARCHIVELOG ALL;
DELETE NOPROMPT OBSOLETE;
}
Every Sunday from 9:30, we run the RMAN backup command which is
Connect target username/pwd@DBNAME
Connect catalog username/pwd@DBNAME
run
{
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
SQL 'alter system archive log current';
backup as backupset database include current controlfile;
SQL 'alter system archive log current';
ARCHIVELOG BACKUP of time ' SYSDATE-8';
DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE-15';
}
A database that I will handle has been set up just over a week before I join.
28 FEV 21:00 - no set of backup/copy/backup of overlap. I hope it will be cuts across all archive logs available in the database. No obsolete backup/copy/backup/archivelogs to remove.
28 FEV 21:30 - sets the retention policy at 7 days, full backup of database backup and backup all archivelogs (sysdate-8). No newspaper archive to remove the database was created (migrated) less than 15 days back.
7 March 21:00 - contre-vérifie the backupset (taking the 28 fev 21:30). No backup/copy of overlap.
Question 1: Is there a backup obsolete here to delete?
Own thought: Recovery window is 7 days. RMAN needs a backup in order to recover the database in any time-7 days to the present time (7 March 21:00 - 7 days = 28 fev 21:00). No obsolete backup to delete.
7 March 21:30 - full database backup and fails to save all logs archiving (sysdate-8). No space in the Flash recovery disk group. As the archivelog backup failed and RMAN complete, it has not removed the archivelogs ' sysdate-15'.
Backup is running again on 14 March. Of course, it will fail because there is no enough space in the Group of recovery disks.
Future: I'm confused
March 14, 21:00: contre-vérifie the backupset (supported March February 21:30). No backup/copy of overlap.
Question 2: How do I know what is here obsolete? From the window of 7 days recovery, 14 March 21:00-7 days is March 7, 21:00. Last backup was taken on March 7, 21:30.
To get back to 21:00, RMAN makes keep the backup of 28 March?... Does this mean whenever I'll have copies of backup 3?...
14 March 21:30 - backup database... Log Archive backup will fail because there is no space. (I think to make a compressed backup).
Question 3: How those wise commands?
ARCHIVELOG BACKUP of time ' SYSDATE-8';
DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE-15';
If I take a successful backup of the archivelogs sysdate-8, why I need to keep the archivelogs before that? What could be the reason the previous DBA kept DELETE ARCHIVELOG COMPLETED BEFORE ANY 'SYSDATE-15 '; Rather than give DELETE ARCHIVELOG FINISHED FIRST and FOREMOST ' SYSDATE-8 "?
Thanks in advance for your help.
Published by: user8907052 on March 11, 2010 12:10If your database to 9i and above, then you don't need to pass - sql 'alter system archive log current;' before you perform the backup as RMAN automatically archives the log during recovery.
-
Implications of losing the directory ArchivedLogs and RMAN backup.
DB version: 10 gr 2
We have a database of test that is important, since this is a pre-production DB used by the application for the final test team.
Currently this DB is not in Archivelog mode. Every night a cron job runs to create the dump of datapump expdp of patterns in this PB.
We want to test the RMAN backups online in this PB. So, let's put this db in ARCHIVELOG mode for a week.
The RMAN backup items will be stored in c++ / u03/data1/orabkp + and archived logs will be stored in c++ / u04 / directory ach_logs +.
We want to know the impact of/u04/ach_logs, the directory of archived newspapers getting accidentally deleted. I know that the accidental removal of the RMAN backup directory should not affect the normal operation of the database. But we want to know if the accidental deletion of archive redo logs directory will affect the DB.
Published by: user10633418 on 25 Sep, 2009 02:53NO, it will not affect the database. If you delete the files of the database archive logs will work normally. But you restore your database to the point in time. For recovery, you need your full backup of all data files + archivelogs online redo log files.
For a policy of backup of a production database where you won't lose any transaction that you must book your archive saves files of rman backup.
Concerning
Asif Kabir -
Where Thunderbird to save contacts and emails and can change somewhere else?
I am running Ubuntu LTS 14.04
Under Linux, it's ~/.thunderbird or ~ / .mozilla-thunderbird.
It is pretty simple to change the location of e-mail in a different directory (1), move the profile together somewhere else is a bit more effort (2).
Maybe you are looking for
-
has wanted to know how much it will cost me for an upgrade of RAM?
I own macbook pro md101. I wanted to improve my mac from 4 GB to 8 GB RAM. how much it will cost me the apple support in bangalore, India?
-
Tecra A9 - compatibility/AHCI in the BIOS mode
The Toshiba Tecra A9 seems to have a serious lack of implementation of the BIOS: it has an Intel ICH8 - M - SATA controller capable of running in Intels so-called "handset Mode" that allows it to act as a controller SATA AHCI, a normal IDE controller
-
HP iq 504: what SSD is compatible with my PC?
Hi, someone told me upgrade my HDD for SSDrive will boost the performance of my computer. I think of buying an SSD for my computer, I have an all in one computer HP IQ 504, its has been slow but still doesn't work and can work normally when optimzied
-
Can you tell me how to remove the registry HP Boot optimizer? Apparently, it is not compatible with Norton Security
-
HP Officejet 8040: guaranteed
1-) my printer can be out of warranty if I just purchased new today? 2-) why my printer can not find wireless access points when I actually have 3 at home. I have 2 separate routers.