Hot backup script
My Version of Oracle's Oracle 10 gWhat happens if I put the tablespace in backup mode and I forgot to put in backup mode end, after 2 or 3 days, I see that it is still in backup mode, but I deleted the archives for the last two days. I will be able to end backup mode.
Vivek says:
My Version of Oracle's Oracle 10 gWhat happens if I put the tablespace in backup mode and I forgot to put in backup mode end, after 2 or 3 days, I see that it is still in backup mode, but I deleted the archives for the last two days. I will be able to end backup mode.
Yes
Tags: Database
Similar Questions
-
All comments on this full backup script?
Oracle 11.2.0.4 on Oracle Linux 6.4
We want to replace the illegible full hot backup script provided by netbackup guys. So, I created a much more readable script. Below is the crux of the complete hot rman backup script on tape.
I did a test backup. The backup has worked even though I did not restore, recover from this backup
1. are there improvements you might think? However trivial, you can comment on
2. currently, I only LIST BACKUP; and the LIST SUMMARY of BACKUP; After the backup. Should I include any other LIST control that would facilitate the identification of the elements of backup during the restoration?
Target of $ORACLE_HOME/bin/rman = / catalog rman/mypass@catalog_db < < EOF
run
{
allocate channel t1 type 'sbt_tape ';
allocate channel t2 type 'sbt_tape ';
allocate channel t3 type 'sbt_tape ';
allocate channel t4 type 'sbt_tape ';
Send "NB_ORA_POLICY = MANH_PROD_FULL, NB_ORA_SERV = hewmaster198, NB_ORA_SCHED = MANH-PROD-Backup";
LEVEL INCREMENTAL backup = 0 format='${ORACLE_SID}_full_%U_%T.rbk database ' tag = ' ${ORACLE_SID} _hot_bkp ";
ARCHIVELOG backup all the format = "${ORACLE_SID} % s_ %%t p_ _al_ ' tag = ' ${ORACLE_SID} _arch_bkp";
Save the spfile tag =' ${ORACLE_SID} _spfile_bkp 'format='${ORACLE_SID}_spfile_%U_%T.rbk ';
backup current controlfile tag =' ${ORACLE_SID} _ctlfile_bkp 'format='${ORACLE_SID}_ctl_file_%U_%T.cf ';
cross-checking of backup;
delete noprompt force backup expired;
output channel t1;
output channel t2;
output channel t3;
output channel t4;
}
backup from the list;
backup of the consolidated list;
"exit";
EXPRESSIONS OF FOLKLORE
1048827 wrote:
Oracle 11.2.0.4 on Oracle Linux 6.4
We want to replace the illegible full hot backup script provided by netbackup guys. So, I created a much more readable script. Below is the crux of the complete hot rman backup script on tape.
I did a test backup. The backup has worked even though I did not restore, recover from this backup
1. are there improvements you might think? However trivial, you can comment on
2. currently, I only LIST BACKUP; and the LIST SUMMARY of BACKUP; After the backup. Should I include any other LIST control that would facilitate the identification of the elements of backup during the restoration?
Target of $ORACLE_HOME/bin/rman = / catalog rman/mypass@catalog_db<>
run
{
allocate channel t1 type 'sbt_tape ';
allocate channel t2 type 'sbt_tape ';
allocate channel t3 type 'sbt_tape ';
allocate channel t4 type 'sbt_tape ';
Send "NB_ORA_POLICY = MANH_PROD_FULL, NB_ORA_SERV = hewmaster198, NB_ORA_SCHED = MANH-PROD-Backup";
LEVEL INCREMENTAL backup = 0 format='${ORACLE_SID}_full_%U_%T.rbk database ' tag = ' ${ORACLE_SID} _hot_bkp ";
ARCHIVELOG backup all the format = "${ORACLE_SID} % s_ %%t p_ _al_ ' tag = ' ${ORACLE_SID} _arch_bkp";
Save the spfile tag =' ${ORACLE_SID} _spfile_bkp 'format='${ORACLE_SID}_spfile_%U_%T.rbk ';
backup current controlfile tag =' ${ORACLE_SID} _ctlfile_bkp 'format='${ORACLE_SID}_ctl_file_%U_%T.cf ';
cross-checking of backup;
delete noprompt force backup expired;
output channel t1;
output channel t2;
output channel t3;
output channel t4;
}
backup from the list;
backup of the consolidated list;
"exit";
EXPRESSIONS OF FOLKLORE
If you set UP CONTROLFILE AUTOBACKUP ON, then you don't need separate steps to back up the control and the spfile. In fact, I do not think that you don't even need to do. Any time that the backup is a backup of the table system (datafile #1) space, it will also create a backupset to include the control file and the spfile. Try it yourself.
Everything in your summary of the list 'backup' is already included in your backup of 'list '.
I would add 'delete all entries "for the backup of the archivelogs. '. If you do not, then eventually your archivelog destination fills. (Well, if you check in CRF, then it will delete archives when there need more space - if it can and do not compromise your position of recovery.)
In addition, to overlap/remove expiration on safeguards, I would do the same for the archivelogs.
-
We take the backup hot at 18:00 (daily, filled in 1-2 hours).
At 23:30 all archive log files will be separately BackupExec backup and the log files are deleted from the file archive of the Oracle.
Day before yesterday, for some reason, the copy of the data file hung up (after alter database begin backup has been published in the Hot backup script)
That the copy has been hung up, 'alter database end backup' has been issued, the PB was in backup mode.
The average while the deleted BackupExec database journal archive file Archive of the Oracle.
Yesterday hot backup was completed successfully, only alter database begin backup failed (ORA-01146: cannot start online backup - folder 1 is already in the backup)
After the hot backup 'alter database end backup' was published successfully.
Given that logs archiving failed whien database is always in backup mode, will all the data generated duing the applied to the data file backup mode?
Please notify.
Thanks in advance,
ArulYou hear all changes (including the dml, ddl) applied to the database during the backup mode...
YES.
See http://www.bluegecko.net/oracle/oracle-tablespace-hot-backup-mode-revisited/Hemant K Collette
-
Hot backup maintained by users script? 11g (Unix) good measures?
I'm looking for a script to hot backup maintained by users for GR 11, 2 under Unix. My client does not want to use RMAN.
I think that the main steps are:
-alter system switch logfile
-change the system log archive current
-alter database begin backup
-alter database backup controlfile (and also the backup on the track)
-copy the data files, archives, remake, controlfiles to another location
-take the database out of hotbackup mode
-J' have also capture spfile and other config files
Recovery is just restore to the original location, at STARTUP and backup of the end.
Basically, there may be cases where we have archives that have been made after the hotbackup we want to apply. In this case, it is RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL in order to apply the archives.
His right?After you take the database out of Hot Backup, you must switch logfile (preferably several times) and backup generated archivelogs.
You can back up archivelogs while the database is in backup mode but you must also back up the first archivelog (s) after the backup of the end.Hemant K Collette
PS: Oracle provides documentation.
http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/part_umb.htm#BEHBHCBAHemant K Collette
-
Hot backup RMAN script gives error in R12.
Hi experts
I m facing more prob when it is run the backup script. 1 day before the same script runs correctily, but now it gives me error in the rest of the command channel allocatioion runs correctly.
[root@testerp rman_log] # cat UAT_daily_rman_hot_bkp_01-11 - 14_140301.log
-bash: / root/.bash_profile: permission denied
Recovery Manager: release 11.1.0.7.0 - Production on Sat Jan 11 14:03:01, 2014
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: UAT (DBID = 2855851979)
connected to the recovery catalog database
RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'end-of-file': expected an of: "assign, modify, Advisor, backup, beginline, blockrecover, catalog, edit, copy, convert, duplication, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restoration, repair, resync}, together, setlimit, sql, switch, start, stop, send, display, transport, post.
RMAN-01007: column 1 row 12 file: entry standard
RMAN >
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c2
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c3
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c4
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
From backup 11 January 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 362 type device = DISK
channel ORA_DISK_1: backup set from incremental level 1 datafile
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data06.dbf 00021
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data01.dbf 00392
Enter a number of file datafile = 00401 name=/d06/UAT/db/apps_st/data/a_txn_data02.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data03.dbf 00402
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data07.dbf 00022
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data04.dbf 00014
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data05.dbf 00020
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/sysaux01.dbf 00011
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/sysaux02.dbf 00018
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data08.dbf 00023
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/undo01.dbf 00379
Enter a number of file datafile = name=/d06/UAT/proddata/sysaux03.dbf 00024
Enter a number of file datafile = name=/d06/UAT/proddata/sysaux04.dbf 00025
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind11.dbf 00033
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind09.dbf 00029
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind10.dbf 00030
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind06.dbf 00015
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind07.dbf 00026
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind08.dbf 00028
Enter a number of file datafile = 00393 name=/d06/UAT/db/apps_st/data/a_txn_ind01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind02.dbf 00403
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind03.dbf 00404
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind04.dbf 00405
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind05.dbf 00406
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_media01.dbf 00400
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system08.dbf 00353
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system12.dbf 00013
Enter a number of file datafile = 00352 name=/d06/UAT/db/apps_st/data/system09.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref01.dbf 00394
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref02.dbf 00407
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_summ01.dbf 00396
Enter a number of file datafile = 00395 name=/d06/UAT/db/apps_st/data/a_int01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue02.dbf 00008
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue03.dbf 00027
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue04.dbf 00031
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue01.dbf 00399
Enter a number of file datafile = 00001 name=/d06/UAT/db/apps_st/data/system01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system02.dbf 00002
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system03.dbf 00003
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system04.dbf 00004
Enter a number of file datafile = 00005 name=/d06/UAT/db/apps_st/data/system05.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_archive01.dbf 00398
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system06.dbf 00295
Enter a number of file datafile = 00351 name=/d06/UAT/db/apps_st/data/system07.dbf
Enter a number of file datafile = 00354 name=/d06/UAT/db/apps_st/data/system11.dbf
Enter a number of file datafile = 00288 name=/d06/UAT/db/apps_st/data/system10.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/apps_ts_tools01.dbf 00012
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref03.dbf 00016
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/MLSEIGL01.dbf 00019
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/RMAN01.dbf 00032
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_nolog01.dbf 00397
Enter a number of file datafile = 00314 name=/d06/UAT/db/apps_st/data/portal01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_int02.dbf 00017
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/ctxd01.dbf 00006
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/olap.dbf 00010
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/odm.dbf 00009
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/owad01.dbf 00007
channel ORA_DISK_1: starting piece 1 to January 11, 14
[root@testerp rman_log] #.
###########################################################################################################################
backup script is below:
in this script, it returns error only on the rest of allocaition to control backup channel all that operate manually or with a script it works correctly.4
I m not able to find out why it returns the error distribution challnel 1 day before it works properly.
[orauat@testerp rman_script] $ cat rman_backup.sh
#! / bin/sh
#############################################################################
#ORACLE_SID = UAT
#BACKUP_START_TIME ='date + "%y" "%m" "%d"_"hour" "%m" '%s' '
#ORACLE_HOME=/d06/UAT/db/tech_st/11.1.0
#PATH = $PATH: $(ORACLE_HOME): $(ORACLE_HOME) / bin
#export ORACLE_SID
#export ORACLE_HOME
#export PATH
/D06/UAT/DB/tech_st/11.1.0/bin/RMAN catalogue rman007/rman target sys/sysuat < < EOF
run
{
allocate channels c1 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_Arch_%c_%U';
SQL 'alter system switch logfile;
SQL 'alter system switch logfile;
SQL 'alter system archive log current';
remove expired archivelog all;
overlap archivelog all;
ARCHIVELOG backup all;
delete noprompt archivelog all completed before ' sysdate-4' saved 1 time to disk. "
allocate channel c2 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
allocate channels c3 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
allocate channel c4 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
database backup incremental level 1;
remove the disc peripheral type of backup expired;
remove the obsolete device type disk.
output channel c1;
output channel c2.
output channel c3.
output channel c4.
}
output
EXPRESSIONS OF FOLKLORE
concerning
pritesh Rodriguez
The %U in the FORMAT provides a Unique name. You can take the backup (weekly) L0 and the (daily) L1 in the same folder OR in different folders - Oracle is not meet all the requirements on the record.
Hemant K Collette
-
RAC and non-RAC db backup script
Hi all
I need to create a hot backup RMAN script for a hot full backup of database RAC 2 nodes 11.2.0.4 version.
I have a script that works perfectly in the stand-alone database. This script ran in the database of no - ASM no CARS.
It is: if I implement the rman script no CARS on a RAC 2 nodes using ASM database, should I change something? I don't have much experience with rman.
Thank you.
KZ
Hello
same RMAN commands should work in the CARS and environment not RAC, but it depends on how you have configured the script.
have you configured snapshot controlfile on shared location?
RMAN > show parameter snap
Thank you
-
A development database hot backup
RDBMS version: 10.2.0.4
Operating system: Solaris 5.10
One of our development database is in NOARCHIVELOG mode, and we want to keep it this way. Every Sunday, we want to make a complete this DB RMAN backup. Since developers (WE, India, China) could be working from home on Sunday and need to connect to the DB, we cannot stop this DB. I think to create a hot RMAN backup script that will be
The RMAN full backup taken using the strategy above held for restoration and recovery?1. Place the DB in ARCHIVELOG mode temporarily 2. Startup (OPEN) the DB and Take a FULL BACKUP including the archive logs with a script run { allocate channel m1 TYPE DISK connect 'sys/fls' FORMAT '/u05/rbkp/ptcp_%U.rmb'; backup as compressed backupset database tag 'full' plus archivelog; } 3. After the Hot backup is done, the shell script should place the DB in MOUNT stage and revert back to NOARCHIVELOG mode and startup
I can't put the commands for the placement of the DB in ARCHIVELOG mode in the RMAN run block. I can?You have a valid backup, but you will not be able to perform a FULL restore. You said that you will return noarchivelog mode after the backup. When your database requires recovery of the media in this mode, you will have more often a gap between the last saved archivelog and real online newspaper. If you can only make one point incomplete recovery - until the last archivelog available in the backupset.
Werner
-
Backup script no longer works in macOS Sierra
This line in a backup script used to synchronize the folder my documents with my Synology NAS:
rsync - avh - delete - progress ~/Library/"Mobile Documents" / com ~ apple ~ CloudDocs/Documents /Volumes
A ran in the Sierra, he deleted the contents of the folder/Volumes/Documents on the NAS. Nothing is copied.
The ~/Library/"Mobile Documents path" / com ~ apple ~ CloudDocs/Documents is valid in the terminal. I don't see what has changed.
Modify the script to this:
rsync - avh - delete - progress ~/Documents /Volumes
A did the trick. Do not know why. The old path seems valid in the terminal.
-
Hello
Could someone please help me to clarify the following:
The above is the new guide features 12 c University student.
Is not "alter database begin backup" called "backup of user management?
"Hot backup" AFAIK means online of RMAN backup and requires that the database is in log mode archive.
Also the instructer said "If the PDB is closed, you take a hot backup, that APB is not save, because the files are not in line.» "If the file is not open to the database, RMAN cannot hot backup.
I just test rman backup in 12.1.0.1 when the PIC is opened and it included also all the PDB, including those that have been closed and in mounted condition. So what is the correct history?
Thank you!
Unfortunately, I can ask is no longer the instructor, but I noticed yesterday that I have actually ask your instructor about the same question a year ago. The answer was however really does not correspond to the question. In any case I guess it was just some confusion about the context.
From what I understand, there are two ways to make a hot backup. One is called "user managed backup" by putting the database in backup mode by using the "alter database begin backup" statement and the other is to use RMAN. Two hot backupl methods require that the database is in log mode archive, but RMAN, by default, unlike "user managed backup" includes storage in offline mode.
This means while a database is hot backup mode using "user managed backup", cannot close a PDB file and doing so will trigger an error ORA-01149. RMAN however has no such restrictions and will automatically include the backup of the PDB closed.
I hope that my conclusion is correct and I am considering this thread supposed replied.
-
MAXL - Backup Script Essbase for lack of encrypted password
I went through the steps of...
1. creation of public/private keys
2. password encryption
3. pass these components in the backup script Essbase
From the kick-off of the EssbaseBackup.bat, it fails to connect with the username password / encrypted.
If I remove the encrypted password and instead, encode the password, it connects fine and generates the backup file Essbase.
Anyone of you people seen this behavior before? All good pointers trying to solve this problem?
Appreciate any feedback.
It would have been useful to see your script too, but looks like you are missing $key in your statement at the opening session.
It should be something like:
login administrator $key 23958236592475923472398969868968756 ON HYPERION;
I'm assuming you use you're maxl script with the parameter-d and the provision of key private after him.
-
Our DBA functions are currently outsourced, and I'm just curious about something.
We asked them to copy a schema from our database of Production (during the day) to its equivalents in the acceptance and Test environments. We found a problem in that the maximum value of a primary key on a table was 100121, and the sequence used to generate the value of the primary key is only 100081.
Is a risk to a backup in hot and any annex a backup must be taken after hours? Or maybe did something wrong?
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biIf the request was to copy only a single schema, then it is unlikely that a "hot" backup would have been used. Most likely exp/imp or expdp/impdp would have been used to export the Production schema and import it into the other two databases.
The sequences are always 'a problem' when export - import is used when the database is active. Export of the sequence and the export of the table (or tables) using the sequence are not at the same time / SNA so that the values can differ as they have updated in the source database.
The plan is to restore order in the target database by manually incrementing until it reaches the desired target (100122).Hemant K Collette
-
When use REUSE/SET, no.-ARCHIVELOGS in create controlfile in HOT BACKUP?
I am an Oracle DBA intern and I have the following queries. Good response with detailed explanations, I want to get my deleted concepts!
T1 > > while a user managed hot backup, when we create a path for recovery (CREATE CONTROLFILE) control file when we use the control file created with the following options:
* 1. REUSE / SET *.
* 2. ARCHIVELOGS / NOARCHIVELOGS *.
T2 > > in what scenarios re - create the control file while recovering the data from a hot backup files?
Thanks a ton!
Kind regards
BlablaSpecify REUSE to indicate that existing control files identified by CONTROL_FILES initialization parameter can be reused and overwritten.
SET the DATABASE to change the name of the database.
-
With wise folder backup script date
Hi all
I want to take RMAN backup with date wise new folder creation scripts. e.g. today, it's 31 Oct so when I run the backup script it should create a folder name Oct. 31 and then take backup. My goal of this nice script, is that I will move daily tape backup. kindly advice.
Thank you
KrishnaHello
I would just give you the highlights as I would:
(1) create a shell script which create directory unix with date (e.g., mkdir/somepathhere / 'date' +%Y.%m.%d__%H%M%S ")
(2) generate the script in which backup command in "xyz" will have xyz format, replaced by the path of complete directory of point 1.Paul
-
Where is the official Oracle documentation that describes the hot backup?
I used the cruelly utility failure to search for Metalink and Google, but the closest thing, I found is a description on "ask Tom".
I'm looking for official Oracle documentation that describes what is happening internally during a hot backup. There are many websites and blogs out there that describe, but I'm looking for a description of Oracle themselves. The only things I found in the Oracle documentation until now is to know how to start and stop the hot backup, but not what is happening internally. GR 11, 2 preference if it made a difference.
Thanks in advance.Hello;
Its probably gone RMAN covers this.
The closest would be:
Backup and recovery reference 11g Release 2 (11.2) E10643-06
Or
Backup and recovery User Guide 11 g Release 2 (11.2) E10642-05
See Chapter 8 - Concepts of backup RMAN - online backups and backup Mode
Best regards
mseberg
-
UNDOTABLESPACE and TABLESPACE TEMP in cold or hot backup database
Hello
I have a BACKUP, including logs generated after the backup archive. What is the use of the UNDOTABLESPACE and TABLESPACE TEMP datafile data file backup? When it is used?
Kind regards
007>
I have the archives which have all entries are committed in it. Undoinformation is necessary for the restoration and recovery of the database? Can u explain more clearly?
>The archives are as congested entries of redo logs. And the redo logs contain all changes to the database. Information cancellation will be there in the segments of cancellation that there can be some uncommitted transactions active in the segments of cancellation. Cancellation information is necessary to put the database in a consistent state. It is one of very important storage similar to the control file and system tablespace to bring a database
Edited: Imagine a scenario. You make a backup hot at 07:00. And there are a lot of transactions happening before and during hot backup. For ex, I run a massive update to a table. This will cause the recovery to write logs of recovery that will be eventually written to logs archived. Now, you finish the backup mode. But I have not validated or cancelled my transaction. Say to the reasoning, I roll back the transaction.
Now, you restore the backup. Do you think that my transaction will be in inconsistent state? Redo logs and archiveed newspapers had my transaction changes/redo entries. If you are not using undo in recovery segments, what will happen to my operation that I rolled back? Without cancel, half of my transaction (even if they were not truly committed) will be sitting in the database. This is where undo tablespace helps us in rolling back the transaction during your recovery. Remember, the cancellation information "peuvent" not all in recovery if you do not a complete database recovery. But Oracle should know that. If you need to undo tablespace in your backup set.
I hope it's clear now
Published by: VenkatB on Sep 15, 2011 10:17
Maybe you are looking for
-
How do I set up and add multiple computers to a HD post I will use time machine?
Hello, I'm about to upgrade an external drive 1 TB WD to 4 WD to My Cloud drive that has a USB 3 and an eternal Gigabit port. Also, I use a 6 yr old airport extreme router to connect to. I have two MacBook in the House, I want to connect to it for ba
-
No iTunes game do not forget your library after lapse in Service?
The hard drive of my iMac 27 "recently failed, taking my library of music with it. Previously, I was a customer of iTunes game, but let the service lapse a year or two ago. If I reactivate the service, the songs that I had been previously followed
-
Loading slow web page and with Airport Extreme connection speeds
About 5 days ago, I noticed a significant slow down the loading of web pages. In some cases, I see a blank white screen for up to a minute before the page is loaded. In others, the page never loads at all. And sometimes they load very quickly as expe
-
MiniPCI Wifi card work with Satellite A200-1V0?
Wifi miniPCI card works with Satellite A200-1V0?Specifically the Intel Pro/Wireless 3945 ABG Mini PC will work with this laptop? See you soon,. Prashant
-
Are there tutorials on html, css, javascript coding?
I am learning about coding and is all their tutorials?