Catalog a backup set
Hi,
I have my backups on tape, backups of database and archived redo log files. Is it possible that if we could register existing backup sets on tapes to our catalog if these backups' record is missing from our control file (I have a scenario where i don't have backups entry in my control file and i am using controlfile as catalog).
Thanks
You cannot catalog backup sets if the backup sets are only on tape even with Oracle 11g:
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28273/rcmsynta008.htm#RCMRF109
Similar Messages
-
The DB version is 11.1.0.7.
The "CATALOG START WITH" not only catalog backup set that are not in the RMAN catalog, but also catalog a second copy for files that are already in the catalog.
Files are not a second copy; they are the same file in the same directory.
Having two copies in the catalog, through an error when deleting explicitly the backups.
We have to add the force clause to avoid the error.
RMAN> delete FORCE backup tag 'offsite-1';
The force clause ignores any I/O error.
The delete is part of our scheduled offsite backup script, which returns a false positive error when the force clause is ommited.
I don't want the force clause, in order to be notify if the backup set that are expected to be on disk are no more there, e.g., if someone had deleted files manually at the OS level bypassing rman.
Is there a way to only catalog backup set not in the catalog?
or May be remove the copy #2 entry from the catalog?
Find bellow a test case example:
RMAN> list backup summary TAG 'OFFSITE-1';
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
12 B F A DISK 11-JUN-13 09:41:45 1 1 NO OFFSITE-1
13 B F A DISK 11-JUN-13 09:43:31 1 1 NO OFFSITE-1
14 B A A DISK 11-JUN-13 09:43:33 1 1 NO OFFSITE-1
15 B F A DISK 11-JUN-13 09:43:34 1 1 NO OFFSITE-1
RMAN> CATALOG START WITH 'C:\backups\offsite_disk\IBISdatabase\scheduled_offsite';
searching for all files that match the pattern C:\backups\offsite_disk\IBISdatabase\scheduled_offsite
cataloging done
List of Cataloged Files
=======================
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\06OBTJEP_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\07OBTJI3_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\08OBTJI5_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\09OBTJI6_1_1
RMAN> list backup summary TAG 'OFFSITE-1';
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
12 B F A DISK 11-JUN-13 09:41:45 1 2 NO OFFSITE-1
13 B F A DISK 11-JUN-13 09:43:31 1 2 NO OFFSITE-1
14 B A A DISK 11-JUN-13 09:43:33 1 2 NO OFFSITE-1
15 B F A DISK 11-JUN-13 09:43:34 1 2 NO OFFSITE-1
RMAN> DELETE BACKUP TAG 'OFFSITE-1';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
24 18 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 <<--- same file
30 18 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 <<--- same file
25 19 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
31 19 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
26 20 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
32 20 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
27 21 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
33 21 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 RECID=24 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1 RECID=25 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1 RECID=26 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1 RECID=27 STAMP=821470357
Deleted 6 objects
RMAN-06207: WARNING: 4 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 C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1Hi JM,
Your demo with Oracle 10.2.0.5
At line 36 you answered "No" to "Do you really want to catalog the above files (enter YES or NO)?".
Just repeate your demo and answer Yes.
Even if he might have replied with "YES" then also, the RMAN search for the files which it can recognize as a valid rman backup file. Else it would show the list of files which are not recognized by RMAN as a valid file.
RMAN> catalog start with '/home/oracle/scripts';
using target database control file instead of recovery catalog
searching for all files that match the pattern /home/oracle/scripts
List of Files Unknown to the Database
=====================================
File Name: /home/oracle/scripts/RMAN_BACKUP.sh
File Name: /home/oracle/scripts/rman_clone.log
File Name: /home/oracle/scripts/Db_Refresh.sh
File Name: /home/oracle/scripts/rman_erp.scr
File Name: /home/oracle/scripts/RMAN_14FEB.log
File Name: /home/oracle/scripts/nid.sh
File Name: /home/oracle/scripts/Full_Clone.sh
File Name: /home/oracle/scripts/rman_staging.scr
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
no files cataloged
List of Files Which Where Not Cataloged
=======================================
File Name: /home/oracle/scripts/RMAN_BACKUP.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_clone.log
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/Db_Refresh.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_erp.scr
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/RMAN_14FEB.log
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/nid.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/Full_Clone.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_staging.scr
RMAN-07517: Reason: The file header is corrupted
About the RMAN catalog, it will not catalog the same file twice. It will only catalog the files which are not known to the database.
See this demo. (/backup/RMAN/STAGING/ is the location where all the backup pieces are.)
RMAN> catalog start with '/backup/RMAN/STAGING/';
searching for all files that match the pattern /backup/RMAN/STAGING/
no files found to be unknown to the database
This was the location based test, Another demo showing piece by piece catalogging .
RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1323 1321 1 1 AVAILABLE DISK /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
RMAN> catalog backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
cataloged backup piece
backup piece handle=/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00 RECID=1324 STAMP=821717283
RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1324 1321 1 1 AVAILABLE DISK /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
Hope its understandable, if any query please revert.
Happy to Help.
Thanks and Regards,
Prashant -
Duplicate an old RMAN backup set on Oracle 9.2.0.8 with no catalog
Version: 9.2.0.8. We don't use an RMAN catalog
Scenario: I need to duplicate a database to the same server with a different name so I can recover some old data. The restored backup set is about 20 days old
and my RMAN retention is 1 day.
Current date: 24 March 2011
I try
./rman target sys/syspassword@pasdbt9i auxiliary /
RMAN> duplicate target database to pastemp until time "to_date('04-MAR-2011 18:30:00','DD-MON-YYYY HH24:MI:SS')";
Starting Duplicate Db at 24-MAR-11
using target database controlfile instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=17 devtype=DI
.using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/24/2011 12:00:11
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 13 found to restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old.
If this is true, is there a way of telling the target database about this old backup set that I now want to duplicate?
From 10g onwards you can catalog a backup piece which might be the fix for this??
I've got round the problem by restoring the database to a different server, but would still like to know if the above is possible.
Can anyone offer any suggestions? thanks.Hi C3PO,
I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old?Correct the backupset metadata is nolonger available.
From 10g onwards you can catalog a backup piece which might be the fix for this??In 9i you can catalog image copies.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta11.htm#1005792
Can anyone offer any suggestions?Another option would be setup a catalog and change the retention policy to 30 days and add extra diskspace.
Regards,
Tycho -
Can not restore data files from backup set
I am trying to restore Server A's backup data to Server B (they are all oracle11g) using rman. The restore commands is below:
rman target /;
shutdown immediate;
startup nomount;
restore controlfile from '/usr/local/oracle/backup/20100418/ctl_xxx'
alter database mount;
catalog start with '/usr/local/oracle/backup/20100418/';
restore database;
recover database;
alter database open resetlogs;
For the first time, it works. But when i tried to restore another backup data by the same way:
rman target /;
shutdown immediate;
startup nomount;
restore controlfile from '/usr/local/oracle/backup/20100425/ctl_xxx'
alter database mount;
catalog start with '/usr/local/oracle/backup/20100425/';
restore database;
recover database;
alter database open resetlogs;
The second time, i found that rman restore the old backup data, which means that it restore the data file under '/usr/local/oracle/backup/20100418/' instead of '/usr/local/oracle/backup/20100425/'.
So I run 'list backup of database summary' to see the backup set lists in control file.
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
945 B 0 A DISK 25-APR-10 1 1 NO TAG20100425T020007
But when i run ‘restore database preview summary’ to see the backup set list to restore
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
there's no backup set 945 at all. that's why i could not restore data file under '/usr/local/oracle/backup/20100425/' at the second time.
So, why two backup list is different ? how can i restore datafile under '/usr/local/oracle/backup/20100425/' ?
My backup script is below:
run{
allocate channel c1 type disk;
backup incremental level 0 as backupset format '$DIR/`date +%Y%m%d`/data_%d_c0_%T_%u' database;
sql 'alter system archive log current';
backup archivelog from time 'sysdate-14' format '$DIR/`date +%Y%m%d`/log_%d_%T_%u';
backup current controlfile format '$DIR/`date +%Y%m%d`/ctl_%d_%T_%I_%u';
release channel c1;
Thanks
Edited by: user13055376 on 2010-4-29 上午1:20yeah, I am sure Tag: TAG20100425T020007 exists
RMAN> list backupset 945;
List of Backup Sets
BS Key Type LV Size Device Type Elapsed Time Completion Time
945 Incr 0 6.40G DISK 00:05:46 25-APR-10
BP Key: 945 Status: AVAILABLE Compressed: NO Tag: TAG20100425T020007
Piece Name: /usr/local/oracle/backup/20100425/data_QIANGL_c0_20100425_thlbvjt7
List of Datafiles in backup set 945
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/system01.dbf
2 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/sysaux01.dbf
3 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/undotbs01.dbf
4 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/users01.dbf
5 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/dict01.dbf
6 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/support01.dbf
7 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/supportindex01.dbf
8 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/log01.dbf
9 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/logindex01.dbf
10 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/lobindex01.dbf
11 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/data01.dbf
12 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/indexes01.dbf
13 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/image001.dbf
14 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/tongbuimage001.dbf
15 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/imagebackup001.dbf
My purpose is to use the newest backupset of Server A to update Server B. So if Server A crush, Server B will be useful. Is there any other way to do that ?
retention policy :'configure retention policy to redundancy 4'
And Server A do LV0 backup every 7 day, and do LV1 backup ervery other day.
Edited by: user13055376 on 2010-4-29 上午3:45 -
How to extract controlfile from backup set?
Hi
If I use this "INCLUDE CURRENT CONTROLFILE" in backup command direct to tape and no catalog, How to extract controlfile from backup set from tape?
Thanks,
Taohiko
Edited by: taohiko on Sep 17, 2009 7:54 AMyes
list backup of controlfile
will show you where controlfile backup piece reside with backup piece name
after then
restore controlfile from 'backup_piece_naem_with_its_full_path_from_above_command_result';Khurram -
Backup set in the tape. copied into disk. how to recover using RMAN
I have backup set in the tape. copied into disk. how to recover using RMAN
any link and steps pleaseIt should be something like the following, but really you should read and understand the rman documentation first ...
1. restore the controlfile
sqlplus / as sysdba
startup nomount
exit
rman
connect target /
restore controlfile from '/path to the controlfile backup piece';
exit
sqlplus / as sysdba
alter database mount
exit
2. catalog the backup pieces
rman
connect target /
catalog start with '/path to backup pieces';
3. restore the database
rman
connect target /
restore database
4. recover the database
rman
connect target /
recover database
5. open the database
sqlplus / as sysdba
alter database open resetlogs; -
Determine set until time from particular backup set
Hi Gurus,
First of all thank you for everybody reading my question.
I am using database control file instead of recovery catalog.
database 10gr2
10.2.0.3
os is suse linux
Is there way (any magic query)
you can determine sec part correctly for set until time looking backup set:
7544 B F A DISK 28-AUG-11 1 1 YES PROD_FULL_BKUP_08.28.2011
ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK;
#SET UNTIL SEQUENCE 10008 thread 1;
SET UNTIL TIME "TO_DATE('28-Aug-2011 03:40:32', 'dd-mon-YYYY hh24:mi:ss')";
DUPLICATE TARGET DATABASE TO "11demo"
I try hit and try for determining sec part.
is there a proven way.
'28-Aug-2011 03:40:31' worked
'28-Aug-2011 03:40:38' didn't
'28-Aug-2011 03:40:35' didn't.
1)
I look os time stamp set for backup.
-rw-r----- 1 oracle oinstall 9281626112 2011-08-28 03:40 o1_mf_nnndf_PROD_FULL_BKUP_08_75mxdb7v_.bkp
2) I add start time(03:00:00) +elapsed time.
channel ORA_DISK_1: backup set complete, elapsed time: 00:40:35
thanksI can get
" list backup of archivelog all"
BS Key Size Device Type Elapsed Time Completion Time
7576 1.51G DISK 00:05:04 02-SEP-11
BP Key: 7576 Status: AVAILABLE Compressed: YES Tag: ROD_ARC_09.02.2011
Piece Name: /u02/flash_recovery_area/ROD/backupset/2011_09_02/o1_mf_ annnn_ADVPROD_ARC_09.02.20_7616s3fm_.bkp
List of Archived Logs in backup set 7576
Thrd Seq Low SCN Low Time Next SCN Next Time
1 205824 3898563613 01-SEP-11 3898573074 01-SEP-11
you can get "SET UNTIL SEQUENCE thread "
correctly,
But How does one find out the exact time the backup was completed?
I simply used the timestamp from the Rman backup as an approximate indicator.
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: system01.dbf'
released channel: aux1
released channel: aux2
released channel: aux3
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/01/2011 12:53:48
RMAN-03015: error occurred in stored script Memory Script
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of log thread 1 seq 13891 lowscn 4013222506 found to restore
Edited by: 880674 on Sep 2, 2011 7:07 AM -
Clone database with backup sets from another server
Hi, I want to clone a database in Host A with a backup set stored in Host B.
My script in Host A (where i want the cloned DB to be created) is as follows:
ORACLE_SID=test8; export ORACLE_SID
rman target sys/XXX@OriginalDB_in_HostB catalog prodifs/prodifs@CatalogDB_in_HostB
connect auxiliary / ;
configure channel device type disk clear;
configure default device type to disk;
configure device type disk parallelism 3;
run{
set until scn 317776086;
set newname for datafile 1 to '/o2/oradata/test8/system01.dbf';
set newname for datafile 2 to '/o2/oradata/test8/undotbs01.dbf';
duplicate target database to test8
logfile
group 1 ('/o1/oradata/test8/redo0101.rdo','/o2/oradata/test8/redo0102.rdo') size 104858112,
group 2....;
How do I specify in this script that backup files to be restored are not saved in current Host (A) but in Host B? Is it something that i should edit in the "configure channel" sentence ?
A workaround for this is to copy all backup files from HostB to the same location in HostA but I would prefer to do it in a more elegant way. Thanks and regards,
LeandroHi,
You have to set DB_FILE_NAME_CONVERT or LOG_FILE_NAME_CONVERT parameters.
Duplicating a Database on a Remote Host with the Same Directory Structure
http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10734/rcmdupdb.htm#1006630
go through below link
http://dbataj.blogspot.com/2006/12/duplicating-database-with-recovery.html
hope this helps
regards
Taj -
I am restoring the production database to testing server. i have taken the cold backup of my catalog database and refreshed on development server so that i can have information about the production db in RMAN catalog db.
i have copied the backup sets ( level 0 ) of my production db to development server. backup set path is not identical as production. so When i try to recover in dev server i am getting error file not found. ( not able to find the backup piece ) since it is point to production backup set path.
how do i set or update the RMAN database about my testing server backup set path so that during the recovery rman reads from new location on the development.thank you.
I am facing problem while restoring the database.
i trying to restore from level 0 backup which we take daily basis. when i use the below command and while restoring one of the datafile referring the old backup set which is not available. i have valid backup sets taken yesterday. but rman refers the backup sets taken on day before yesterday.
i am using the following command.
rman << EOS
connect catalog rman/rman@PSMTRRCT
set dbid 4151495469;
connect target /;
startup nomount;
run {
allocate channel c1 type disk;
set until time "to_date('9/mar/2011 23:00','dd/mon/yyyy hh24:mi')";
restore controlfile;
restore database;
alter database mount;
exit
EOS
LEVEL 0 backup which i have was taken on 9 mar. but rman refers the 8 march backup set for one particular datafile. since i dont have that backup set. restore fails.
can you please help. -
How to list all available backup sets
Hi,
we are using Oracle 11gR2. there is an requirement to list all avilable backup sets through shell scripts, we have retention period of 15days.
below query gives me list of backup files but it was difficult to know which files was require for "catalog backuppiece"
DBMS_RCVMAN.SETDATABASE(null,null,null,1536975101,null);
SELECT PKEY,FNAME ,BS_COMPLETION_TIME
FROM RMAN.RC_BACKUP_FILES
where
file_type='PIECE'
AND
STATUS = 'AVAILABLE';Backup sets looks below on Disk. all files starting with *"db11g_c-"* are required for catalog backuppiece.
we like to know is there another better way to get this information. we want to list only those files required for cataloging.
-rw-r----- 1 oracle asmadmin 38M Sep 30 02:30 backup_ADB_DB_30092010_25lp5hle_1_1_69
-rw-r----- 1 oracle asmadmin 285M Sep 30 02:32 backup_ADB_DB_30092010_26lp5hm7_1_1_70
-rw-r----- 1 oracle asmadmin 145K Sep 30 02:32 backup_ADB_DB_30092010_27lp5hpr_1_1_71
-rw-r----- 1 oracle asmadmin 9.4M Sep 30 02:32 db11g_c-1536975101-20100930-00
-rw-r----- 1 oracle asmadmin 38M Oct 1 02:30 backup_ADB_DB_01102010_29lpaqdi_1_1_73
-rw-r----- 1 oracle asmadmin 286M Oct 1 02:32 backup_ADB_DB_01102010_2alpaqeb_1_1_74
-rw-r----- 1 oracle asmadmin 125K Oct 1 02:32 backup_ADB_DB_01102010_2blpaqi9_1_1_75
-rw-r----- 1 oracle asmadmin 9.4M Oct 1 02:32 db11g_c-1536975101-20101001-00
-rw-r----- 1 oracle asmadmin 38M Oct 2 02:30 backup_ADB_DB_02102010_2dlpdepj_1_1_77
-rw-r----- 1 oracle asmadmin 287M Oct 2 02:32 backup_ADB_DB_02102010_2elpdeqd_1_1_78
-rw-r----- 1 oracle asmadmin 169K Oct 2 02:32 backup_ADB_DB_02102010_2flpdeub_1_1_79
-rw-r----- 1 oracle asmadmin 9.4M Oct 2 02:32 db11g_c-1536975101-20101002-00
-rw-r----- 1 oracle asmadmin 48M Oct 3 02:30 backup_ADB_DB_03102010_2hlpg35h_1_1_81
-rw-r----- 1 oracle asmadmin 288M Oct 3 02:32 backup_ADB_DB_03102010_2ilpg36l_1_1_82
-rw-r----- 1 oracle asmadmin 123K Oct 3 02:32 backup_ADB_DB_03102010_2jlpg3aj_1_1_83
-rw-r----- 1 oracle asmadmin 9.4M Oct 3 02:32 db11g_c-1536975101-20101003-00
-rw-r----- 1 oracle asmadmin 48M Oct 4 02:30 backup_ADB_DB_04102010_2llpinhk_1_1_85
-rw-r----- 1 oracle asmadmin 290M Oct 4 02:32 backup_ADB_DB_04102010_2mlpinio_1_1_86
-rw-r----- 1 oracle asmadmin 177K Oct 4 02:32 backup_ADB_DB_04102010_2nlpinmc_1_1_87
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 02:32 db11g_c-1536975101-20101004-00
-rw-r----- 1 oracle asmadmin 2.9M Oct 4 05:26 backup_ADB_DB_04102010_2plpj1s3_1_1_89
-rw-r----- 1 oracle asmadmin 289M Oct 4 05:28 backup_ADB_DB_04102010_2qlpj1s4_1_1_90
-rw-r----- 1 oracle asmadmin 13K Oct 4 05:28 backup_ADB_DB_04102010_2rlpj1vp_1_1_91
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 05:28 db11g_c-1536975101-20101004-01
-rw-r----- 1 oracle asmadmin 7.0K Oct 4 05:29 backup_ADB_DB_04102010_2tlpj21q_1_1_93
-rw-r----- 1 oracle asmadmin 3.0K Oct 4 05:29 backup_ADB_DB_04102010_2vlpj223_1_1_95
-rw-r----- 1 oracle asmadmin 289M Oct 4 05:36 backup_ADB_DB_04102010_2ulpj21r_1_1_94
-rw-r----- 1 oracle asmadmin 150K Oct 4 05:37 backup_ADB_DB_04102010_31lpj2gv_1_1_97
-rw-r----- 1 oracle asmadmin 289M Oct 4 05:37 backup_ADB_DB_04102010_30lpj22h_1_1_96
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 05:37 db11g_c-1536975101-20101004-02
-rw-r----- 1 oracle asmadmin 8.0K Oct 4 05:37 backup_ADB_DB_04102010_33lpj2h7_1_1_99
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 05:38 db11g_c-1536975101-20101004-03
-rw-r----- 1 oracle asmadmin 2.8M Oct 4 08:00 backup_ADB_DB_04102010_36lpjase_1_1_102
-rw-r----- 1 oracle asmadmin 290M Oct 4 08:02 backup_ADB_DB_04102010_37lpjasi_1_1_103
-rw-r----- 1 oracle asmadmin 270K Oct 4 08:02 backup_ADB_DB_04102010_38lpjb0g_1_1_104
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 08:02 db11g_c-1536975101-20101004-04
-rw-r----- 1 oracle asmadmin 215K Oct 4 08:14 backup_ADB_DB_04102010_3alpjbnl_1_1_106
-rw-r----- 1 oracle asmadmin 291M Oct 4 08:16 backup_ADB_DB_04102010_3blpjbnm_1_1_107
-rw-r----- 1 oracle asmadmin 110K Oct 4 08:16 backup_ADB_DB_04102010_3clpjbrl_1_1_108
-rw-r----- 1 oracle asmadmin 9.4M Oct 4 08:16 db11g_c-1536975101-20101004-05
-rw-r----- 1 oracle asmadmin 34M Oct 5 02:30 backup_ADB_DB_05102010_3elplbtg_1_1_110
-rw-r----- 1 oracle asmadmin 291M Oct 5 02:32 backup_ADB_DB_05102010_3flplbu0_1_1_111
-rw-r----- 1 oracle asmadmin 27K Oct 5 02:32 backup_ADB_DB_05102010_3glplc1a_1_1_112
-rw-r----- 1 oracle asmadmin 9.4M Oct 5 02:32 db11g_c-1536975101-20101005-00
-rw-r----- 1 oracle asmadmin 33M Oct 6 02:30 backup_ADB_DB_06102010_3ilpo09f_1_1_114
-rw-r----- 1 oracle asmadmin 291M Oct 6 02:32 backup_ADB_DB_06102010_3jlpo09u_1_1_115
-rw-r----- 1 oracle asmadmin 22K Oct 6 02:32 backup_ADB_DB_06102010_3klpo0dt_1_1_116
-rw-r----- 1 oracle asmadmin 9.4M Oct 6 02:32 db11g_c-1536975101-20101006-00Edited by: Sachin B on Oct 6, 2010 2:50 AMi got the solution :)
EXEC DBMS_RCVMAN.SETDATABASE(null,null,null,1536975101,null);
SELECT PKEY,FNAME ,BS_COMPLETION_TIME
FROM RMAN.RC_BACKUP_FILES
where
file_type='PIECE'
AND
STATUS = 'AVAILABLE'
AND
BS_KEY IN
(SELECT BS_KEY FROM RC_BACKUP_SET where db_id='1536975101' AND CONTROLFILE_INCLUDED='BACKUP'); -
Mac mini refuses to recognize existing TM backup set
I just got my mac mini fixed with a new logic board, and I have it connected to a 250GB external FW drive. Time machine was running on a partition on the external drive quite happily since I bought it in November, but since getting it back from the repair, it refuses to recognize that there is an existing backup set on the drive. The hard drive is identical after the repair, machine name is identical, etc.
The machine name is "Wintermute" and there is an existing directory in Backups.backupdb - when I try to run a backup run, it creates a directory "Wintermute 2" and bails out with insufficient disk space (it's trying to do a full backup)
If I right-click Time Machine in the dock and select "Browse Other Time Machine disks" I can select the existing backup and it seems to be OK. However, I can't seem to continue adding to that backup set!
Any suggestions?Here are the contents of my backup volume if it helps at all:
bash-3.2$ ls -al
total 16
drwxrwxr-x 13 skye skye 510 Jan 18 09:32 .
drwxrwxrwt@ 5 root admin 170 Jan 18 10:50 ..
-r-------- 1 skye skye 16 Nov 3 17:03 .0016cbac0d11
-r-------- 1 root wheel 16 Jan 18 09:32 .0016cbac4103
-rw-rw-r--@ 1 skye skye 6148 Jan 18 09:48 .DS_Store
drwx------ 3 skye skye 102 Nov 3 16:57 .Spotlight-V100
drwxrwxrwt@ 3 skye skye 102 Nov 29 20:34 .TemporaryItems
d-wx-wx-wt 3 skye skye 102 Jan 18 10:50 .Trashes
-rw-r--r-- 1 skye skye 0 Nov 3 16:57 .com.apple.timemachine.supported
drwx------ 10 skye skye 340 Jan 18 10:50 .fseventsd
drwxr-xr-x+ 3 root skye 102 Jan 18 11:03 Backups.backupdb -
Hi,
Application guy deleted few rows.
So I am asked to do tablespace point time recovery in 11.2.0.3 on aix using old backup(two week before taken).
I would like to check how many backup set and piece name in a L0 backup.Is there any query?
Most of the V$backup_* views contains the following columns
RECID
STAMP
SET_STAMP
SET_COUNT
what is the use of it?
We taking backup in disk on production machine.We going to do TPIR on test machine.So that we moved particular backup set to tape.Os team changed TPO file settings.
While restoring control file,we got the following info.
channel t1: no autobackup in
Even we specified until time clause.
How to check what are the control file's and backup piece aviable in a tape?
Thanks.Try:
SPOOL LOG TO rman_bkp_ts.log
RUN {
SET UNTIL TIME 'trunc(sysdate)-14';
RESTORE TABLESPACE
ORCL_DATA, ORCL_INDEX, SYSAUX, SYSTEM, UNDOTBS1, USERS
PREVIEW;
}:p -
Retention Policy to delete both backup sets and archivelogs automatically
I configured the Recovery Window-Based Retention Policy for my database for the window=14 days. I also set up a crontab to do a full backup every Monday. So say in a month, there will be 30 archive logs and 4 full DB backup sets.
Now that I understand if the FRA gets filled up, older archive logs that are not needed for the 14 days recoverable window will be automatically deleted. My questions is what happen to the old backup sets? Will they get deleted automatically too if there is no space left in FRA? Or I need to use "DELETE OBSOLETE" to delete them?
Thanks.One of the advantages of the FRA is, in case of space pressure obsolete objects (obsolete due to the defined retention policy) are deleted automatically. That's true for backups and archivelogs. The objects are NOT deleted automatically after the retention policy expires, but only when additional space is needed. That does not mean you don't have to care about FRA space consumption. You may have unusual amounts of archivelogs, additional backups and flashback logs (if flashback database is configured), which fill up the FRA.
Werner -
I had an external drive failure and had to buy a brand new drive. I was able to restore my info onto a new drive, about 1.5 TB of data. When I go to launch time machine now with the new drive connected and my backup connected, it treats the new drive as if it had different data and wants to create a whole new backup set when it should just append. How do I get around this?
I could just reformat the backup drive and start fresh again but would rather not do that if I can avoid it, just in case there were errors in copying etc.Hi
I should have been more clear, sorry. I work from a laptop. I have 2 external drives - one for my projects which failed but has since been replaced and restored from a backup. My 2nd external drive is the time machine backup drive.
When my project drive crashed, I bought a brand new drive and restored it using my time machine backup drive.
Now the data exists on 2 drives - the time machine backup drive, and the new drive. When I connect the backup drive now, it thinks my new drive has new data, probably since it is a new device/drive, and wants to do a brand new backup, when in fact the data already exists on that very drive. It shouldn't have to back up all 1.5 TB when nothing has changed!
Unless there is a way to tell time machine to simply append to the old backup, I think it will try and do a new backup (1.5 TB). I'm thinking maybe I should just initialize my time machine backup drive now and start over so it is only one backup set of 1.5 TB instead of (2) sets of 1.5 TB! -
Restore from Time Capsule backup set
What is the procedure to recover the other paritions (multiple) which are backed up using time machine?
I am using Time capsule to maintain automated backups of my Macbook Pro. Backups to the Time capsule are performing correctly and I can see "pink" breakpoints when I enter time machine which means the backup sets are available on my time capsule. I have 3 partitions on my MBP hard drive and all these drives are included in backups to be done.
When I tried to recover my entire backup set to a new machine I was able to restore all the contents of my boot drive (mac os partition) but the data on other partitions is not recovered. I tried multiple times with different options to recover my data on other partitions but no success. What is the procedure to recover the other paritions which are backed up using time machine? Please refer the attachment to understand my partitions which are backed up but not restored?
I really need help on this matter as I need to streamline restore process in my organization using time capsule.
Thanks in advance.
Kind Regards,
Gurdev SinghMe.. oh no.. I would never be so foolish as to depend on TM to do any such things.
Look at another Pondini reference.
http://pondini.org/OSX/SetupOther.html
As you have discovered what looks like a simple restore turns out to be nighmarish.. that is the nature of TM.
Maybe you are looking for
-
I'm using a retina display MacBook Pro with the MagSafe 2 connection. I would like to have a portable external power source to extend the use of my laptop on long field trips where I am away from power sources. Swapping batteries is not an option f
-
Custom Search Portlet not getting the results as expected.
Hi All, I am using CustomSearchPortlet and I am having following problems. I created an itemtype IT with attributes A1,A2.Then I configured my custom search portlet to search based on A1,A2 attributes only. I have created 3 instances of items Item1,I
-
Synchronization; chromium (google-chrome) search configuration
does anyone know the configuration file for keyword searches (gui configuration is a context menu in the address bar) in chromium? i am trying this browser as an alternative to firefox which [despite its horrible resource usage] has robust syncroniz
-
In previous versions of Pages a logo can be put in the header or footer, in current version 5.01 this is not possible, or at least I cannot add a logo to the header. Any workaround would be welcome.
-
How to know detail P/N on Switch cisco ?
Dear all, I would like to ask you that how can i know detail P/N on switch WS-C2960-24PC-S I want to know detail what is PC-S and some swith LC-S Best Regards, Rechard