Backup and Recovery advice needed

I have a database which is used for reporting on multiple customers. Data for each customer is provided on a monthly basis. Each montly dataset is stored in its own tablespace.
For example, customer A's data for Jan, Feb, Mar resides in three separate tablespaces:
tblspc_a_2010_01
tblspc_a_2010_02
tblspc_a_2010_03
The same is true for all other customers:
tblspc_x_2010_01
tblspc_x_2010_02
tblspc_x_2010_03
etc.
I care to only retain three months worth of data. With this way of organizing the data, I can simply drop the tablespaces and datafiles I no longer need.
The tablespaces need to be in read/write mode.
Now I'm trying to find the best backup & recovery method for this scenario. I'm thinking about using RMAN to make a compressed backup of each new tablespace as the data arrives, so that in case I need to recover, I can pick and choose which tablespaces to recover. I also want to be able to restore & recover tablespaces to a new database.
I would like some ideas and suggestions on the best way to go about this.
Thanks,
Christoph

Is all the data in this coming from other sources? That is, is it just a copy of data that is in other databases?
Assuming "Yes" I would consider breaking it into two pieces:
1. Data which can be easily and quickly refreshed from other sources.
2. Data which cannot be easily refreshed.
Number 1 does not need much in terms of recovery, perhaps a script.
Number 2 could use RMAN either a cold backup if your service level allows, or archivelog and RMAN so its always available.
I had a similar issue a while back and since all my data comes from other databases I wrote a complete refresh script. The script takes awhile to write but its in portable making recovery less of an issue. I run a full data pump nightly for an extra option. My script refresh 1 table at a time following this format:
1. Drop the table
2. Recreate the table
3. Add indexes
4. Add grants
5. Create or replace synonyms
next table.
Another advantage is you can refresh any table at a moments notice, the reporting tables have far fewer columns than the production version to save space.

Similar Messages

  • Does any one have good idea about the backup and recovery georaster table?

    Does any one have good idea about the backup and recovery georaster table?
    Best Regards,
    Lin
    Edited by: ylin on 2009-10-10 上午2:07

    for backup and recovery, please follow the standard procedure of general database backup and recovery. you need to backup both the georaster table and all related RDT tables.

  • Dell Backup and Recovery - Factory Recovery fails, need advice.

    Back story:
    I have tried this three times on three separate laptops, with poor results. Windows 7 on two of them and 8.1 one one, on all three the recovery partition is corrupt.I first boot it off of a live disk and backup any desired files. Then I boot, press F8, choose "Repair your computer" and discover that "Dell Factory Image Restore" is not one of the available options... so I boot the pc off of a different live disk and remove a bunch of "viruses", then I boot it off of the internal harddrive.In Windows I find that "Dell Backup and Recovery" may or may not be on the pc. It may or may not have ever been run before. If it is absent I download it and install it. When I run DBaR it tells me it needs to update, don't power off or disconnect the machine from the internet, etc. I then wait HOURS for this part to complete. When done it...
    This topic first appeared in the Spiceworks Community

    Country: Greece
    Ship date: March 04, 2013
    XPS 14 (L421X, Mid 2012)
    EMEA (Europe, Middle East and Africa) Support is not provided on the USA User Forum. You have to contact support in your country.
     Dell Backup and Recovery SOFTWARE support is also not provided here.
            Download Dell Backup and Recovery

  • 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.

  • Need help on Oracle manual Backup and Recovery?

    Dear Gurus,
    I want to study Oracle manual Backup and Recovery(without RMAN) in detail.
    Is there any book or site, which describes more scenarios and explanation on manual backup and Recovery(without RMAN)
    Regards
    Sanjeev

    user12868781 wrote:
    Dear Gurus,
    I want to study Oracle manual Backup and Recovery(without RMAN) in detail.Why?
    My car has a flat tire. The manufacturer packed a spare tire, jack, and lug wrench in the trunk of the car at no additional cost, and described the process in the owners manual. I want to replace the flat tire without using any method other than the one involving the use of the tools designed for and provided for the job.
    Is there any book or site, which describes more scenarios and explanation on manual backup and Recovery(without RMAN)
    Regards
    Sanjeev

  • 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

  • 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..

  • Making data in tables online and offline - Backup and Recovery

    Hi All,
    I'm working on a project where the functionality is similar to 'Backup and Recovery' for database tables.
    Lets say we have a set of 6 tables T1, T2.... T6. They do have relationship between them. The tables in questions are simple standard tables, which are not table partitioned.
    - I want remove the records from live tables based on user entered date ranges and store it in some offline medium.
    - I might want make the data online again from the offline medium; Application should be able use that data without any modifications.
    - Different offline mediums can be
    a) Flat file
    b) Different table space
    c) Any other secondary medium (like XML, tape..Etc,)
    The total number of records will run in millions.
    The proposed solution should consider,
    1. Performance - Java solutions not feasible. Anything in SQL, PL/SQL or runs in DB itself(tools) are OK.
    2. Reliability - Should be highly reliable, Data corruption simply unacceptable.
    3. Security - Users should not be able to make out of the file.
    Few options include:
    1. Use partition
    2. Use SQL*Loader
    3. Export and import of tables.
    My main targets:
    1. Reduce space.
    2. Increase performance for queries.
    Please pass on your suggestions, any help is highly appreciated!
    Thanks In Advance!

    Few points to note:
    1. I agree partition would be right solution, but as I mentioned in my earlier statement, 'The tables in questions are simple standard tables, which are not table partitioned.'. The tables right now are not partitioned and I believe we cannot add/modify partitions, if the table were not created with the partition option. One work around is to build a partitioned table and copying all the properties(indexes,rows,constraints) from the existing non-partitioned table. But I suspect this is highly riskier and we can't afford to it.
    2. I need to support Oracle database versions starting from 8.0.6.
    3. Flat file is mandatory, others are optional. I can restrict our discussion just for a file.
    4. Considering the above points, the only option I could think of is I can move the records from the table to flat file and remove from tables. When required rollback the file data to the table and application would be able to use it. For export/import few options are: SQL*loader, exp/imp utilities, PL/SQL file UTL packages
    Thanks In Advance

  • Hp backup and Recovery manager application to download for windows 7 home premium 64-bit file

    where to download file to install HP Backup and Recovery Manager for Windows 7 Home Premium 64-bit?
    How to overcome 9996 error while installing cyberlink power director for Windows 7 Home Premium 64-bit?

    Should the updates be installed in any particular order ? I have seen a post on the forums that it needs to be installed in a particular order

  • About Backup and Recovery in a distribuited enviroment

    Hi.
    I've read that if you more that one DB (say 2) connected in a distribuited enviroment, all DBs must be recovered in case one of your DBs fails.
    I'd like to clarify the folloiwng issues:
    - It that 100% true, i mean isn't an exception to that rule?.
    - What happens if one DB is in archive mode and the other is not?
    - Why do i have to restore both DBs if there's one one in trouble?.
    - Isn't there a way to tell recovery process that you don't want restore or apply the distributed data, since you know that data is already there (at least in the case of complete recovery)?
    Thanks in advance ...!

    I couldn't find much info on the topic for 9i (you don't mention your version), but found this in the Backup and Recovery Concepts manuls:
    "If the database is a member of a distributed database system, then all databases in the system should operate in the same archiving mode. Note the consequences and constraints contained in the following table.
    Mode Constraint Consequence
    ARCHIVELOG
    Closed cleanly
    Backups at each node can be performed autonomously, that is, individually and without time coordination.
    NOARCHIVELOG
    Closed cleanly
    Consistent whole database backups must be performed at the same global time to plan for global distributed database recovery. For example, if a database in New York is backed up at midnight EST, the database in San Francisco should be backed up at 9 PM PST."
    Therefore, I wouldn't recommend having one database in archivelog mode and the other not. As far as your last question is concerned, I'd say that Oracle won't try any recovery if there isn't a need for it (if the data is already there), but that could be tested to confirm. I think that you need to read carefully the RAC concepts manual, and try some backup/recovery scenarios hopefully on a test box.
    Daniel

  • 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 oracle XE

    Hi, oracle guru.
    I have searched in google how to backup and recover to and from removable disk or hard disk (in separated folder) in oracle XE 10g, but I didn't found any.
    I tried to use backup and recovery database given from oracle itself, and I analyze which file is added and modified. I do somekind of trial and error action. First, I backup my database and then I copy 2 files (I forgot the names, 1 is about 853 kb, and one is the backup file (about 500 mb)). And then I do some user deletion (I have several users) and then I backup and copy again to different folder from the previous one. Note that I am not using archive log: on.
    Unfortunately, when I copy the previous backup (the one with complete users) to oracle folder, the restore database does work until, I guess starting database, it throws error saying that something error in SYSTEM.DBF, thus making my oracle doesn't work, even I canot go to database home page.
    My question is that how to backup and recover database to and from removable disk or harddisk with different folder? Which files do I need to copy or should I add backup and recover script?
    Thanks for the reply.

    Yes, as I already mentioned, previously (assumes) that I have database with several users (say 5 users). And I use backup database and restore database from oracle folder in start menu, and it works perfectly (assuming that I delete one user and then restore database).
    However, I tried to copy the backup file (which I mentioned before, but I am not sure the files I am copying is backup file since I only analyzed it). So, I test it. First I backup, and I copy to separate folder. Next, I do some user deletion, and I do backup. Say, for example I want to use that backup file in another computer. I copy the files to oracle installation folder. One in product/database/ folder, and one in flash-recovery area. When I try to use restore database (in start menu), it works, until, I guess, starting database, and it throws error saying that error in SYSTEM.DBF.
    So, my point is that, how do I backup my database so that the backup file can be in separated folder (for example in removable disk), thus I can also select backup file to be restored.

  • Backup and Recovery Tool

    The Backup and Recovery doc for OCS 9 Rel 2 states that you can obtain the Oracle Collaboration Suite Backup and Recovery Tool from
    http://download.oracle.com/otn/solaris/cs/10g/9iAS_BR.tar
    This links gives a page not found error and a search does not help me.
    Anybody knows where I can find this file?

    I registered a SR on metalink, and the support person could not find it either....
    Here is what they said:
    Unfortunately despite my best efforts I have not been able to retrieve this 9.0.4 tool for you.
    It has been discontinued.
    I am closing this TA as unresolved.
    Please note that in the Collaboration Suite 10G there is a new tool called: ocs_bkp_restore.sh
    And it comes with the installation of collaboration suite (you don't need to download it).
    You can get more information on it from OTN
    Oracle Collaboration Suite Administrator's Guide 10g Release 1 (10.1.2) for Windows or UNIX
    Chap 11 Backing Up and Recovering Oracle Collaboration Suite
    http://download.oracle.com/docs/cd/B25553_01/collab.1012/b25490/ch_backing_up.htm#i1011638

  • Backup and recovery questions

    Hi,
    I am a newbie in Oracle database 11g Release 11.2.0.1.0 and Oracle Linux and I have questions regarding backup and recovery.
    I used the “Schedule Oracle-Suggested Backup” and have it run nightly to back up to local disk. In the Backup Setting, on the Retention Policy, I selected “Retain backup that are necessary for a recovery to any time within the specified number of days (point-in-time recovery) day = 7”
    With the setting above, I checked the “Manage Current Backups” and I have many back sets for SPfiles, controlfiles, datafiles, and archivelogs for the last several days. However, for image copies, I have only one set and it get over write nightly. With the configuration above, is that true that I can only recover to any point in last 24 hours?
    My goal is to be able to recover any “point-in-time” in the past 5 days, should I change my Retention Policy to “Retain at least the specified number of full backups for each datafile” to 5 backups (each full daily backup)?  Please provide some advices. Thanks

    By looking the following, it looks like by default its 24 hours but it depends upon the recovery window you choose.
    Enterprise Manager makes it easy to set up an Oracle-suggested backup strategy for backups to disk that protects your data and provides efficient recoverability to any point in the a recovery window of your choosing. (In the simplest case, examined in this section, this window is 24 hours.) The Oracle-suggested strategy leverages Oracle's incremental backup and incrementally-updated backup features to provide faster backups than whole database backups, and faster recoverability than is possible through applying database changes from the archived log to your datafiles.
    The Oracle-suggested backup strategy is based on creating an image copy of your database. This copy is rolled forward by means of incrementally updated backups. Oracle Enterprise Manager schedules RMAN backups jobs for you to run during the overnight hours.
    For each datafile, the strategy calls for backups as follows:
    At the beginning of day 1 of the strategy (the time the first scheduled job actually runs), an incremental level 0 datafile copy backup. It contains the datafile's contents at the beginning of day 1. In a restore-and-recovery scenario, the redo logs from day 1 can be used to recover to any point during day 1.
    At the beginning of day 2, an incremental level 1 backup is created, containing the blocks changed during day 1. In a restore-and-recovery scenario, this incremental level 1 can be applied to quickly roll forward the level 0 backup to the beginning of day 2, and redo logs can be used to recover to any point during day 2.
    At the beginning of each day n for days 3 and onwards, the level 1 backup from the beginning of day n-1 is applied to the level 0 backup. This brings the datafile copy to its state at the beginning of day n-1. Then, a new level 1 is created, containing the blocks changed during day n-1. In a restore-and-recovery scenario, this incremental level 1 can be applied to the datafile rolled forward on day n-1 to the beginning of day n, and redo logs can be used to recover the database to any point during day n.
    The datafile copies used in the Oracle-suggested backup strategy are tagged with the tag ORA$OEM_LEVEL_0. The level 1 incremental backups for use in this strategy are created for use with datafile copies that are so labelled. You can safely implement other backup strategies without concern for interference from the backups for the Oracle suggested strategy.
    There are also Oracle-suggested strategies that use tape backups along with disk backups, but those are beyond the scope of this chapter.

Maybe you are looking for