EBS 11i RMAN backup
Hi all
EBS 11i
OEL 5
I have rman backup of our database of EBS.
I also have a single backup at oracle.
Assuming that no patches have been applied, is the one-time backup of oracle home + backup rman, good enough to restore the database to a server disaster recovery?
Can I still place adpreclone every day, for the rman backup to synchronize?
Adpreclone is used to capture changes to the patches applied, or adding database files? or both?
Please throw lights...
Thank you very much
JC
It is not possible to have several databases with the ORACLE_SID even on the same host.
The solution is that you have to put on separate hosts.
Tags: Oracle Applications
Similar Questions
-
Hello
We want only DB (not apps) cloning through PROD rman, step TEST EBS 11i using quick Clone without taking downtime of PROD (i.e. No. BKP COLD).
Source and target are on different servers, different file structure and the different database name.
Kindly let me know the detailed procedure?
Kind regards
RR
You can use this simple method that I am.
Take backup of production with rman:
{
overlap archivelog all;
backup format compressed backupset database tag PROD_FULLBKP ' / u10/PROD1_L0_BKUP_20131125/PROD_DB_set%s_piece%p_%T_%U' filesperset 15;
SQL 'alter database backup controlfile to trace. "
SQL 'alter system switch logfile;
SQL 'alter system switch logfile;
SQL 'alter system switch logfile;
overlap archivelog all;
backup as compressed backupset archivelog all delete input PROD_ARCHBKP format tag ' / u10//PROD1_L0_BKUP_20131125/ARCH_PROD_set%s_piece%p_%T_%U' filesperset 20;
backup format ' / u10/PROD1_L0_BKUP_20131125/PROD_ctl_%T_%U' current controlfile;
}
Move the backup on the test server:
SCP /ftp
Modify the pfile to the test server:
Parameters such as:
db_name
control_files
modify the pfile to match the location of the test server
Add this parameter
db_file_name_convert = ' / PROD_datafile_location/datafile ', ' / test_datafile_location / data ', ' / PROD_datafile_location/tempfile ', ' / test_datafile_location / data.
log_file_name_convert = ' / PROD_redofile_location/ONLINELOG ', ' / test_redofile_location / data ".
Start the DB:
Start the db in nomount:
startup nomount.
Connecting to rman and start to restore:
Auxiliary RMAN.
RMAN > run
{
allocate auxiliary channel a1 device type disk;
allocate auxiliary channels a2 device type disk;
allocate auxiliary channel a3 device type disk;
allocate auxiliary channel a4 device type disk;
data duplicated in the PREPRODUCTION backup location ' / u10/PREPRODUCTION/oraR12/clone_backup/PROD1_L0_BKUP_20131125 ";
}
OR
If you specify time/perform a recovery of time based, like below:
RMAN > run
{
allocate auxiliary channel a1 device type disk;
allocate auxiliary channels a2 device type disk;
allocate auxiliary channel a3 device type disk;
allocate auxiliary channel a4 device type disk;
data duplicated in PREPRODUCTION backup location 'LOCATION_OF_BACKUP', until ' TO_DATE (7 July 2012 09:45 ',' DD/MM/YYYY HH24:MI:SS') ";
}
Concerning
Karim
-
EBS cloning using hot RMAN backup
Hi hussein/helios,
EBS R12.0.6
Oracle 10g DB
I was cloning EBS using cold backup, which means that I stop the database and copy it.
Today, as I face a problem of cloning because I am not allowed to stop the database. This is my first time at this meeting.
I want to clone a PROD EBS customer, but he's working on a service 24 x 7, which means that I can not close easily.
I have a RMAN backup, full of Sundays and archive newspapers every day.
Can you give me the metalink notes where I can clone using a hot RMAN backup?
Thank you very much
MsKSalvation;
Now I'm here;
Let me share my experience with you
1. copy your ORACLE_HOME from source to the target
2 give her permission
3. restore your Db on your target with RMAN
4. use the ORACLE_HOME which are copied from the source to target
5. you must activate the automatic configuration on the new database, follow below* With the help of automatic configuration to manage system Configurations in Oracle E-Business Suite Release 12 [ID 387859.1] *.
Section 3: Patch 3.2 AutoConfig. Enabling AutoConfig on a new Oracle homeRespect of
HELIOS -
EBS R12: How to clone an RMAN backup online?
Hi hussein.
I saw before in this forum, how to copy a database from an RMAN backup.
The scenario is that I have a PROD on ProdServer instance.
I want to create a DEV instance clone on the same ProdServer server, by using the RMAN backup.
I want to clone the database only, this is just to check if my RMAN backup is restorable or legible or complete or etc.
But I can't find the notes. :(
Can you help me research it please?
Thank you very much
Ms. KHello
Documents rapid clone (including the "cloning Oracle Application 11i with rapid Clone /R12 - database (9i/10 g / 11 g) Using Hot Backup on the open database") are in (Note: 799735,1 - Rapid Clone library resources, version 11i and 12).
Thank you
Hussein -
Hello
I've done I have backup for EBS R12 with RMAN script with the following parameters:
and I have this 3 files as emergency exit.run { CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/mnt/EVA-DISK/RMAN/data/%F'; CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/mnt/EVA-DISK/RMAN/data/snapcf_PROD.f'; backup format '/mnt/EVA-DISK/RMAN/data/%d_LVL0_%T_%u_s%s_p%p' database; delete obsolete; }
These 3 files are complete? What else I need or miss in order to recover my database disaster.[root@orafin data]# ls -l /mnt/EVA-DISK/RMAN/data total 21089360 -rw-r----- 1 oraprod dba 31817728 Apr 11 18:10 c-94644369-20090411-00 -rw-r----- 1 oraprod dba 21510840320 Apr 11 18:10 PROD_LVL0_20090411_04kc7jd6_s4_p1 -rw-r----- 1 oraprod dba 31735808 Apr 11 18:10 snapcf_PROD.f
Thank you very muchHello
You need to check yourself. Restore the RMAN backup and verify that your backup is valid (I think you already have links to RMAN documentation is another thread).
Kind regards
Hussein -
Hi friends,
AIX 5 L platform
I'm my R11i EBS with RMAN database backup, but I got error.
rman target $ /.
Release of Recovery Manager: 9.2.0.6.0 - 64 bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: TEST (DBID = 1969797320)
RMAN > backup database;
From backup 10 December 08
using controlfile target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 39 devtype = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup to 2008-12-10 15:17:06 command
[ORA-00600: internal error code, arguments: [525], [0x70000001137DD50], [5], [cache library], [5], [0x700000000025BF0], [device information]]
ORA-27041: could not open the file
IBM AIX RISC System/6000 error: 25: not a typewriter
Additional information: 16
RMAN > exit
This file is opening here RMAN > ORA-27041: could not open the file
Thank you very muchPlease refer to the Note: 262997.1 - ORA-600 [525] / [510] and ORA-27041 when running RMAN backup on IBM AIX platform
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=262997.1 -
Hi all
EBS 11i
9.2.0.6
OEL5
We have a plan to upgrade the database to GR 11, 2.
We do the upgrade on another game of the new server to prod and let the original prod in its normal process so that we'll always have a backup in parallel or a fallback option.
Since the upgrade to the new prod server took longer due to a lot of patches, can we just export import data from the old server to the new server? just to refresh the data on our new updated Setup?
Thank you very much
MK
Please, do NOT post content of docs MOS, I believe that we have explained why many times!
You must upgrade to GR 11, 1 material before starting the export/import. If this approach is not acceptable, then you cannot use import/export.
Thank you
Hussein
-
Hot RMAN backup fails every time in R12.
Hi experts,
Please suggest me that I have to plan rman backup hot. I have "write" command to perform hot backup. When I take backup hot of 1st time the backup completed successfully. but when I run the same command resume backup for the second day. it is impossible to give space issue I havhot e calendar for daily use rman backup.
I had to take the backup hot daily and I want backup overwrite the backup file according to the daily backup.
Please suggest me what I need to make changes in the configuration of rman and the rman command.
OS - réhèl 5.6
Database - 11.1
EBS - r12.3
configuration of RMAN:
RMAN > show all.
Database with db_unique_name UAT RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / d06/UAT/rman_hot_backup/Backup_daily%d_DB_%u_%s_%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BZIP2 '; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / d06/UAT/db/tech_st/11.1.0/dbs/snapcf_UAT.f'; # by default
RMAN >##############################################################################################################
RMAN command that I used to make hot extra strength 0 cumulative backup.
RMAN > run
{
allocate channels c1 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
allocate channel c2 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
allocate channels c3 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
allocate channel c4 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
cumulative incremental database backup level 1 more archivelog;
output channel c1;
output channel c2.
output channel c3.
output channel c4.
}If something bad in the configuration of rman and my order please suggest me to take the backup hot every day with success.
concerning
pritesh Rodriguez
Hi Pritesh, thanks for the update. You can mark this thread as answered if your questions have been answered. cordially Karan
-
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
-
The user managed based backup Rman backup cold cold vs
Hi all
I just want to know the advantages and disadvantages for backup managed user cold and cold backup Rman.
What is the best cold backup?
Some some can help me?
Thank you
Cedric Joshi
Hello
Both are good only... If you took the clod backup (managed by the user), you can also do with RMAN catalog.
I feel clod RMAN backup is good.
Reason:
======
++ with RMAN you can avoid used used block, you can only backup used blocks
++ RMAN has its own compression algorithm
++ We also have the ability to assign multiple channels to parallelize the backup
-
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
-
Here's my question after tons of research and test without have the right solutions.
Target:
(1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".
(2) I created physical standby database "stbydb" on the server "node2".
(3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.
(4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)
(5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)
(6) I do RMAN backup (database and archivelog) on the site of relief only.
(7) I want to use this backup for full restore of the database on the primary database.
He is a DR test to simulate the scenario that has lost every primary & Eve total servers.
Here is how to save, on the database pending:
(1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files
(2) RMAN > backup database;
(3) RMAN > backup archivelog all;
I got elements of backup and copied to primary db Server something like:
/Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)
/Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)
/Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)
So here's how to restore, on the main site:
I clean all the files (data files, controlfiles oder all gone).
(1) restore spfile from pfile
RMAN > startup nomount
RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
(2) modify pfile to convert to db primary content. pFile shows below
*.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '
* .audit_trail = "db".
* full = '12.1.0.2.0'
*.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'
* .db_block_size = 8192
* .db_domain = "
*.db_file_name_convert='/testdb/','/testdb /'
* .db_name = "testdb".
* .db_recovery_file_dest ='/ orafra'
* .db_recovery_file_dest_size = 10737418240
* .db_unique_name = "testdb".
*.diagnostic_dest='/opt/Oracle/DB '
* .fal_server = "stbydb".
* .log_archive_config = 'dg_config = (testdb, stbydb)'
* .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"
* .log_archive_dest_state_2 = 'ENABLE '.
*.log_file_name_convert='/testdb/','/testdb /'
* .memory_target = 1800 m
* .open_cursors = 300
* runoff = 300
* .remote_login_passwordfile = "EXCLUSIVE."
* .standby_file_management = "AUTO".
* .undo_tablespace = "UNDOTBS1.
(3) restart db with updated file pfile
SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'
SQLPLUS > the judgment
SQLPLUS > startup nomount
(4) restore controlfile
RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
RMAN > change the editing of the database
(5) all elements of backup catalog
RMAN > catalog starts by ' / home/oracle/backupset / '.
(6) restore and recover the database
RMAN > restore database;
RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)
(7) open resetlogs
RMAN > alter database open resetlogs;
Everything seems perfect, except one of the file log roll forward pending is not generated
SQL > select * from v$ standby_log;
ERROR:
ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
no selected line
I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.
So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.
And I got the same missing log file.
The problem is:
(1) complete alert.log filled with this error, not the concern here
(2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."
(3) I can't delete and re-create this log file
Then I tried several and found:
The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.
For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 19 ACTIVE 133632
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
So until I take the backup, I tried on the primary database:
SQL > alter system set log_archive_dest_state_2 = delay;
This was the Group of standby_log side Eve #4 was released:
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 0 0 UNASSIGNED
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
Then, the backup has been restored correctly without missing standby logfile.
However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.
Finally, my real questions come:
(1) what I do may not do on parameter change?
(2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?
I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...
And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.
I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.
Your idea is very much appreciated.
Thank you!
Hello
1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.
2nd--> when we opened the ORL database should be deleted and created
3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.
DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;
THREAD # SEQUENCE # GROUP # STATUS
---------- ---------- ---------- ----------
1 233 4 ACTIVE
1 238 5 ACTIVE
DR sys@cdb01 SQL > select * from v$ logfile;
GROUP # STATUS TYPE MEMBER IS_ CON_ID
---------- ------- ------- ------------------------------ --- ----------
3 /u03/cdb01/cdb01/redo03.log no. 0 online
/U03/cdb01/cdb01/redo02.log no. 0 2 online
1 /u03/cdb01/cdb01/redo01.log no. 0 online
4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0
/U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory
DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log
DR sys@cdb01 SQL > alter database force claire logfile 4;
change the database group claire logfile 4
*
ERROR on line 1:
ORA-01156: recovery or current flashback may need access to files
DR sys@cdb01 SQL > alter database recover managed standby database cancel;
Database altered.
DR sys@cdb01 SQL > change the database group claire logfile 4;
Database altered.
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log
DR sys@cdb01 SQL >
If you do, you can recreate the controlfile without waiting for redo log entry...
If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".
Thank you
-
Hi all
EBS 11i
32-bit 9i
Is there a major change if I update our Database 9i 32 bit to 64 bit?
I want to say is easy or difficult?
Thank you very much
JC
I believe that you asked this question several times in recent years
-
Hi all;
RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";
new RMAN configuration settings:
CONFIGURE the CHANNEL 1 DEVICE TYPE DISK FORMAT ' / u01/rmanbkp ";
new RMAN configuration settings are stored successfully
output channel: ORA_DISK_1
RMAN > list backup;
specification does not match the backups in the repository
RMAN > backup database tag = "NORMAL_BKP_15_jul_15";
From 25 July 15 backup
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 20 type of device = DISK
channel ORA_DISK_1: from complete compressed datafile backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = 00005 name=/u03/app/oracle/oradata/crms/tbs02.dbf
Enter a number of file datafile = 00001 name=/u02/app/oracle/oradata/crms/system01.dbf
Enter a number of file datafile = name=/u01/crmsx4.dbf 00024
channel ORA_DISK_1: starting piece 1 to July 25, 15
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 25/07/2015 10:30:26
ORA-19504: cannot create the file ' / u01/rmanbkp.
ORA-27038: created file already exists
Additional information: 1
There is no file physically in/u01/rmanbkp
DB version: 11.2.0.1 on (Redaht)
RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";
Specify format with extension, something like below
RMAN > set up the channel 1 device type disk format ' / u01/rmanbkp/backup%U';
http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsubcl010.htm
-
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
Maybe you are looking for
-
iTunes will not update past version 12.2.1.16
I downloaded the update to 12.3.2 on App store and iTunes itself will not update. When I check on the App Store, it is said that the update has already been installed. It's really annoying because my iPhone cannot be used when connected to my laptop
-
I updated my pc by the following statement several times. For some reason any Service 4.0 Service Pack 2 does not work. My system is repeatlly told me that the same update is necessary again and again. Pls help Initializing installation... done! Inst
-
Windows could not load the kernel mode driver service
How can I fix the service of kernel mode driver
-
Security Essentials, cohabiting with the Defender
Now that I have installed Security Essentials (it's up & running), Windows Defender will remain dormant in the background, or what I need to uninstall?
-
How can I stop someone from piggy back on my system
my roommate is the piggyback off my system and is causing my computer run slowly and sometimes not at all when he's on. He has a laptop and it works from there. my system is downstaires. I have a Belkin Wireless network that I use for my netflix on m