10g | RMAN | Daily backups in case files
Hi guys
RMAN > show all.
using the control file of the target instead of recovery catalog database
RMAN configuration parameters are:
CONFIGURE REDUNDANCY 3 RETENTION STRATEGY;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK to 'D:\oracle\rman\backup\%F ';
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE the FORMAT of DISC TYPE CHANNEL DEVICE "D:\oracle\rman\backup\%U";
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SNCFSCT. ORA'; # by default
RMAN >
The foregoing describes RMAN configuration, I've done with the installation of 10g in my laptop for learning purposes. Now, how can I make sure that every day the backup is created in case files as below mentioned few
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_21
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_22
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_23
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_24
My backups used to get created under individual records until I changed the type of RMAN channel with "CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\oracle\rman\backup\%U';' "
Please suggest.
Thanks in advance
rthampi wrote:
Hi guys
RMAN > show all.
using the control file of the target instead of recovery catalog database
RMAN configuration parameters are:
CONFIGURE REDUNDANCY 3 RETENTION STRATEGY;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK to 'D:\oracle\rman\backup\%F ';
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE the FORMAT of DISC TYPE CHANNEL DEVICE "D:\oracle\rman\backup\%U";
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SNCFSCT. ORA'; # by default
RMAN >
The foregoing describes RMAN configuration, I've done with the installation of 10g in my laptop for learning purposes. Now, how can I make sure that every day the backup is created in case files as below mentioned few
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_21
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_22
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_23
D:\oracle\product\10.2.0\flash_recovery_area\SCT\BACKUPSET\2015_11_24
My backups to be created under individual records until I changed the type of RMAN channel with ' CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\oracle\rman\backup\%U ';
Please suggest.
Thanks in advance
These 'individual files' report to the FRA. What you need to do is allow rman use the FIU, which it wants to do by default. Then clear your default settings trying to name/place your backups differently.
Tags: Database
Similar Questions
-
RMAN-05556: not all data files have backups can be picked up at SNA
Dear all,
By RMAN cloning in 11.2.0.3 database with ebs 11i.
We get below error.
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 03/07/2015 15:36:20
RMAN-05501: abandonment of duplicate target database
RMAN-05556: not all data files have backups can be recovered on SNA 15901715
991
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06100: no channel to restore a backup or a copy of the data file 94
RMAN-06100: no channel to restore a backup or a copy of the data file 93
RMAN-06100: no channel to restore a backup or a copy of the data file 92
RMAN-06100: no channel to restore a backup or a copy of the data file 91
RMAN-06100: no channel to restore a backup or a copy of the data file 90
RMAN-06100: no channel to restore a backup or a copy of the data file 89
RMAN-06100: no channel to restore a backup or a copy of the data file 88
RMAN-06100: no channel to restore a backup or a copy of the data file 87
RMAN-06100: no channel to restore a backup or a copy of the data file 86
RMAN-06100: no channel to restore a backup or a copy of the data file 85
RMAN-06100: no channel to restore a backup or a copy of the data file 84
RMAN-06100: no channel to restore a backup or a copy of the data file 83
RMAN-06100: no channel to restore a backup or a copy of the data file 82
RMAN-06100: no channel to restore a backup or a copy of the data file 81
RMAN-06100: no channel to restore a backup or a copy of the data file 80
RMAN-06100: no channel to restore a backup or a copy of the data file 79
RMAN-06100: no channel to restore a backup or a copy of the data file 78
RMAN-06100: no channel to restore a backup or a copy of the data file 77
RMAN-06100: no channel to restore a backup or a copy of the data file 76
RMAN-06100: no channel to restore a backup or a copy of the data file 75
RMAN-06100: no channel to restore a backup or a copy of the data file 74
RMAN-06100: no channel to restore a backup or a copy of the data file 73
RMAN-06100: no channel to restore a backup or a copy of the data file 72
RMAN-06100: no channel to restore a backup or a copy of the data file 71
RMAN-06100: no channel to restore a backup or a copy of the data file 70
RMAN-06100: no channel to restore a backup or a copy of the data file 69
RMAN-06100: no channel to restore a backup or a copy of the data file 68
RMAN-06100: no channel to restore a backup or a copy of the data file 67
RMAN-06100: no channel to restore a backup or a copy of the data file 66
RMAN-06100: no channel to restore a backup or a copy of the data file 65
RMAN-06100: no channel to restore a backup or a copy of the data file 64
RMAN-06100: no channel to restore a backup or a copy of the data file 63
RMAN-06100: no channel to restore a backup or a copy of the data file 62
RMAN-06100: no channel to restore a backup or a copy of the data file 61
RMAN-06100: no channel to restore a backup or a copy of the data file 60
RMAN-06100: no channel to restore a backup or a copy of the data file 59
RMAN-06100: no channel to restore a backup or a copy of the data file 58
RMAN-06100: no channel to restore a backup or a copy of the data file 57
RMAN-06100: no channel to restore a backup or a copy of the data file 56
RMAN-06100: no channel to restore a backup or a copy of the data file 55
RMAN-06100: no channel to restore a backup or a copy of the data file 54
RMAN-06100: no channel to restore a backup or a copy of the data file 53
RMAN-06100: no channel to restore a backup or a copy of the data file 52
RMAN-06100: no channel to restore a backup or a copy of the data file 51
RMAN-06100: no channel to restore a backup or a copy of the data file 50
RMAN-06100: no channel to restore a backup or a copy of the data file 49
RMAN-06100: no channel to restore a backup or a copy of the data file 48
RMAN-06100: no channel to restore a backup or a copy of the data file 47
RMAN-06100: no channel to restore a backup or a copy of the data file 46
RMAN-06100: no channel to restore a backup or a copy of the data file 45
RMAN-06100: no channel to restore a backup or a copy of the data file 44
RMAN-06100: no channel to restore a backup or a copy of the data file 43
RMAN-06100: no channel to restore a backup or a copy of the data file 42
RMAN-06100: no channel to restore a backup or a copy of the data file 41
RMAN-06100: no channel to restore a backup or a copy of the data file 40
RMAN-06100: no channel to restore a backup or a copy of the data file 39
RMAN-06100: no channel to restore a backup or a copy of the data file 38
RMAN-06100: no channel to restore a backup or a copy of the data file 37
RMAN-06100: no channel to restore a backup or a copy of the data file 36
RMAN-06100: no channel to restore a backup or a copy of the data file 35
RMAN-06100: no channel to restore a backup or a copy of the data file 34
RMAN-06100: no channel to restore a backup or a copy of the data file 33
RMAN-06100: no channel to restore a backup or a copy of the data file 32
RMAN-06100: no channel to restore a backup or a copy of the data file 31
RMAN-06100: no channel to restore a backup or a copy of the data file 30
RMAN-06100: no channel to restore a backup or a copy of the data file 29
RMAN-06100: no channel to restore a backup or a copy of the data file 28
RMAN-06100: no channel to restore a backup or a copy of the data file 27
RMAN-06100: no channel to restore a backup or a copy of the data file 26
RMAN-06100: no channel to restore a backup or a copy of the data file 25
RMAN-06100: no channel to restore a backup or a copy of the data file 24
RMAN-06100: no channel to restore a backup or a copy of the data file 23
RMAN-06100: no channel to restore a backup or a copy of the data file 22
RMAN-06100: no channel to restore a backup or a copy of the data file 21
RMAN-06100: no channel to restore a backup or a copy of the data file 20
RMAN-06100: no channel to restore a backup or a copy of the data file 19
RMAN-06100: no channel to restore a backup or a copy of the data file 18
RMAN-06100: no channel to restore a backup or a copy of the data file 17
RMAN-06100: no channel to restore a backup or a copy of the data file 16
RMAN-06100: no channel to restore a backup or a copy of the data file 15
RMAN-06100: no channel to restore a backup or a copy of the data file 14
RMAN-06100: no channel to restore a backup or a copy of the data file 13
RMAN-06100: no channel to restore a backup or a copy of the data file 12
RMAN-06100: no channel to restore a backup or a copy of the data file 11
RMAN-06100: no channel to restore a backup or a copy of the data file 10
RMAN-06100: no channel to restore a backup or a copy of the data file 9
RMAN-06100: no channel to restore a backup or a copy of the data file 8
RMAN-06100: no channel to restore a backup or a copy of the data file 7
RMAN-06100: no channel to restore a backup or a copy of the data file 6
RMAN-06100: no channel to restore a backup or a copy of the data file 5
RMAN-06100: no channel to restore a backup or a copy of the data file 4
RMAN-06100: no channel to restore a backup or a copy of the data file 3
RMAN-06100: no channel to restore a backup or a copy of the data file 2
RMAN-06100: no channel to restore a backup or a copy of the data file 1
Concerning
Villi Kumar
Dear all,
Solution:
Location of the data file is not correct that we are mentioned in the file (init.ora) settings.
Change the location of data file settings.
Test the issue again.
Concerning
Villi Kumar
-
Backup of the file pfile with RMAN
Dear all,
How can we save pfile with RMAN? Please don't tell using this SQL > create spfile from pfile; then RMAN > backup spfile;
Can we directly files pfile and password backup with RMAN?
Thank youRMAN backup impossible pfile but only spfile. RMAN cannot backup password files. See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup001.htm#sthref280
Edited by: P. Forstmann on April 2, 2009 08:53
-
I have a drive mapped to a Server 2008 all the hours his loses drive mapping and the backups in case of failure
I get the error message is could not reconnect account currently disabled mapped drive .so I remap the disk with the same user name and password and it reconnects
* original title - Networking file sharing file sharing file sharing file sharing Fileshare discovery network shares mapped shared part readers *.
Hi SCS PCs
I would recommend checking the Microsoft TechNet community. Please visit the link below to find community which will support ask you in the right direction for the linked domain questions.
http://social.technet.Microsoft.com/forums/en-us/winservergen/threads
I hope this helps.
-
The backup icon is suddenly missing from the system tray, but he always does daily backups as expected. He used to have a daily splash screen when opening to the top of my pc and appear in the startup.
Thank you
Lydia
Hi Lydia,.
Thanks for posting the question in the Microsoft Community!
The backup icon is missing from the system tray and you would not get the backup to the starting screen.
To help you better, we need more information.
You use any third-party backup program?
I suggest you to check if the option for the backup program is disabled in the list of startup items.
To do:
a. Click Start, type msconfig and press enter
b. now click on the Startup tab
now see if the option for the backup program is enabled.
You can also perform a virus scan.
Visit the site:
Microsoft safety scanner
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
I hope this helps. If you need assistance or if you have problems of Windows in the future, let us know and we would be happy to help you.
-
Problem with the archive log when you use RMAN for backup and restore (11g 2)
Hello world
Please help me solve this problem.
I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
-First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}
D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}Repeat 7 times (Monday-> Saturday). And I got these files:
[oracle@rac ~]$ ls -l /u01/backup/
total 400280
-rw-r----- 1 oracle oinstall 10158080 Jan 20 07:23 c-1428943247-20160120-01
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:04 c-1428943247-20160120-02
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:05 c-1428943247-20160120-03
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:06 c-1428943247-20160120-04
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-05
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-06
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:09 c-1428943247-20160120-07
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:32 c-1428943247-20160120-08
-rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
-rw-r----- 1 oracle oinstall 2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
-rw-r----- 1 oracle oinstall 4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
-rw-r----- 1 oracle oinstall 11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
-rw-r----- 1 oracle oinstall 146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
-rw-r----- 1 oracle oinstall 884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
-rw-r----- 1 oracle oinstall 82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
-rw-r----- 1 oracle oinstall 294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
-rw-r----- 1 oracle oinstall 18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
-rw-r----- 1 oracle oinstall 155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
-rw-r----- 1 oracle oinstall 131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
-rw-r----- 1 oracle oinstall 647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
-rw-r----- 1 oracle oinstall 8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
-rw-r----- 1 oracle oinstall 2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
-rw-r----- 1 oracle oinstall 1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
-rw-r----- 1 oracle oinstall 327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1And
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
80 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
81 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
82 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
83 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
84 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
85 B F A DISK 20-JAN-16 1 1 NO TAG20160120T072332
86 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
87 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
88 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
89 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080440
90 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
91 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
92 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
93 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080545
94 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
95 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
96 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
97 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080657
98 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
99 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
100 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
101 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080801
102 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
103 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
104 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
105 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080844
106 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
107 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
108 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INCMy configuration of rman:
RMAN> show all;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/backup/backup_df%t_s%s_s%p';
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 LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default- Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
Starting restore at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=20 device type=DISK
channel ORA_DISK_2: skipped, AUTOBACKUP already found
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
output file name=/u01/app/oracle/oradata/orcl/control01.ctl
output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
Finished restore at 20-JAN-16
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
released channel: ORA_DISK_2
RMAN> restore database;
Starting restore at 20-JAN-16
Starting implicit crosscheck backup at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=18 device type=DISK
Crosschecked 29 objects
Finished implicit crosscheck backup at 20-JAN-16
Starting implicit crosscheck copy at 20-JAN-16
using channel ORA_DISK_1
using channel ORA_DISK_2
Finished implicit crosscheck copy at 20-JAN-16
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
using channel ORA_DISK_2
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
Finished restore at 20-JAN-16-Fourth, the problem here, I got the database;
.. .every oky until this line...starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=15
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/20/2016 08:50:22RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841
The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
82 2.16M DISK 00:00:00 20-JAN-16
BP Key: 82 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1
List of Archived Logs in backup set 82
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1154833 20-JAN-16 1177422 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
83 3.88M DISK 00:00:00 20-JAN-16
BP Key: 83 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1
List of Archived Logs in backup set 83
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1162729 20-JAN-16 1188784 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
84 10.68M DISK 00:00:01 20-JAN-16
BP Key: 84 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1
List of Archived Logs in backup set 84
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 2 1177422 20-JAN-16 1201833 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
88 1.81M DISK 00:00:01 20-JAN-16
BP Key: 88 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1
List of Archived Logs in backup set 88
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 3 1201833 20-JAN-16 1204844 20-JAN-16
1 4 1204844 20-JAN-16 1204893 20-JAN-16
1 5 1204893 20-JAN-16 1204958 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
92 143.00K DISK 00:00:00 20-JAN-16
BP Key: 92 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1
List of Archived Logs in backup set 92
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 6 1204958 20-JAN-16 1205034 20-JAN-16
1 7 1205034 20-JAN-16 1205253 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
96 80.00K DISK 00:00:00 20-JAN-16
BP Key: 96 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1
List of Archived Logs in backup set 96
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 8 1205253 20-JAN-16 1205354 20-JAN-16
1 9 1205354 20-JAN-16 1205433 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
100 18.00K DISK 00:00:00 20-JAN-16
BP Key: 100 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1
List of Archived Logs in backup set 100
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 10 1205433 20-JAN-16 1205519 20-JAN-16
1 11 1205519 20-JAN-16 1205559 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
104 128.00K DISK 00:00:00 20-JAN-16
BP Key: 104 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1
List of Archived Logs in backup set 104
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 12 1205559 20-JAN-16 1205624 20-JAN-16
1 13 1205624 20-JAN-16 1205739 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
108 8.00K DISK 00:00:00 20-JAN-16
BP Key: 108 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1
List of Archived Logs in backup set 108
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 14 1205739 20-JAN-16 1205796 20-JAN-16
1 15 1205796 20-JAN-16 1205840 20-JAN-16
If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.Sorry for a long post.
> 1 and from the 1205841 SNA sequence
The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).
The message
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 sequence = 15
channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading
channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC
indicates that he has restored the sequence up to 15
You can check the log file alert database instance for messages on the fact of recovery.
He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.
Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve. An uncomitted transaction is cancelled.
Hemant K Collette
-
Oracle 12 c with RMAN database backup
Hi All-
I started back to the top of one of my PDB using utility RMAN following the instructions on the link below.
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/12C/R1/PDB/pdb_pitr/pdb_pitr.html
--Connect to Oracle RMAN. rman> Connect target / --Set the Oracle RMAN backup device type and backup file location. rman> configure channel device type disk format '/stage/db_backup_files/cdb1/%U'; --Turn on automatic backup of control files. rman> configure controlfile autobackup on; --Back up the database and archive logs. rman>backup database plus archivelog; rman> exit
Back to the top has been done successfully, but when I started with the recovery process he gave me error reporting collection.
Run {set until what SNA = 2263440; restore database connectable to pdb2; retrieve auxiliary destination of the pluggable database pdb2 = "/ stage/db_backup_files/cdb1 '; alter connectable database to pdb2 ;} open resetlogs}
This is the track to RMAN
Recovery Manager: release 12.1.0.2.0 - Production on sat 22 Aug 12:22:44 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target /.
connected to target database: RELIABLE (DBID = 1028507357)
RMAN > run {}
2 > ALTER DATABASE connectable to MultiPlay NARROW;
3 > set up what SNA = 14899894;
4 > restore database pluggable MultiPlay;
5 > restore database pluggable MultiPlay;
6 > alter database connectable to MultiPlay open resetlogs;
{7 >}
using the control file of the target instead of recovery catalog database
Statement processed
executing command: SET until clause
From restoration to 22 August 15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 22 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00035 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSTEM01. DBF
channel ORA_DISK_1: restore datafile 00036 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSAUX01. DBF
channel ORA_DISK_1: restore datafile 00037 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\MULTIPLAY_USERS01. DBF
channel ORA_DISK_1: backup E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150 piece reading
822T115328_BXJ5C182_. BKP
channel ORA_DISK_1: piece handle = E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150822T115328_BX
J5C182_. Tag BKP = TAG20150822T115328
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:05
Restoration finished in 22 August 15
From pick up to August 22, 15
using channel ORA_DISK_1
RMAN-05026: WARNING: following tablespaces set applies to the Point in time specified assuming
List of tablespaces should have UNDO segments
SYSTEM tablespace
Tablespace UNDOTBS1
Creation of automatic instance with SID = "zbnt."
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/08/2015 12:24:56
ORA-19852: error creating services for the instance auxiliary zbnt (error 0)
ORA-27302: failure occurred:
ORA-27303: additional information: could not start the instance
Thank you
Siradji
Just a wild guess
You do not use this script in a command as Administrator window
Therefore, you won't be able to create any service.
I also have a question: your only troubleshooting activity consisted of hitting CTRL + C and CTRL-V, is not it?
It's so boring to most of the people here do not even TRY to solve their own problems.
-------------
Sybrand Bakker
Senior Oracle DBA
-
RMAN bypass backup can be taken from question?
Hi all
pretty simple question (I hope that ):
I use the suite at the moment for example:
run
{
Backup CONFIGURATION DEVICE TYPE DISK PARALLELISM 2 to compressed backupset;
TIME 01:00 PARTIAL minimize THE time data BACKUP FILESPERSET 1;
}But I was wondering if there is some way to this running as a backup script planned to restart backup, if it does not (due to problems of space file etc.)
run
{Configure the disk channel CH1 device type format ' / alternate/path/for_backup/%d_DB_%M%D%Y_%p_%s_%U';
Configure the disk channel CH2 device type format ' / alternate/path/for_backup/%d_DB_%M%D%Y_%p_%s_%U';
TIME 01:00 PARTIAL minimize THE time of BACKUP data NOT BACKED UP SINCE TIME ' SYSDATE - 1' fileperset 1; < < < I know it won't work like that but y at - it another way to accomplish this? (work around to restart the backup time and the option to reduce time?)cleaning etc release channels
}
PS: question side bonus points
who can tell me more about the loss of speed MB/S compared to the rate of compression: low/medium/high?
I hope that there are some brilliant minds out there willing to help!
Thanks in advance.
The themes you mention seem to be covered in the Advanced documentation of RMAN:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmbckad.htm#BRADV89540
I don't know if anyone can really give you an opinion about which compression will have the best size vs time full report. But the next test by using a simple vanilla ORCL database shows the result of the compression of 'low '. It was done on sub Oracle 11 GR 2 one running a VirtualBox VM. As you can see there is a reduction of the large size of the backupset, which however has taken so long to complete as to the 'no' compression.
RMAN> CONFIGURE COMPRESSION ALGORITHM clear; RMAN> backup database; RMAN> list backup; BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 40 Full 1.20G DISK 00:00:08 22-JUN-15 BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20150622T123329 RMAN> CONFIGURE COMPRESSION ALGORITHM 'LOW'; RMAN> backup as compressed backupset database; RMAN> list backup; BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 44 Full 400.38M DISK 00:00:08 22-JUN-15 BP Key: 44 Status: AVAILABLE Compressed: YES Tag: TAG20150622T123811
Why did you write that I know that it won't work like that? According to the example below, I don't see the problem. As you can see on the 2nd run of the backup command, it ignores the data files that he has previously treated.
RMAN> BACKUP DURATION 1:00 PARTIAL MINIMIZE TIME database NOT BACKED UP SINCE TIME 'SYSDATE -1' FILESPERSET 1; Starting backup at 22-JUN-15 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backup set channel ORA_DISK_1: specifying datafile(s) in backup set input datafile file number=00001 name=+DATA/orcl1/datafile/system.256.862871041 channel ORA_DISK_1: starting piece 1 at 22-JUN-15 channel ORA_DISK_1: finished piece 1 at 22-JUN-15 piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t121929_0.283.883052369 tag=TAG20150622T121929 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03 channel ORA_DISK_1: starting full datafile backup set channel ORA_DISK_1: specifying datafile(s) in backup set input datafile file number=00005 name=+DATA/orcl1/datafile/example.269.862871121 channel ORA_DISK_1: starting piece 1 at 22-JUN-15 channel ORA_DISK_1: finished piece 1 at 22-JUN-15 piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t121929_0.275.883052373 tag=TAG20150622T121929 comment=NONE ...etc... RMAN> delete backupset 29,30,34; RMAN> BACKUP DURATION 1:00 PARTIAL MINIMIZE TIME database NOT BACKED UP SINCE TIME 'SYSDATE -1' FILESPERSET 1; Starting backup at 22-JUN-15 using channel ORA_DISK_1 skipping datafile 2; already backed up on 22-JUN-15 skipping datafile 3; already backed up on 22-JUN-15 skipping datafile 4; already backed up on 22-JUN-15 channel ORA_DISK_1: starting full datafile backup set channel ORA_DISK_1: specifying datafile(s) in backup set input datafile file number=00001 name=+DATA/orcl1/datafile/system.256.862871041 channel ORA_DISK_1: starting piece 1 at 22-JUN-15 channel ORA_DISK_1: finished piece 1 at 22-JUN-15 piece handle=+DATA/orcl1/backupset/2015_06_22/nnndf0_tag20150622t122021_0.308.883052421 tag=TAG20150622T122021 comment=NONE ...etc...
-
RAC RAC CLONE OF RMAN cold backup
Hi all
I need your help in my Oracle RAC 11.2.0.2 to remote host environment cloning. Here's the disc structure
DGVOT (disc ASM holding OCR and voting disk group)
DGDATA (disk group ASM containing data files)
DGFRA (disk group ASM files for fast recovery)
Remote host is on a different location so cannot use duplicate RMAN with auxiliary channel.
Have the luxury of downtime so I wanted to take coherent RMAN (Cold Backup)
SAME structure of the disc is available on remote hosts.
11.2.0.2 CLusterware (IG) over the oracle binaries are already installed.
Can any body tell me the steps to
(1) how to take cold backup on the disk so that I can tar and copy to the remote host
(2) clone of the database on the remote host
(3) how do I add the listener for the database and other resources of this databasee clusterware.
in fact, it's my first clone CARS, so I'm well aware of the steps in detail.
I went though a lot of notes metalink but nobody fits my needs. your tips will help me a lot
Kind regardsHello
(1) how to take cold backup on disk so that I can tar and copy to the remote host.
Use Rman cold backup
At the stage of the mountain run
RMAN > backup database archivelog format '%U /dbp ";
RMAN > backup controlfile current format "%U /ctl"; Copy these to the remote host backup sets
(2) clone of the database on the remote host
Create groups of similar ASM disk as source
create pfile/spifile, starting in nomount mode instance
backup set from catalogRMAN > catalogue start with "
"; Restore controlfile
RMAN > restore controlfile;
RMAN > restore database;
RMAN > restore database;
On the success of the recovery
RMAN > sql 'alter database open;
(3) how do I add the listener for the database and other resources of this databasee clusterware.
Srvctl user to add resources
Use: srvctl
-
ORA-00245: backup of control file failed; target is likely on a local file sys
Hello
our CARS (Linux 11.2.0.3.0) is relatively new and we are still on the acquisition of experiences with this system...
At the start of the backup with RMAN, we get the following error:
From control file and SPFILE Autobackup 4 July 12
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of command of file control and SPFILE Autobackup on channel ORA_DISK_1 at 04/07/2012 16:41:48
ORA-00245: backup of control file failed; target is likely on a local file system
The reason for the error is clear ORA-00245 - in a CCR environment, the snapshot Controlfile location must be on a shared location.
When running the RMAN command "show all" on each node, we get
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # by default
for the #1 node
and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # by default
for the #2 node
When using a shared location for the snapshot Controlfile make us still need 2 different names for this configuration file?
CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD021.f'; # by default
for the #1 node and
CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD022.f'; # by default
for the #2 node
Or should set us up as a single snapshot Controlfile?
RMAN installation for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO... "must be changed on both nodes - correct?
I hope my question is clear enough--any help will be appreciated.
Rgds
JH
Published by: VivaLaVida on 05.07.2012 11:41The controlfile is shared on the RAC database and having the backup of any node to shared mount point would meet the requirement.
Configure snapshot controlfile name to ' /
snapcf_PROD0.f'; Anand
-
Roll forward standby with RMAN incremental backup when used DG broker
Hello
I'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?
Thank you.user11993454 wrote:
HelloI'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?Thank you.
(1) disable the broker
(2) perform the Roll forard SNA.
(3) select the broker -
RMAN full backup - size SPFile Total 0.00 K
Hello, I do some tests and I need help to understand if there is something wrong in what I'm trying to do (a full backup with RMAN, DB is 11 GR 2).
If I perform a simple full DB Backup, all past file and it completes successfully. No errors.
Controlfile Autobackup is enabled, so I expect to find the control file and SPFile included in the backup, too.
But if I go to Console 'EM-> availability-> backup reports
It is reported the following:
---
Entry summary
Data file
Backup files 8
Separate files 8
Tablespaces separate 7
Total size 11.16 G
More former Checkpoint time Aug 29, 2011 01:00:29
Most recent Checkpoint time Aug 29, 2011 01:04:37
Control file
Backup files 1
Separate files 1
Total 22.95 M size
More former Checkpoint time Aug 29, 2011 01:05:44
Most recent Checkpoint time Aug 29, 2011 01:05:44
SPFile
Backup files 1
Separate files 1
Size total 0.00 K
More old time change Aug 29, 2011 01:02:12
Last Modification time Aug 29, 2011 01:02:12
---
Looks SPFile size on backup is '0' and not what I was expecting (SPFile is actually being used and it is not empty).
Should what kind of verification I do to see if everything is OK? Maybe a non-destructive.
Thank you very much!Hello R,
(1) the SPFile will be restored in a custom location / name of my choice ("
spfile_restore.ora")
which may be different from the ACTIVE SPFileI would say that must be different from the current spfile...
(2) the SPFile ACTIVE will always be in place and will always be that "in use" even after restoring
Correct the restored spfile will not be part of any oracle process.
Kind regards
Tycho -
What is the role of the archived in an incremental backup redo log files?
I want to know, to which RMAN reads what block of data is changed after the last incremental backup.
and what is the role of the archived in an incremental backup redo log files?
Please guide.Hello
First Querstion response->
Each block of data in a data file contains a system change number (SCN), which is the SCN of the last change to the block. During an incremental backup, RMAN reads the RCS of each block of data in the input file and compares at the checkpoint SCN of the incremental backup from parent. If the RCS in the block of input data is greater than or equal to checkpoint SCN of the parent, then RMAN copies the block.2 - the archived redolog files are required for the restoration of the online of rman incremental backup in a consistent state.
Thank you & best regards
Rahul Sharma -
RMAN-06056 and the data file does not exist
Hello
I'm working on Oracle 9i Database (9.2.0.8.0) on AIX 5.2 and we try to run a full backup of RMAN, but it seems to be failing with an error as follows;
From backup to 27-SEPT.-10
using the ORA_SBT_TAPE_1 channel
using the ORA_SBT_TAPE_2 channel
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup to 27/09/2010 01:33:17 command
RMAN-06056: could not access datafile 23
I checked the v $ datafile and it shows that it is in a State of recovery.
Select the State, file No., name from v$ datafile
where status <>'in LINE '.
order by 1
RECOVER /u06/oradata/test_sys/data/msg_log06.dbf 23
The file does not exist at the level of the BONE and the RMAN, it shows as;
RMAN > resync catalog
+ 2 >. +
from full resynchronization of the recovery catalog
full complete Resync
RMAN > outline report;
Report of the database schema
K - bytes Tablespace RB segs Datafile file name
---- ---------- -------------------- ------- -------------------
819200 + 1 SYSTEM YES /u011/oradata/test_sys/data/system01.dbf+
+ 23 0 MSG_LOG NOT /u06/oradata/test_sys/data/msg_log06.dbf+
The associated tablespace cannot be just deleted given that some other files of dependent data. The RMAN script has also been changed
change archivelog than any overlap;
backup database more archivelog entry remove
Skip inaccessible;
But the backup fails again, please advice.
ConcerningRun
LIST OF BACKUP OF THE FILE 23
to see if you have previous backups. If you have a backup of the data file, you can then
Put the offline data file
RESTORE the data file
RECOVER the data file.If you want to 'ignore' this test taking it Offline datafile
ALTER DATABASE DATAFILE OFFLINE 23then use "SKIP OFFLINE" in your RMAN BACKUP DATABASE command.
Hemant K Collette
-
RMAN information - backup of the operating system
Hello
I took a manual backup of a data file by using operating systems. How RMAN know about this?
Thank you
Mason.As Aman has mentioned, you must use the command CATALOGUE make RMAN know
Suppose you took cold backup of the file users01.dbf data and you want to catalog them in the RMAN recovery catalog. See the example below:RMAN> catalog datafilecopy 'c:\users01.dbf'; using target database control file instead of recovery catalog cataloged datafile copy datafile copy filename=C:\USERS01.DBF recid=1 stamp=695238977 RMAN> list copy; using target database control file instead of recovery catalog specification does not match any archive log in the recovery catalog List of Datafile Copies Key File S Completion Time Ckp SCN Ckp Time Name ------- ---- - --------------- ---------- --------------- ---- 1 4 A 18-AUG-09 546902 18-AUG-09 C:\USERS01.DBF RMAN>
Maybe you are looking for
-
Just about 3 months ago I broke my iPhone 6, while I was getting the money together, I discovered that I had to find my I phone off. When I went to do it I realized that I had my very old apple account I remember that nothing is nail until the cload,
-
so I bought a razr maxx in February, the battery life always seemed to be less than what was stated. I repeatedly called Verizon and discussed with them. They just said that the standard, it looks like its fine stuff blah blah. I was almost sure that
-
Why the configuration application server is locked?
Why configure the Web app server is locked? ... Why not click on to open it...
-
FAILED: attempt recovery of bad sectors (disk hard C) I followed the instructions to increase the speed of the PC on the home screen of the box to highlight the function of microsoft.com. I could access the program successfully on my home screen (Win
-
Hello I'm working on active directory, I have my shared folder on the external drive on which my user profile is loaded and access by the same. But for some time it won't not give me access to employment on my user profile, if I move my user profile