Alibabacloud.com offers a wide variety of articles about oracle recover database using backup controlfile, easily find your oracle recover database using backup controlfile information here online.
.
Because Oracle does not provide full support for control file Control_files, you should copy the control files to the defined new location before you restart the database by using the operating system or hardware mirroring on the control file, or you will have an error when the database starts up before you restart
, you can make a successful backup at the operating system level, but since this file is not fully archived, the backup may be written in half and therefore cannot be useful during the recovery operation.(3) Restart the archive process archExecute Command archive log start to launch the archive process arch.(4) Backup archive redo log filePerform the operating sy
(optional)
It is worth noting that cold backups must be done in the case of a database shutdown and that performing a database file system backup is not valid when the database is open.
The following is a complete example of a cold backup.
(1) Close the
■ Xinmei, Ningbo Electric Power Bureau
Database Backup is the premise and basis for data recovery. If there is no data backup, it will be difficult to recover in the event of database problems or disasters. Common Oracle
.
SQL> host Copy D: \ demo \ undotbs01.dbf D: \ backup1 file has been copied.
SQL> host Copy D: \ demo \ sysaux01.dbf D: \ backup 1 file has been copied.
SQL> host Copy D: \ demo \ users01.dbf D: \ backup1 file has been copied.
SQL> alter Database End backup;
The database has been changed.
SQL> alter system archive log
\testspace.dbf ' size 10m;Sql> CREATE TABLE scott.test3 (ID int)Tablespace testspace;Sql> commit;sql> alter system switch logfile;sql> INSERT INTO SCOTT.TEST3 values (1);Sql> commit;sql> alter tablespace testspace offline;Sql> select * from Scott.test3;please give the result of the execution:(2) because there is no backup data file, you need to recreate asql> ALTER DATABASE Create datafile' C:\
There are many methods for Oracle backup. The following describes how to back up an Oracle database by using the RMAN backup and recovery manager. This method is for your reference, hope to help you.
I. Use RMAN for
under different disk controllers.
Because Oracle does not provide full support for control file Control_files, you should copy the control files to the defined new location before you restart the database by using the operating system or hardware mirroring on the control file, or you will have an error when the database
the source database practice to the D: \ oracle \ product \ 10.1.0 \ db_1 \ databas \ directory, and name the file initclne. ora, open the file and replace "practice" with "clne"
After modification, see:
C) Database Password FileCreate a file by using the command line and place it in D: \
;;connect/as SYSDBASql>;shutdown Normal;(2) use copy command to back up all time files, redo log files, control files, initialization parameter filesSQLGT;;CP (3) Restart Oracle databaseSql>;startup Third, hot backupHot backup is a way to back up the database in Archivelog mode, in case the database is running. So if y
:\ORACLE\ORADATA\USERS01. DBF'; SetUntil sequence -;
Restore database; Switchdatafile All;
Recover database; } Sequence can be found from the Rman backup log, or view V$backup_redolog Six. Renaming the Redo file Set $
Col member format A60
Select a.thread#,a
Label:First, why need data backup The main reasons for data loss: 1, media failure. 2, the user's error operation. 3, the server's complete collapse. 4, computer viruses. 5. Unforeseen factors. The fault types in Oracle are divided into the following 4 categories. 1. Statement failure: A logical failure to execute a SQL statement procedure can cause a statement failure. If a user writes an invalid SQL st
database. The Hot Backup command file consists of three parts:1. Backup of one tablespace and one tablespace in a data file.(1) set the tablespace to the backup state.(2) back up the data files in the tablespace(3) restore the tablespace to the normal state.2. Back up archive log files(1) temporarily stop the archivin
to 09
RMAN> Backup current controlfile for standby format = 'd: \ backup \ % d _ % S. Bak ';
Start backup from 17-2 to 09Use channel ora_disk_1Channel ora_disk_1: Start all data file backup SetsChannel ora_disk_1: Specifies the data file in the
it is to back up the database. The following describes how to back up and restore the database with ORACLE7 as an example. ORACLE databases have three standard backup methods: EXPORT/IMPORT, cold backup, and hot backup. Exporting
and frm files, thus adding convenience and functionality. Innobackupex starts xtrabackup until xtrabackup copies the data file, then executes flush TABLES with READ lock to block the new write-in and brushes the MyISAM table data to the hard disk. Then copy the MyISAM data file and finally release the lock.4. The backup MyISAM and InnoDB tables will eventually be consistent, and at the end of the preparation (prepare) process, the InnoDB table data h
, but we still have to back up 50g.This is the disadvantage of Lengbei.A condition where the backup may be incomplete or the junk data is backed up when the cold standby is being made. Therefore, we must be in the database to see whichever.Typically, the main object of Lengbei is datafile,controlfile and redo log file. We can use a few views to seewhere they hide
The following articles mainly introduce how to automatically back up Oracle databases under UNIX. The following describes the specific solutions, such as tape backup and remote backup, I hope this will help you in your future studies. The following describes the specific content of the text.I believe that many system administrators are doing the same job every da
, the target database is the database that needs to be backed up, a recovery directory can register multiple target databases, the command to register the target database is:$>rman Target Internal/password catalog Rman/[email protected];Rman>register database;Database regist
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.