Backup and recovery tablespace.

Hi all,
one is production server and second one is totally fresh server. I had created database manually.
We are migrating the database from hpux to hpux but from one server which is in boston and second server is on chicago.
which is the fast way to do it.
is there any good documents which i can refer?.
thanks a lot.

Logical steps for database backup and recover.
1)     Take RMAN full backup of the 5 customer tablespaces being migrated from
H1 to the mounted Data Domain Server
Read the script for convert tablespace. :Convert data files for non asm server.
2)     Restore table space to the tower hpux server for the new database.
3)     Take an incremental backup from HPUX Burlington. Then repeat step 2nd again for the restore tablespace.
Physical steps for database backup and recover.
1)     This will take a Full backup of table space automatic.      TABLESPACE BACKUP=
RMAN> run {allocate channel d1 type disk;
     backup
     tag tbs_users_read_only
     convert tablespace (table space_name) format '(location for backup tablespace 
/backups/ (NEW NAME)tbs_2_%U.dbf '
     (tablespace users)(TABLESPACE SYSTEM)(REST);
     release channel d1; }
2) At HTTOWER database make a table space offline and restore and recover the system.     
sql ‘alter tablespace tablespace_name offline;
restore tablespace tablespace_name;
recover tablespace tablespace_name; (change no);
sql ‘alter tablespace tablespace_name online;
3) Take a Incremental level table space backup from burlington.
BACKUP INCREMENTAL LEVEL 1
     TABLESPACE (tablespace_name)
     DATAFILE 'ora_home/oradata/trgt/tools01.dbf';
(For all the data files.)
4) At HTTOWER database make a table space offline and
restore and recover the system.     
sql ‘alter tablespace tablespace_name offline;
restore tablespace tablespace_name;
     recover tablespace tablespace_name;
sql ‘alter tablespace tablespace_name online;
something like this..

Similar Messages

  • Backup and recovery a tablespace

    Hi all,
    I recently started reading about oracle backup and recovery concepts, and  I needed to understand what is happening where we put a tablespace to a backup mode (alter tablespace tablespace_name begin backup) ?
    thanks for help

    Three things happen when you put a tablespace in hot backup mode:
    1. A checkpoint is issued, so that dirty blocks belonging to that tablespace are flushed to disk
    2. The header of the datafiles associated with the tablespace are locked from further update by CKPT.
    3. The first insert/update/delete that affects a data block that is part of the tablespace being backed up, after the 'begin backup' command is issued, causes the entire block to be written to the online redo logs. Second and subsequent changes generate the same amount as redo as normal, though.
    That's it. As Hemant mentions, the really important bit is number 2 in that list: whilst the header of the datafile(s) is locked, the datafiles themselves are not, and are written to as much as they always are. The idea that somehow the datafiles are not written to and that the redo logs are the only place that stuff is written to during the backup is completely and utterly wrong. CKPT is not allowed to write to the header, because that way, we know the earliest "age" of the datafile copy when it went into backup mode, and thus know the point from which redo needs to be applied during a recovery. But DBWR writes to the rest of the datafile perfectly normally.
    Number 3 is also important, because it's why we don't leave tablespaces in hot backup mode more than we can help: the amount of redo generated increases because we need a 'starter image' for any block that's modified during the backup.

  • Oracle Backup and Recovery 101: where can I get more information?

    Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can.
    I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I just want to learn more.
    What I mean is, I understand a lot of the high level concepts. It is pretty much straight forward. What I am looking for is something that really goes down in the internals of what is going on behind the scenes so I know what is going on.
    I thought it would be extremely beneficial for me to learn about user backups. Granted, RMAN is the direction my company is heading to, but right now, we are doing user made backups. My thinking is that if I can get a solid grip and understanding of backup and recovery, user made backups, it will make the transition to RMAN much easier. That way, when I am working in RMAN, issue a command to do backup, I know the equivalent of a user backup and what is going on.
    I hope that makes sense.
    Is there a recommended book that goes over backup and recovery in depth?
    I'd like to learn about all the user-made backup commands that can be executed at the command line (example, putting a tablespace in backup).
    Since backups are essential to the life of a DBA, I thought the more I know, the better off I would be.

    You can always find good information from Oracle document site,
    Oracle® Database Backup and Recovery Basics
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Oracle® Database Backup and Recovery Advanced User's Guide
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
    User managed backup is quite different from RMAN backup. For RMAN backup you need to get familiar with the RMAN command syntax and configure.

  • BACKUP AND RECOVERY USING RMAN

    제품 : ORACLE SERVER
    작성날짜 : 2003-08-04
    BACKUP AND RECOVERY USING RMAN
    ==============================
    1. Backup Method
    1.1 backing up in noarchivelog mode
    SVRMGR> shutdown;
    SVRMGR> startup mount
    rman을 가동시킨 후 다음을 수행
    run {
    # backup the database to disk
    allocate channel dev1 type disk;
    backup (database format '/oracle/backups/bp_%s_%p'); }
    1.2 Backing up databases and tablespaces in archivelog mode >
    - database 단위 backup script
    run {
    allocate channel dev1 type 'sbt_tape';
    backup skip offline (database format '/oracle/backups/%d_%u');
    release channel dev1;
    - tablespace 단위 backup script
    run {
    allocate channel dev1 type disk;
    backup
    (tablespace system,tbs_1,tbs_2,tbs_3,tbs_4,tbs_5
    format '/oracle/backups/bp_%s_%p');
    - datafile 단위 backup script
    run { 
    allocate channel dev1 type disk;
    backup
    (datafile '?/dbs/t_dbs1.f'
    format '/oracle/backups/%d_%u');
    - control file backup script
    control file은 system datafile의 첫번째 화일을 백업받을 때 백업되며 다음과
    같은 방법으로도 백업받을 수 있다.
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (tablespace tbs_5 include current controlfile
    format '%d_%u');
    - archived logs backup script
    NLS_LANG=american
    NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (archivelog from time 'Nov 13 1996 20:57:13'
    until time 'Nov 13 1996 21:06:05'
    all
    format '%d_%u');
    run {
    allocate channel dev1 type 'sbt_tape';
    backup
    (archivelog low logseq 288 high logseq 301 thread 1
    all delete input
    format '%d_%u');
    - copying datafiles
    run {
    allocate channel dev1 type disk;
    copy datafile '?/dbs/tbs_01.f/dbs/tbs_01.f' to '?/copy/temp3.f';
    - incremental backups
    새로운 데이타화일이 추가되거나 테이블스페이스가 추가된다면 level 0의 backup을
    반드시 수행한다.
    run {
    allocate channel dev1 type 'sbt_tape';
    backup incremental level 0
    (database
    format '%d_%u');
    run {
    allocate channel dev1 type 'sbt_tape';
    backup incremental level 1
    (database
    format '&d_%u');
    2. Recovery Method
    - tablespace recovery
    run { 
    allocate channel dev1 type disk;
    allocate channel dev2 type 'sbt_tape';
    sql "alter tablespace tbs_1 offline immediate" ;
    set newname for datafile 'disk7/oracle/tbs11.f'
    to 'disk9/oracle/tbs11.f' ;
    restore (tablespace tbs_1) ;
    switch datafile all ;
    recover tablespace tbs_1 ;
    sql "alter tablespace tbs_1 online" ;
    release channel dev1;
    release channel dev2;
    - point-in-time recovery
    TBS_1 테이블스페이스는 두 개의 데이타 화일 소유. TEMP1은 백업이 없으나 user
    data는 없는 temporary segemnt만 가지고 있음.
    NLS_LANG=american
    NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
    SVRMGR> shutdown abort;
    SVRMGR> startup nomount;
    run { 
    # recover database until 3pm after restoring tbs_1 to a new location
    allocate channel dev1 type disk;
    allocate channel dev2 type 'sbt_tape';
    set until time 'Nov 15 1996 15:00:00'
    set newname for datafile '/vobs/oracle/dbs/tbs_11.f'
    to '?/dbs/temp1.f' ;
    set newname for datafile '?/dbs/tbs_12.f'
    to '?/dbs/temp2.f' ;
    restore controlfile to '/vobs/oracle/dbs/cf1.f' ;
    replicate controlfile from '/vobs/oracle/dbs/cf1.f';
    sql "alter database mount" ;
    restore database skip tablespace temp1;
    switch datafile all;
    recover database skip tablespace temp1;
    sql "alter database open resetlogs";
    sql "drop tablespace temp1";
    sql "create tablespace temp1 datafile '/vobs/oracle/dbs/temp1.f' size 10M";
    release channel dev1;
    release channel dev2;
    - 전체 데이타베이스를 복구하려 할때
    current redologfile이 존재할때 다음과 같은 작업으로 전체 데이타베이스를 복구할
    수 있다.
    replace script restore_recover_db_cf {
    execute script restore_cf;
    sql 'alter database mount';
    execute script restore_db;
    execute script recover_db;
    sql 'alter database open resetlogs';
    replace script alloc_1_disk {
    allocate channel d1 type disk;
    setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200;
    replace script rel_1_disk {
    release channel d1;
    replace script restore_cf {
    execute script alloc_1_disk;
    restore
    controlfile to '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
    replicate
    controlfile from '/private/db_files/twih/dbf/ctrl_twih_1.ctl';
    execute script rel_1_disk;
    replace script restore_db {
    execute script alloc_1_disk;
    restore
    (database);
    execute script rel_1_disk;
    replace script recover_db {
    execute script alloc_1_disk;
    recover
    database;
    execute script rel_1_disk;
    Reference Documents
    <Note:104796.1>

    Hi Alok,
    why there is a need for standby here? you mean to say standby db?
    what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

  • Which one is the Best Backup and Recovery Method in your point of view?

    Friends,
    Currently we are taking hot backup with archive mode.
    we have backup script to copy the datafile and we will copy the archive files in a separate folder.
    alter tablespace system begin backup;
    host cp /u01/app/oracle/oradata/livedb/system.dbf /u02/online_backup
    alter tablespace system end backup;
    like the above script we will copy all the other data files.
    then in the test environment. we will copy the datafile and archive file.
    we will be recovering by using the below statement.
    sql>recover database until cancel using backup controlfile.
    currently no problem in backup and recovery.
    What i want is......
    is there any other sophisticated and safe way to take a backup and restore it to another server?
    if yes, can anybody point out the steps or link.
    I have heard about......
    DataGuard
    RMAN
    EXP/IMP
    but i never used the above.
    Thanks
    sathyguy

    DataGuard
    RMAN
    EXP/IMP ...
    The only real backup/recovery method here is RMAN, Oracle's integrated backup/recovery tool, which I prefer. As an example for a fully functional RMAN command see 'backup database plus archivelog delete all input'. This statement provides a complete hot database backup including archivelogs and deletes at the successful end all archivelogs in all destinations . Compare this statement with all the steps necessary to do the same job manually. Don't worry you have many ways to finetune your backup.
    For more informations there's a quick start guide:
    http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm
    Dataguard is a high availibility tool, which provides a kind of backup in terms of having a logical or physical standby database. When primary side fails you can switch to this standby database. Such a constellation does not mean, database backups are no longer necessary.
    Export/Import is a logical backup, still often used to recover from human errors (you accidentally dropped a table for example). Don't use it as a replacement for physical backups, especially hot backups,in case of media failures you always will have loss of data, because changes made afterwards the export are not captured.
    Once again I recommend you seriously should consider RMAN.
    Werner

  • Tools of Backup and Recovery

    can any one tell me what are the tools of backup and recovery in the Oracle database?

    gqmallah wrote:
    Tools used for backup and recovery of an Oracle database are as follows:
    1. Export and Import Utilities
    2. Backup Mode Tablespace Copies
    3. RMAN (Recovery Manager)
    4. Oracle Enterprise Manager and the Database Control
    5. etcPlease note that #4 is not a tool for backup and recovery, but a web-based front end to the real tools listed in #1 through #3
    Edited by: EdStevens on Nov 19, 2009 9:00 AM

  • Backup and Recovery from Archive Log

    Dear all,
    I implemented hot backup with oracle9i and
    Can anybody suggest me how to backup and recovery archive log ?
    Thanks for advance.
    Chara

    assuming you are using RMAN for backup -
    backup ( archivelog all );
    backup ( archivelog all delete input ); - to delete from file system.
    If you are not using RMAN but backup using a script which puts the tablespaces in hot backup mode then you just need to backup archive log directory.
    The archive logs are required when you need to do a database recovery. You don't recover archive log files.
    rgds

  • Backup And Recovery on 7.2.3

    i need information on backup and recovery, please help me.(from begin)
    i don't speak english, but don't worry, i read the english.
    Thanks you.
    Oscar Rojano. [email protected]

    i suggest you read the oracle backup and recovery manual sections, or take the course, as this is an extremely important topic.
    a cold backup is done when the database is down. to do a cold backup, first shutdown the database. then backup all datafiles. then restart the database. you can use this type of backup if your business can tolerate the database being down for the time it takes to do the backup.
    a hot backup is done when the database is up and running. the database must be running in archive log mode. then, a hot backup can be performed by putting tablespaces into backup mode, and then backing up the affected datafiles. whenever you do a hot backup, you must be sure to also back up all archive log files from the start of the backup through the end of the backup. if you must restore the backup, and you don't have the archive logs, your database will not start and you will not be able to get it back.
    an export is a backup of selected tables. it is not a complete backup and should not be used if a fast, complete recovery of the entire database is required. it is good if a fast restore of a single table is something you need to do often. be aware of database consistency problems if you are restoring a single table that is updated frequently.
    depending on your requirements, you will use one or more of the three backup solutions above.
    i would recommend that you use the oracle RMAN (recovery manager) tool, in conjunction with an enterprise backup tool from HP, Veritas, or IBM, to be sure your backups are as complete and reliable as possible.

  • I want to find any backup and recovery solution for SharePoint server 2013 enterprise

    Dear Expertise,
    Recent set up SharePoint server 2013 Enterprise, and looking for backup and recovery solution, does the built in Windows Backup can handle it, and how?
    KF

    Hi,
    According to your post, my understanding is that you wanted to know some backup and restore solution for SharePoint 2013.
    There are two Technet articles about the backup and restore, you can have a look at them.
    http://technet.microsoft.com/en-us/library/ee428315(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ee662536(v=office.15).aspx
    You can also use some third-part software tools to achieve the same scenario.
    http://www.avepoint.com/products/sharepoint-infrastructure-management/data-protection/
    http://www.sharepointreviews.com/sharepoint-reviews-articles/sharepoint-administration/254-sharepoint-backup-recovery-evaluation
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • LIVE Video Tutorial! How to Prepare for Backup and Recovery - HP Expert Day "How-To" Video Series – Today at 2:00pm PST

    Join us at 2:00pm Pacific time for a LIVE video tutorial of how to prepare for system backup and recovery! The video features HP experts who work with the products every day!
    I am an HP employee.

    #test

  • Windows 8.1 recovery problem and install dell backup and recovery software...

    i had upgrade my windows to 8.1, the problem is that i cant install Dell backup & recovery, when i installing and updating PE I get FACTORY SETUP ERROR 5
    is there any technical help me please...thx
    however...its cant recovery or reset my laptop back to factory image...
    just like this photo...
    recovery cant... refresh also cant...

    Same problem here: windows 8.1, dell backup and recovery 1.6.2.4. During the installation, when the box of "updating PE environment" appears, i get "factory error 5"
    Is there any solution?
    Regards

  • Logical backup and recovery using export/import

    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......

    user12864080 wrote:
    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......Vasant,
    Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
    http://www.evdbt.com/TD_Rman.pdf
    Aman....

  • Issue with backup and recovery of WLS

    I have installed WLS 10.3.6 in my 64-bit Linux box, now I am trying to take backup my server. I have a web-application deployed to my WLS, the path to my war file was something like:
    <home_dir>/install_files/myapp.war
    Now to take backup I ran tar command on my current Linux box, now I copied the .tar files to my new Linux box and extracted it. When I am starting my weblogic server it is looking for the war file from the path <home_dir>/install/myapp.war which does not exist on my new machine. So I logged into Admin console of WLS on my new machine and trying to change the path for myapp.war by clikcing update button. But I am getting this error when I change the path:
    weblogic.management.ManagementException: [Deployer:149007]New source location, '/u01/Oracle/install_files/myapp.war', cannot be deployed to configured application, 'myapp'. The application source is at '<home_dir>/myapp.war'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
    Update operation failed - no deployments changed.
    Please help me how to deploy my files. I'm expecting backup and recovery option should also take care of deployed files but it is not happening in my case, is that wrong?

    1. There is no specific order, but last to go down should be CMS and first to come up should be CMS.
    @echo off
    Stop Business Objects Services
    echo
    net stop "BOBJCrystalReportApplicationServer"
    net stop "BOBJEventServer"
    net stop "BOBJProgramServer"
    net stop "BOBJOutputFileServer"
    net stop "BOBJProcessServer"
    net stop "BOBJInputFileServer"
    net stop "BOBJDestinationServer"
    net stop "BOBJCrystalReportspageserver"
    net stop "BOBJJobServer_Report"
    net stop "BOBJCentralMS"
    exit
    Similarly to Start services, instead of stop use start and put CentralMS at the top and save it as a batch file.
    2. Jobs running when the server goes down will fail, other recurring jobs will wait till the server comes up.
    3. Yes, backup File Store & Database.
    4. Not sure about the default password for My SQL, you should be able to backup the MySQL database, I have done that once.
    5. Backup FileStore & Database.

  • Dv6775us HP Backup and Recovery Manager software corrupted - can't find download

    I am getting an HP error message saying the HP Backup and Recovery Manager software has been corrupted and needs to be updated. For over an hour I have been frustrated trying to find where on this site to download a replacement of what was installed or an upgrade that would repair the problem.
    Can anyone point me to where I can get the software? Thanks.
    HP Pavilion dv6775us
    Vista Home Advanced

    Did you make a recovery disk set or usb recovery media?
    If you did, then you are in luck because  that is the software that can be used to reinstall the Recovery manager.
    The downside is that you will have to do a  factory image recovery to reinstall the software.  A recovery is a destructive process, unlike a Windows stystem restore. A recovery will mean that you  will needto save all of your data externally  to avoid losing it and reinstall all of your programs after the recovery is complete.
    Regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Need clarification for cold backup and recovery

    Hello Everyone ..
    I have much confusion on cold backup and recovery topic.
    Already i posted a scanario regarding this and i want to know some clarity points to understand.
    1. I had cold backup two days before
    2. I am creating an object *(EMP)* and inserting some records then issue log switch continiously.
    3. Manually i removed all physical files (datafiles , control files , log files , redolog files ...)
    4. then i issued STARTUP FORCE MOUNT;
    5. here i am getting error identifying control file.
    6. cold backup two days before all files restored
    6. then i issue recover database using backup controlfile until cancel;
    7. i am trying to issue select * from emp; i am getting error
    select * from emp
    *ERROR at line 1:
    ORA-00942: table or view does not existMy QUESTION IS
    After cold backup finished , i created emp table ..
    when restoring old back " There is no emp table"
    *- then , can i recover emp table ? - If so , please explain about this ..*
    Note : REF - LINK https://forums.oracle.com/forums/message.jspa?messageID=11056341#11056341
    - Above link says what i did ? . In this thread i am asking concept & logic ..
    please do NOT consider as "*DUPLICATE*"

    When you recover the database using backup controlfile until cancel, you have to apply archived logs. Did you apply all of them?
    If the create command was in the online redo, not yet archived, and you lost the online redo, then you won't have it. This is why you want to have redo multiplexed, it is a critical piece.
    In some recovery scenarios, if you haven't lost the online redo, you need to specify those files as if they were archives.
    It is normally easier to just be sure you have the latest controlfiles and let Oracle figure it out automatically (which is why you want to use online RMAN backups rather than cold backups). But yes, it is important to understand what is going on for different scenarios. I used to have manual standbys, and one of the disaster instruction sets explained to try to get online redo over to the standby to lose as few transactions as possible. That could still be useful for some snapshot hardware type scenarios, assuming the business is too cheap to do proper failovers.

Maybe you are looking for