RMAN to back up the database. Here I only backed up the data files that are prepared to create bad blocks for quick experiments.
[Oracle @ bys001 ~] $ Rman target/Recovery Manager: Release 11.2.0.1.0-Production on Fri Sep 13 13:28:36 2013Copyright (c) 1982,200 9, Oracle and/or its affiliates. All rights reserved.Connected to target database: BYS1 (DBID = 395752
1. Automatic Backup
You can use the exp method (provided that you have the export permission) and write a script for the operating system. If you have a Windows system, you can write a BAT file and use exp to export it, then, add bat to the scheduled task.Backup. bat
--CodeAs follows:Echo offExp system/Sa @ orcl file = D: \ autobackup \ ies % date %. DMP log = D: \ autobackup \ ies % date % _ exp. log owner = (ies) buffer = 655000 compress = y
P
Brother this set of Oracle Tutorial training to learn Oracle data pump EXPDP/IMPDP concept and command parameters and use method, configure the production environment of logical automatic backup strategy, EXPDP/IMPDP production environment data migration process and actual case, character set, version compatibility, how to stop EXPDP and IMPDP background process
Oracle system backup and recovery scenarioI. Overview 1.1 Concept of backup
Backup is the process of copying a database to a dump device. Where a dump device refers to a tape or disk that is used to place a copy of a database.
What kind of
Oracle database Backup and restore basic commands1. Get Help$ exp Help=y$ imp help=y2. Three ways of working(1) Interactive mode$ exp Then follow the prompts to enter the required parameters(2) command line mode$ exp User/[email protected] file=/oracle/test.dmp full=yEnter the required parameters in the command line(3) Oracle
Tags: Modify OCA res scope control File View 11g routed iOS1. Understanding Backup and Recovery issuesThree indicators related to backup recovery are: MTBF average trouble-free timeMTTR mean failure recovery time.Data loss: How much to lose the book data.There are three adva
= ''; System altered. SQL> alter system set log_archive_dest = '/home/oracle/backup'; System altered. SQL> archive log listDatabase log mode Archive ModeAutomatic archival EnabledArchive destination/home/oracle/backupOldest online log sequence 3Next log sequence to archive 5Current log sequence 5Note:
By default, archive logs are stored in the directory
Oracle 11g has added the system information backup and recovery functions at the system level, user level, and table level! When we collect statistics on oracle system objects, we can useDbms_stats.export _ (database/schema/table) _ stats export statistics to the created tableDbms_stats.import _ (database/schema/table)
the DATABASE structure;
Step 2: create a large enough additional rollback;
Step 3: import A: imp system/manager inctype = restore full = y FILE =
Step 4: Accumulative incremental import E: imp system/manager inctype = restore full = y file = E
Step 5: import the latest incremental F: imp system/manager inctype = restore full = y file = F
Ii. Cold backup
Cold backup occurs when the database is shut down nor
1, the meaning of the backup
1 protection of data, to avoid loss of data due to various failures
2. Introduction to Basic terms
Mean Time Between Failure--MTBF
Mean Time to Repair--mttr
Mean Time to Failure--mttf
(1) The mtbf--full name is mean time Between failure, that is, the mean fault interval.
Is the average of the time when the new product starts working under the prescribed working conditions and the first failure occurs. The longer the
Package Description:Description: Wind brother Oracle Database Backup and Recovery training (case, combat, in-depth, comprehensive), DBA primary to the ashes of the transition.Content: Wind Brother Oracle Database backup recovery a
I. experiment environmentDb_A: 192.168.0.3 db_ B: 192.168.0.4Db_A is the production database, and db_ B is the backup database (not running). the environments of the two databases are identical.Ii. Operations1. db_A operationsGrade 0 rman backup on db_A$ Rman target/RMAN> backup incremental level = 0 database format = '/oradata/back/% U ';Add a scheduled task and
Recently, the company needs to switch the Oracle database to another server and use EXP and IMP to export the import tool. After a long period of time, an error is returned... All kinds of tangle... Therefore, a simple cold Backup recovery mechanism is adopted. However, because the original database version is 10.2.0.1, the server to be switched is 10.2.0.5, and
Migrating an Oracle database using Rman's level0 backup file-incomplete recovery-20160811Migrating an Oracle database from one machine A to another machine B (same as Linux platform), set to a different path, different instance nameSOURCE side:Oracle_base=/u01/app/oracleOracle_home=/u01/app/
. DBF 'CHARACTER SET ZHS16GBK;4. Enter shutdown immediate to stop the current DB instance.The 5.d:\oracle\product\10.1.0\db_1\database folder and the 3rd step show those logfile and datafile files are copied out.6. Stop the new DB instance (the new DB instance has the same name as the source DB instance), and overwrite the files and folders you copied in step 5th with the corresponding files and folders under the New Database installation folder.7. If
Oracle backup and recovery BasicsI. oracle flash back technology the oracle flash back technology began to provide flashback queue operations in 9i, which was greatly improved in 10 Gb, added the flashback table, flashbackdrop, flashback version query, flashback transaction
The backup and recovery capabilities are "broken. The principle is briefly introduced here:
Oracle records the changes of all data files in the form of logs. Therefore, as long as all ORACLE data files are backed up in a certain period of time and all the logs generated since the
For how to add and delete Voting Disks in Oracle RAC, refer:
Oracle RAC backup and recovery Voting Disks
The Voting Disks file does not need to be backed up every day. Generally, backup is required in the following situations:
①: After Clusterware is installed.
②: After addi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.