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
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
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
Use SHELL script to verify Oracle Database RMAN Validity of backup setsauthor : Zhao Full text Network name : Guestart Our production environment oracle database has been made Rman Backup, is a week of rman
.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
remove all archive log files alter backup update to this lineBackup archivelog all delete input;11: skip an archive log file that can not be read or manualy deleted update to this lineBackup archivelog skip inaccessible/inaccessible12: to remove one archive log that you manualy deleted and now get an rman-6089 Allocate channel for delete type disk; or 'sbt _ TAPE ';Change archivelog 'path/filename' delete;
/DF % S _ % P' filesperset 5(Database include current controlfile );Release channel D1;}When Level 1 is executed, the system prompts that the parent backup or copy of Data File 1 cannot be found.No parent backup or copy of data file 2 found...In short, the parent backup or copy of all data files cannot be found.
Please kindly advise me
Let me try:Create
.
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
Step 1:create the Incremental Backuprman> BACKUP DEVICE TYPE DISK INCREMENTAL from SCN 750983 DATABASE FORMAT '/tmp/incr_for_standby/bkup_%u ';Step 2:make the Incremental Backup Accessible at the Standby DatabaseFTP or SCP copy incremental backup to standby sideStep 3:catalog the Incremental Backup Files at the Sta
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-------------------------------------------------------------
Using Oracle's own backup recovery tool, Rman (Recovery Manager) has several advantages:
Support for incremental backups
Ability to automatically manage backup files
Automated backup and Recovery
File validity Check for backups
Configuring the Flash Recovery Zone (recovery area)The Flash recov
I. concepts related to RMAN backup
1. in RMAN backup, The tablespace does not need to be in backup mode. It backs up data files, archive log files, control files, spfiles, and backup sets, but does not back up online redo log file
To define environment variables, even if the ORACLE user crontab-e is used. Sourcehomeoracle. bash_profile or directly change homeoracle. bash_pr
To define environment variables, even if the ORACLE user crontab-e is used. Source/home/oracle/. bash_profile or directly Mount/home/oracle/. bash_pr
I have previously written a script (see). You can manually execute it. Using crontab, you cannot run it successfully. This afternoon, I spent two hours ex
RMAN backup and recovery-parameter file Restoration
In RMAN, "restoration" and "restoration" have different meanings. "restoration" refers to accessing the previously generated backup set to obtain one or more objects, then restore these objects at a location on the disk. Detached from restoration. Recovery is an actua
1. Concurrency: it is mainly used to increase the backup speed, which can be divided into manual concurrency or automatic concurrency.
Manual concurrency: allocate multiple channels and specify files to a specific channel.
RMAN> run {
2> allocate channel specified device type disk;
3> allocate channel CH2 device type disk;
4> allocate channel CH3 device type disk;
5>
(1) Create an OS directory for storing backup database-Related Files
(2) create a routine service
(3) configure the listener and Network Service name
(4) Prepare the parameter file of the primary database
(5) Prepare backup database parameter files
(6) Enable the standby routine and establish the standby Database
(7) Enable the standby Database
Back up the database first:
C: \>
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.