Can I take a backup of a database in standby mode?

Can I run backup on a database that is in standby mode because it is the DR box receiving log shipping?
Does that work in SQL 2005?  How about SQL 2000?
Thanks.
Josh
ps - I know I should just try it, I've already Googled it - with mixed results.

https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=466121
Please allow backup of database in standby mode!
This comes up as a very common requirement in HA/DR planning. Logs are shipped over a (relatively) small pipe to a DR site, for days or weeks or months. As part of a (partial) failover plan, we need a full backup of a current version of the database to restore on another server on the DR side - but we cannot take the main DR (secondary) copy out of standby without breaking the log chain. Yes, we might have to pause the application of logs - or possibly not - in order to take the backup of a large-ish database. But the alternative is shipping a large backup all the way from production over that small pipe, which can be prohibitive.
Thanks for the reminder, Tibor.
Josh

Similar Messages

  • Can't take export backup

    Hello,
    I can't take export backup as it ends up with a message column name invalid.How to solve the problem. My database is on UNIXWARE 7.1.1 & Oracle8i.
    D ROY
    SHILLONG- INDIA

    content of the log file:
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    Export done in US7ASCII character set and US7ASCII NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name
    EXP-00000: Export terminated unsuccessfully
    Last line of the dmp files
    CONNECT SYSTEM
    EXECFULL DBMS_DISTRIBUTED_TRUST_ADMIN.allow_all;
    CREATE SEQUENCE "AQ$_QIDSEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE
    ___________________________________

  • Can we take rman backup image copy to multiple location

    Hi All,
    We are planing to move database from old storage to new storage on the same server.
    planing to use RMAN image copy to copy the db files from old storage to new storage and then switch database to copy.
    Currently dbfiles are on /u01, /u02, /u03, /u04 and we are planing to move to new storage /u05, /u06/, /u07
    Is there any way that i can copy all the dbfiles to /u05,/u06,/u07
    Backup as copy database format '/u05
    As i know i can move to single location. Is there any way copy to multiple location using image copy.
    Please suggest.
    Thanks

    Hi
    I will try the below command.
    BACKUP AS COPY
      DB_FILE_NAME_CONVERT ('/u01/..','/u05/...','/u02/...,','/u06/..')
    database;
    I believe this will work.
    Thanks

  • Can we take Incremental backups without Level 0 backups

    Kindly share the procedure if any by which we can initiate an incremental backup without Level 0 backup

    Kindly share the procedure if any by which we can initiate an incremental backup without Level 0 backup
    There is NO such procedure.
    You can't 'increment' something that doesn't exist can you?
    Please increment the previous number by 1. Can you do that? Of course not because there IS no previous number.
    BY DEFINITION (see the doc) an incremental backup for any level but 0 REQUIRES a previous backup:
    an incremental backup copies only those data blocks that have changed since a previous backup
    A level 1 incremental backup can be either of the following types:
      A differential incremental backup, which backs up all blocks changed after the most recent incremental backup at level 1 or 0
      A cumulative incremental backup, which backs up all blocks changed after the most recent incremental backup at level 0
    Incremental backups are differential by default.

  • Can i take the backup of entire ios 6 on my PC?

    How?
    Please tell me the steps..

    If you are talking about backing up the iOS S/W then no, a backup does not contain any iOS software.
    if you are talki about backing up your Apps and  Data then yes, See here: Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support

  • Can I take XAP backup

    Our product in built using Silverlight. In one our implementation our customer
    clears the browser cache on a daily basis. So our application downloads the xap
    file everytime.
    Can we store the xap file in a specific location of the
    user's machine and retrieve the same?
    Or is there any solution to
    control/direct the caching of the Silverlight application.
    Or is there any
    way to clear only specific application cache from IE.
    Please advice.

    Hi,
    Please refer to following article and check if can help you.
    Prevent your
    Silverlight XAP file from caching in your browser
    In addition, this issue seems to be more related to Silverlight. I suggest that you would post your question
    in
    Silverlight Forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu

  • Consistent Backup Of Online Database

    Hi
    How can I take consistent backup of online database.
    If I open database in read only mode and take RMAN backup + Full Cold Backup from operating system commands.
    Did the above backups will be consistent?
    If yes please advise how to alter the status of system to read only.
    Wishes
    Jawad

    Cold backups are known to be a consistent backups , while Hot Backups are not considerd as conssistent backups, you required archivelogs to make them consistent . I am bit strange that you are using two backup methods . I would suggest you to use Hot Backups , if you have production database , otherwise cold backups will do the trick for you .
    Hare Krishna
    Alok

  • Copying or backup of a database

    Hello all,
    This may be a very simple question to answer. I am looking at getting a (copy) of our live database off our live server (Sql management studio 2005) and moving into a test server for testing. I want the live database to still be active , with just a copy
    of it on our other server. What is the best way to do this? Can I do this without taking the live database offline?

    Take a backup of the database , move the backup to test server and restore it there. You can either do the backup and restore via GUI or use transact-sql statements.
    https://msdn.microsoft.com/en-us/library/ms187048(v=sql.90).aspx
    http://www.sqlteam.com/article/backup-and-restore-in-sql-server-full-backups
    This will not effect your live database.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • How to take cold  backup

    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs

    neeraj19 wrote:
    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs"while i cannot c the datafiles thoes r on san"
    I guess that must some shorthand for "I cannot see the datafiles, those are on san."
    If so, what does being on san have to do with being able to see the files?
    In any event the answer to any question about "how do I backup" is the same .... RMAN.

  • Backups for large databases

    I am wondering how people do restores of very large DB's. Ours is not that large yet bit will grow to the point where exports and imports are not feasible. The data only changes periodically and as it is a web application,cold backups are not really an option. We don't run in archived log mode because of the static nature of the data. Any suggestions?

    put the read only tables in a read only tablespace and slowly changing tables to another tablespace. the most frequent ones in another tablespace.
    take transportable tablespace export of the frequently changing tablespace daily and slowly changing 2-3 times a week (depending on your site specifics). this involves nothing but a metadata export of the datadictionary info of the tablespaces exported and an OS level copy of the datafiles of those tablespaces.
    this is the best way for you to backup/recover. check out oracle documentation or this website for transportable tablespaces.
    I guess it comes to a point where you have to make a tradeoff between performance and recoverability. In my opinion always take recoverability over performance.
    If the periodic change of data is nothing but a bulk data load then after the dataload take a backup of a database. having multiple recovery scenarios is the best way for recovery.

  • Online backup of RAC database

    HI,
    Is it possible to take hot backup of RAC database ?
    If so, may i know wht is the process.
    and what are the files inluded in this backup?
    Thnx

    Plz check this doc
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/rmanops.htm
    regards,
    Shaan

  • Can I use data guard to create a RAC standby database for a non RAC primary

    Hi,
    we need to RAC our production database but the normal methods will mean a long outage. It is possible to create a standby as a single node RAC database and when ready do a graceful failover to the standby database and open it for business. The next step would be to create another RAC node from this on the original server.
    servers are already cluster aware, using ASM etc
    Oracle 10.2

    Yes, you will be able to setup RAC stnadby for a non-RAC Primary. For primary it just needs a available destination for redo shipping it doesn't matter whether it's RAC enabled or not. And ofcourse you are using 10.2 anyway only one node will be running MRP and that is too in standby mount mode.
    However since you have are using You may follow below sequence.
    1. Setup a new standby as RAC enabled.
    2. Perform a switchover.
    3. Shutdown the Old primary (which is standby now).
    4. Install CRS and RDBMS on the old primary and it's new node.
    5. Modify the cluster_database=TRUE and cluster_database_instances=<required number of instances>.
        With above modification mount the standby database in standby mode and start MRP.
    6. Introduce the database and instances to the OCR using SRVCTL add command.
    7. Once you your database is synchronized with Primary do a switchover.
    9. Now you can repeat step 3 to 6 on the other site too.   <- if you need your secondary site to be RAC enabled too
    10. Finally both the sites should be RAC enabled.
    Hope this is helpful!!!
    Thanks,
    Asif Haliyal

  • Database in Archivelog mode

    Hi
    All,
    I have oracle 9.2.0.6 at my workplace.right now my database running in ARCHIVELOG MODE. I want to set it to NOARCHIVELOG MODE.
    can I do on the fly? in other way, Do I need to shutdown and restart database?
    Any help will be appreciated.
    Thanks,
    Vishal

    Hi,
    Issue the following commands to put a database into NOARCHVELOG mode:
    1) Take Back up of Present SPfile by creating pfile
    create pfile from present spfile.
    2) Shutdown the database by SUTDOWN IMMEDIATE.
    3) Take Cold backup of the database.
    4) Change the parameter in the pfile.
    log_archive_start = FALSE
    #log_archive_dest_1 = 'LOCATION='Your location'
    log_archive_dest_state_1 = DISABLE
    #log_archive_format = %d_%t_%s.arc
    5) And make a spfile from the modified pfile in default location .
    6) Start the database with spfile.
    SQL> CONNECT sys AS SYSDBA
    SQL> STARTUP MOUNT ;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ARCHIVE LOG START;
    SQL> ALTER DATABASE OPEN;
    NOTE 1: Remember to take a baseline database backup right after disabling archivelog mode. Without it one would not be able to recover.
    Regards
    Jafar

  • Why we need oracle database reboot to put database in  archivelog mode?

    I know how to enable archivelog mode, but what is the reason that to enable archive log we need database restart. which process forces to do that.

    SantoshGanjure wrote:
    Thanks a lot EdStevens for ur prompt response...I need something that satisfies my managers query.
    If the question has originated with the PHB, then my flippant answer is even more relevant ...
    PHB's are incapable of understanding the technical details, so I prefer to give them the 'executive summary':
    "Because that's the way Oracle is written.  We can argue over the technical merits of such a requirement 'till the cows come home.  But at the end of the day, we have to shut down the database because the 'alter database archivelog' command will only succeed when the database is in mount (not open) mode.  Now, let's work out how we can achieve our objective of putting the database in archivelog mode with minimal and appropriately scheduled down time."
    As for the actual down time, it's about as minimal as you can get.  How long does it take your database to complete a shutdown once the command is given?  How long does it take you to type "startup mount"?  How long does it take you to type "alter database archivelog"?  to type "alter database open;"?  For the database to complete the 'open' process?  You could even script it so as to eliminate the keyboard typing time.

  • How can i take a Database Backup

    Hi,
    Any one Tell me How can i take backup for My Database which is running in the given version
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE     9.2.0.3.0     Production
    TNS for Linux: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    Help me

    Few days ago, I've seen a similar question in this forum. Backing up database involves many dependencies. It is not something you can get in a forum.
    To start with....
    http://tahiti.oracle.com
    Cheers
    Sarma.
    P.S: I couldn't find the documents server up. So couldn't give the DBA book link.

Maybe you are looking for