Backing up with RmanDatabaseThe following error occurred:[Oracle@mzl orcl]$ Rman target/Recovery manager:release 10.2.0.1.0-production on Wed Feb 13 15:36:06Copyright (c) 1982, 2005,. All rights reserved.Connected to target DATABASE:ORCL (dbid=1172558471)rman> backup Database;Starting backup at 13-feb-08Using target database control file instead of recovery catalogAllocated Channel:ora_disk_1Channel ora_disk_1:sid=137 Devtype=diskCould not read file h
Tags: body datafile rman back write file tar name switch ACWhen using Rman for recovery, if you use the set name to modify the file path, then after the recovery, the information inside the control file is not modified, if you want to synchronize the control file information then you need to useSwitch DataFile AllAll this can write the file number, all means that all use set name is saved togetherhttps://do
Tags: buffer font its TAF inpu dev input automatic targeA friend gives the PDB a restore/recover process.A secondary instance is actually created, then the PDB is extracted and recovered. (10:31:59)Frank.yan: [administrator.win-7zfxnfksd8p]?./rman Target/Recovery manager:release 12.1.0.1.0-production on Fri 19 14:44:05 2017Copyright (c) 1982, Oracle and/or its affiliates. All rights reserved.Connected to t
Production on Thu June 22 09:19:16 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition release 11.2.0.1.0-production
With the partitioning, Automatic Storage Management, OLAP, Data Mining
and real Application testing options
sql> shutdown immediate;
Database closed.
Database dismounted.
ORACLE
1, the failure Point database recovery
For a recovery of the point of failure (Point-of-failure), also known as full database recovery, the online redo log must be required to be complete and undamaged. If you lose the online redo log, you must do a incomplete recovery of the database.
Let's assume that the online redo logs and control files are intact, and that we can recover the database completely by following these steps:
Shutdown immediate;
S
current controlfile is lost and both current and active Redo are lost, use the SCN in the old redo as the recovery endpoint. Because no application archives logs, all data will be lost. To understand the recover database using backup controlfile, first understand the recover database, that is, there is no using backup controlfile. When a common recover database,
of datafile 5 todatafile copy/home/oradata/powerdes/powerdesk01.dbf. Elapsed Time:0:39:12Checkpoint is 11029786628Last deallocation SCN is 110294384482.2 After successful data extraction, create a control fileAssuming you don't know how to create a controlfile command, you can generate trace files onlineGeneral default control file is binary, open to is garbled, backup a trace out can open see statement, $ORACLE
recover database using Backup Controlfile, first understand recover database, that is, without using the backup Controlfile case. In the ordinary recover database or recover tablespace, recover datafile,
{
2> set newname for datafile 1 to '/app/oracle/oradata/rawdb/system01.dbf ';
3> set newname for datafile 2 to '/app/oracle/oradata/rawdb/undotbs01.dbf ';
4> set newname for datafile 3 to '/app/oracle/oradata/rawdb/sysaux01.db
backup fragments are automatically searched for redundancy If there is an error in the backup fragment 3. Incremental recovery and application redo logs If an incremental backup is created when the Rescover command is executed, the Rman takes precedence over the incremental backup image recovery. 9.2.1 Full media recovery for a database (1) Start database to load state Startup Mount (2) Perform recovery operations Restore Database Recover database (
1.1 symptom description
Abnormal power failure: the database data file status changes from ONLINE to RECOVER. The system displays the following information:
SQL> select file_name, tablespace_name, online_status from dba_data_files;
FILE_NAME
--------------------------------------------------------------------------------
TABLESPACE_NAME ONLINE_
------------------------------ -------
/enip/oracle_data/CBS_LOG_IDX
CBS_LOG_IDX RECOVER1.2 possible causes
Case 6:
--Recover data with image (mirrored backup)
1) Establish a mirrored backup
rman> Delete backup;
rman> list backup;
rman> Backup as Copy datafile 2 format '/disk1/rman/prod/users_%s.bak ';
rman> list copy of DataFile 2;
List of datafile copies
Key File S Completion time CKP SCN CKP time Name
------- ---
restoration based on change
--in Mount state, restore and recover
--restore all the DataFile
Sql> Startup Force Mount
ORACLE instance started.
Total System Global area 314572800 bytes
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/
Fixed Size 1279964 bytes
Vari
Label:The data in the table does not actually delete the data after it has been deleted, but instead it hits a delete tag that can be recovered only if it has not been overwritten. The experimental steps are as follows:[Email protected]>create table bbed_test (x varchar2 (20));Table created.[email protected]>insert into bbed_test values (' BADLY9 ');1 row created.[email protected]>insert into bbed_test values (' JP ');1 row created.[Email protected]>commit;Commit complete.[Email Protected]>selec
How can I recover the accidental deletion of Oracle Database Data ?, Delete oracle by mistake
When studying the database, we only consider how to use database command statements with a learning attitude. We did not think about how to use database command statements. If a misoperation occurs at work, it may lead to irreparable losses.
Today, we will take the
Tags: tle image descriptor display current. com condition MySQL Database heightToday, a client's database was accidentally deleted from the entire directory of data files, operating system-level deletion, but fortunately the database did not crash, still in open state, the customer found the problem, help us, and finally completely recovered all the data files.The recovery process is roughly re-demonstrated under Linux, and the steps to recover are no
), recover database recovers all data files.(2), recover tablespace recover data files for a particular tablespace.(3), recover datafile recover a specific data file.Restore is only restored with a backup,
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.