Home > Ask the Oracle Database / Applications Experts > Oracle database backup and recovery Questions & Answers > Hot backup when Oracle Database is up
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Hot backup when Oracle Database is up

Brian Peasland1 EXPERT RESPONSE FROM: Brian Peasland1

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 27 June 2008
What is the procedure for doing a hot backup when the database is up?

>
There are two ways. The preferred way with Oracle's databases today is to use RMAN. The following will perform a hot backup using RMAN:

rman target /
run {
   allocate channel t1 type disk format '/dir/%d_FULL_%U ';
   backup database;
}

Alternatively, you can place a tablespace in hot backup mode by the following:

ALTER TABLESPACE ts_name BEGIN BACKUP;

Once a tablespace is in backup mode, you can use any OS utility to copy the tablespace's datafiles to the backup location. Once the tablespace backup is done, end the tablespace backup:

ALTER TABLESPACE ts_name END BACKUP;

Repeat for each tablespace.

Read more about hot backups and other backup and recovery issues in our Database storage management All-in-One Guide.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle database backup and recovery
Can I perform an Oracle server backup through a client machine?
How to execute DML in an Oracle trigger with EXECUTE IMMEDIATE
How to restore a dump file with the Oracle SHOW=Y option
Why do I get an Oracle not available error with Oracle 8i on Windows?
How to perform Oracle database recovery with a corrupt online redo log
Can I create an Oracle Catalog Database with the Enterprise Console?
Do I need to recreate views after an Oracle table reorg?
Client-based apps vs. web-based apps in Developer 2000
How to perform an Oracle 8i to 10g migration
Can I move the tablespace online with missing datafiles in Oracle?

Oracle database administration
How to rebuild a built-in Oracle package body
How to use a wrapper script with cold backups in Oracle
How to rebuild a database to change Oracle block size
Can we use a single database update trigger for an Oracle database upgrade?
Understanding Oracle cost-based optimizer (CBO) and rule-based optimizer (RBO)
The top 10 Eye on Oracle blog posts of 2008
The top advice from Oracle experts in 2008
Web 2.0 users, community and participation in the enterprise
Enterprise search and links for Web 2.0
Tips for Web 2.0 success and setting Web 2.0 goals in the enterprise
Oracle database administration Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts