To establish an incremental backup:If the database is running in non-archive mode, only if the database is cleanly shut down (in normal,Immediate, transactional mode off) for consistent incremental backups, if the database is running in amode, it can be done in the database shutdown state, or it can be backed up in a database open state. AgainThe advantage of opening the archive mode, the archive log is more disk space, can also be equivalent to the numberIt has been added layer protection. Crea
1. Back up the database
RMAN> show all;
RMAN configuration parameters are:
Configure retention policy to redundancy 1; # default
Configure backup optimization off; # default
Configure Default device type to disk; # default
Configure controlfile autobackup off; # default
Configure controlfile autobackup format for device type disk to '% F'; # de
steps:
For basic RMAN operations, refer to the http://blog.csdn.net/kkdelta/article/details/7202958
1. grade 0 backup on Sunday
RMAN> run {2> allocate channel C1 type disk;3> Backup incremental level 0 database format 'd: \ oracle \ rmanrep \ butdblv0 % u. dmp ';4>}
2. Data changes in the database from Sunday to Monda
Five Backup command Options
5.1 Compression
By default, RMAN performs the compression of NULL data blocks.
5.1.1 NULL Control Compression
When using this form of compression, Oracle does not back up unused blocks of data. There are two scenarios where null block compression is performed:
(1) Data blocks that have never been used are not compressed
(2) A block of data that has been used once is not bac
1. Full database backup: Divided into archive and non-archive by archive mode
Archive mode
Open state, non-consistent backup
Off state, can be divided into consistency and non-conformance
Non-archive mode
Open, non-consistent backup invalid
Shutdown status, consistent backup, non-consistent
Oracle backup tools, file naming formats, rman operations, and mongolerman
I. Common tools:
Recovery Manager: rman can only perform Hot Standby (mount or open state)Oracle Secure BackupUser-managed backup: cp/dd [if =/of =/blocksize =]
Ii. rman naming
The
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 da
RMAN uses backup to transmit tablespaces
The method for creating a tablespace set in the Oracle Database Management Manual requires that the tablespace transmitted during the execution of tablespace transfer should be opened in read-only mode. In contrast, when RMAN uses backup to create a tablespace for transmission,
1. Full database backup: Divided into archive and non-archive by archive mode
(1) Archiving mode
Open state, non-consistent backup
Off state, can be divided into consistency and non-conformance
(2) Non-archive mode
Open, non-consistent backup invalid
Shutdown status, consistent backup, non-consistent
ORACLE11G restores the rman backup of dataguard to the detailed process of standalone oracle in the test environment
1. copy the full backup file 1.1 from the production database to view the parameter file information.
RMAN> list backup of spfile;
Find the latest
Oracle database mistakenly deleted file causes Rman Backup error RMAN-06169 SolutionThis may be a mistake deleting the file resulting in the following prompt when using Rman backupRman-06169:could not read file header for DataFile 1 error reasonSolutionsSee what data 15 files areSql> select File#,name from V$datafile;A
.2cto.com.For basic RMAN operations, see www.2cto.com/database/201201/117276.html1. grade 0 backup on SundayRMAN> run {2> allocate channel c1 type disk;3> backup incremental level 0 database format 'd: \ oracle \ rmanrep \ butdblv0 % U. dmp ';4>}2. Data changes in the database from Sunday to Monday: insert into test values (1, 'Monday lv1D ');
Change... keep (rman long-term backup) is to determine when to mark the backup file as "obsolete" based on the change command. SQL> select * from v $ version; BANNER implements Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-ProductionPL/SQL Release 11.2.0.1.0-ProductionCORE 11.2.0.1.0 ProductionTNS for 32-bit Windows: Version 11.2.0.1.0-ProductionNLSRT
RMAN Incremental backup available: database, tablespace, data fileonly The Used Block can be backed up into Backup Settable spaces correspond to data files: Dba_data_files/v$datafile_headerin the Noarchivelog mode, you can use the RMAN Backup read-only and the Offline The ta
.
Each zero-level backup creates a new backup cycle.
For example, in the following backup policy, there is a zero-level Incremental Backup every Sunday evening, a one-level cumulative backup on Wednesday evening, and a level-1 differential
The 11g active data guard implements rman backup for the standby database, so that the database can be backed up without affecting the external services of the primary database.
The test is as follows:
SQL> select OPEN_MODE, PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE from v $ database;
OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE-------------------------------------------------------------
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 backup
Recovery managerRMAN) is a DBA tool provided by ORAC
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.