The hot backup process

Hello

I have a Dev on Oracle 10 g (10.2.0.3 on Solaris 8) db, for which I want to set up a simple backup process hot. My question is: for simplicity, instead of putting each tablespace in backup mode and to take it out of backup mode, can I put the entire db in backup mode and copy the data files and control and take the Pb of backup mode:

-J' my intention to do so hours offline when activities are lower and db is small and there is enough space to make it so again is generated (compared to each tablespace in backup mode) that this is acceptable. Thus, the following process is valid:

(1) connecting to the db as sys
(2) alter database begin backup
(3) copy all of the files and control the db for the backup
(4) change the backup of the end
- or after it is necessary to issue the - modify the statement of system switch logfile also? -If so, what is the purpose of this statement?

Also another question is: I don't have enough space on the db server hosting backups so after you put the db in backup mode, I transfer the file in Microsoft windows server for solaris. -Is possible with rman?
The reason why I go to managed user backup, of rman is that we do not store the backup on the db Server nor we have any tape, but we have a windows machine that can be used to store backups. so in this case, is it possible that rman can be used?

Thank you very much
Cedric

When you use RMAN, you don't have to put a tablespace (or database) in BACKUP Mode.

With RMAN, you can create of BACKUPSETs, in this case, backups can be smaller than the actual database files as RMAN does not save the blocks that have never been used (that is to say, the blocks above the last measure in a data file). In addition, you can create AS COMPRESS in order to introduce more compression.
Alternatively, you can creat backup as Copy, in which case backups are the same size as the data files that you might have with scripted backups (UserManaged).

You MUST run your database in ArchiveLog mode.
You MUST save each ArchiveLog.
You must save your controlfiles as backup controlfile separate. However, even if you do not configure CONTROLFILE AUTOBACKUP ON, whenever you back up the SYSTEM Tablespace (that I advice every day), the controlfile is going to get backed up in the same backup set. For added convenience, I prefer controlfiles backup as separate backups so that they save files are easily identifiable.

Tags: Database

Similar Questions

  • 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

  • excluding tablespace in the hot backup

    Hi master,

    I use oracle 10g on linux. We use the hot backup to date strategy to back up the database.


    but I think that I support too much data. I now have tablespeces in my database

    System
    users
    Temp
    Cancel
    index
    perfstat
    blob1
    tool
    etc. and default tablespace installed by oracle at installation time.

    I can I exclude some of the hot backup table spaces so that it consumes less time to back up the database?


    can I exclude spaces of temp, perstat and tool table?

    It will cause no impact on the database and?

    Thanks and greetings
    VD

    DON'T think to drop your UNDO tablespace. You use it to save "in front of your block images.
    Re: cancel

  • stop the database when the HOT backup running

    Hello

    Can someone pls tell... WHT can impact on the database if the database will get stop accidentally during the hot running backup...

    Thank you

    There will be no impact on db; because its ORACLE database; very smart and easy to use.

    What happens if the instance goes down for the tablespaces into backup mode?

    When you start the database after that, Oracle will say that it requires recovery. It's because the RCS has been frozen and this is the expected behavior, because if you restore the file copied, it needs to be recovered. (and the only way that oracle has to set its value in the copy is put in the current file while it is copied)

    In this case, you can issue:

    ALTER DATABASE END BACKUP; ALTER DATABASE OPEN; to open the database.

    But your backup is not usable, it must do it again.

    Source: http://knol.google.com/k/oracle-begin-backup-end-backup#

    HTH
    Girish Sharma

  • switch after the hot backup log file

    Hello world
    Why should we change log file after the end of the backup command that is to say, after the end of the backup hot?
    Why we should take a backup control files to database level, but not through operating system level that is to say, order cp?

    Why we should take a backup control files to database level, but not through operating system level that is to say, order cp?

    If you're doing a cold backup, this is where you use cp.

    But when the database is in place, controlfile is used and it is continuing to change the oracle process. Now the question is how to get the consistent image of the controlfile, here's where you their support at the database level (for example backup controlfile). When you do that level database, a snapshot file is created time and she is saved.

    HTH

  • Problems with the interrupted backup

    I need your help. I have Windows Vista Home Premium 64-bit. I back up my computer (I used 17 8.5 GB DVD), and moved to my computer, it came a message that the last backup is not closed. I tried to take over the task, but I came across the message that tell me to insert disk # 1, who assume that the system could be restart the entire backup process. My question is if there is a way to resume the backup from the point of interruption?

    When the backup to removable media is no option or a way to force the backup to a failure during the backup.  You have to start all over again.

    "CRMMAIA" wrote in the new message: * e-mail address is removed from the privacy... *

    I need your help. I have Windows Vista Home Premium 64-bit. I back up my computer (I used 17 8.5 GB DVD), and moved to my computer, it came a message that the last backup is not closed. I tried to take over the task, but I came across the message that tell me to insert disk # 1, who assume that the system could be restart the entire backup process. My question is if there is a way to resume the backup from the point of interruption?

  • Hot backup

    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,

    Arul

    You 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

  • Need help with RMAN archive destination error during hot backup

    Hello

    Oracle 8.0.6, Win 2000 Server.

    We take the cold daily backup as our backup strategy. We wanted to implement the backup hot. If one day, I turned on the log mode archive and set the directory to archive in F:\drive to store all archived generated. I took the backup and put the database in noarchive log mode. We continued with offline backup.

    After a few days, I wanted to test the hot backup again. I created the directory of the archive in E:\archive\ instead of F:\archive\. When I started the hot backup, all files have been copied except the archives.

    The error was:

    RMAN-03022: compilation command: sql
    RMAN-06162: SQL statement: alter system archive log current
    RMAN-03023: executing command: sql

    RMAN-03022: compilation command: backup
    RMAN-03026: recovery error release of channel resources
    RMAN-08031: output channel: c1
    RMAN-08031: output channel: c2
    RMAN-00569: = error message stack follows =.
    RMAN-03002: failure during the compilation of command
    RMAN-03013: type command: backup
    RMAN-06089: journal archived F:\ARCHIVE\ARCH1_0000327116.ARC not found or at odds with catalog

    Complete recovery manager.

    RMAN is looking for the destination of the journal archive old i.e. 'f:\archive\ '. I don't have the backup of the old archives of destination. I put the new destination to archive E:\archive\ in the initorcl.ora file, rman is always looking for destination F:\archive\.

    Please suggest what to do. How can I remove old information from archive of controlfile and say rman, look in the new archives destination i.e. E:\archive\

    Hello
    WOW 8.0.6.
    Maybe you can run a cross?

    change archivelog than any overlap;

    Update
    Found some docs online for 8.0
    http://download.Oracle.com/docs/CD/A58617_01/server.804/a58396/TOC.htm
    She does not mention the overlap.
    With the change command, you should be able to do the cleaning as well.
    If you have moved the archivelogs to the new location, you can use catalog according to the doc.
    Kind regards
    Tycho

    Edited by: tychos on mrt-27-2011 08:26

  • 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
    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
    The RMAN full backup taken using the strategy above held for restoration and recovery?

    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

  • Hot backup - recovery time

    I have 2 questions about the hot backup concept please:

    Let's say I started the backup to hot at 09:00 and ends at 11:00.

    (1) I can recover the database to the point of 09:00 and on (recover until time) as long as I have all archive logs generated between 9 and 11:00, right?

    (2) I can restore database to the top at 11:30 so if I have logs archiving between 09:00 and 11:30?

    Please correct me if I'm wrong.

    Thank you

    The backup of the Data2 began at 10:01, but you must recover the database at 09:29. You can only do if you restore time data1 data2 (and all the other data files!) a prior backup archivelogs and applied the backup and roll forward at 09:29.

    Hemant K Collette

  • More redo generation during hot backup

    Hi all
    I want to know more over the generation of redo during hot backup.
    I know that in this case the data file headers are frozen. But I want to know how the whole thing goes. All did this experiment practically?
    Did any problems of performance because of this?



    Thank you
    Rafi.

    Hmm well, it basically means like this, assuming you have a block filled with 1s like that,

    ----
    1
    ----
    1
    ----
    1
    ----
    

    And this is the copy of the block that was sent to the backup by you and was taken over by the command cp o/s. While the cp command will make a backup of the block as it can be read much more small piece that, suppose that he would start with the 1st part of the block and starts copying to the o/s somewhere. At the same time feel, DBWR peaks upwards again and written on block 2, like that.

    ----
    1
    ----
    2
    ----
    1
    ----
    

    It can from the flie is always online and is available to be used by the database. Now, you have a problem. The image you sent for backup isn't th that is here now. Next time what cp command would return, he would find 2 instead of one in the 2nd part of blok and copy it since it is a mute command when comes to oracle. So now that you have in what you wanted in the backup and the backup are not the same images. You have a cracked now block which is of no use for the recovery. To this end, in the case of the hot backup, the first image of the block time is copied and is maintained. This saves us from the State to have 2 there. We have all the 1s who sent us. Now, if in the case, dbwr also changes the block, the original help oracle reover the block properly.

    HTH
    Aman...

  • archivelog mode and hot backup

    Hello
    in g R2
    This is the hot backup:
    online backup
    
    A backup of one or more datafiles taken while a database is open and the datafiles are online. 
    When you make a user-managed backup while the database is open, you must put the 
    tablespaces in backup mode by issuing an ALTER TABLESPACE BEGIN BACKUP command. 
    (You can also use ALTER DATABASE BEGIN BACKUP to put all tablespaces in your database into backup mode in one step.)
    would we in log mode archive to do an online backup?

    Thank you.

    user522961 wrote:
    Hello
    in g R2
    This is the hot backup:

    would we in log mode archive to do an online backup?

    Yes. It is a must!

    HTH
    Aman...

  • Rebuild the basis of Standby hot backup existing

    Hi all

    I'm rebuilding the database of existing sleep using the current hot backup because of the huge gap between the primary and Standby, which cannot be restored by backup team

    Can someone please explian the steps to perform this activity.

    Oracle-9i version

    The size of the database - 50 GB

    Hot - Latest backup

    Kind regards
    RAM.

    Follow the same process as that used to create the eve of the first.

    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96653/create_ps.htm#67525

    Skip the steps that should not be remade - for example to create the parameter file for the standby, the configuration of the listener and tnsnames, entries that you already have, etc.

    Hemant K Collette

  • I have a new time capsule airport. How to limit the search for who can use the time capsule backup process?

    I have a new time capsule airport. How to limit the search for who can use the time capsule backup process?

    Set a password to disk... disk tab in the utility... and just give to those you want to use the TC...

  • what it means when your computer say-"your disc is a failure, start the backup process."?

    What it means exactly when your computer say-"your disc is a failure, start the backup process."? I know that's not good, but what is it? And that's something that I can fix with some instruction? Thank you, Brandi

    Hello

    If the message is correct, your hard drive is defective and must be replaced

    Your hard drive contains the operating system and all your files, photos, music, etc.

    Back up your data:

    make backups on an external hard drive or DVD

    see if this information helps you

    How to make a backup of your data (all Vista versions)

    http://www.vista4beginners.com/how-to-backup-your-data

    How to restore your files

    http://www.vista4beginners.com/how-to-restore-files

    the 1st link below is how do the backup complete pc (Vista, full and professional company)

    http://www.bleepingcomputer.com/tutorials/tutorial145.html

    and that is how do to recover the backup complete pc

    http://www.bleepingcomputer.com/tutorials/tutorial144.html

    and here is the information of microsoft in restoring a system image backup

    http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup

Maybe you are looking for

  • How to copy a new on an existing user.js in profile

    HelloI'll shut up deploy Firefox on many computers at once.Computers now have Firefox 14 on this and people work with it well.I ve it deployed with the determination of changes in the user.js.Now I have to uninstall the 14 Firefox and install Firefox

  • DESKJET F2280 ALL IN ONE PRINT: DESKJET print not BLACK

    First time on the Forum- Printer does not print in BLACK (the color is fine) Proplem started after I replaced an empty black cartridge-everything was fine before this. Despite the list ready to print with sufficient ink, black text was not printed. I

  • Qosmio G20-108 Windows recovery problem.

    Hello I just purchased a Qosmio G20-108 of ebay and the seller said that the laptop is ok but I had a virus previously and it wiped the HARD drive. The DVD player has so replaced it by a new one, but he couldn't just load the recovery of Windows Medi

  • SATA power for Slimline 450-121

    Just bought a drive additional sata hard. (to be added as a second drive) I see the (data) sata plug on the motherboard, but the power supply has only 1 sata power cable. How can I add power to my extra (second) drive sata hard? I watched 2 docs that

  • Error code 80073712 of Windows updates.

    I'm trying to fix an error code 80073712 (this does not allow me to install windows updates) Windows