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;
Today's whim, want to play Rman this command, their own virtual machine for a long time have not backed up, so to a full prepared, sure enough gave me an error.Rman> Backup starting backup at 20-oct-16allocated channel:ora_disk_1channel ora_disk_1:sid=134 device Type=DISKRMAN -06169:could not read file header for DataFile 2 error reason 1rman-00571: =============
1. Use rman to back up Oracle Data in the open state
Rman backup must be in archive Mode
Check whether the archive mode is used.
SQL> archivelog list;
Change to archive Mode
Shutdown immediate
Startup mount
Alter database archivelog; (alter database noarchivelog)
1. Use rman
instance name
Fourth, the launch of plsql into RMAN for recovery and cross validation.
Crosscheck backup; backup Verification
Crosscheck copy; copy Verification
Delete noprompt expired backup; delete existing backups of the original database that have expired
Delete noprompt expired copy; delete expired copies from th
Regardless of the platform, we must first clarify our goals:
1) execute at every night
2) Full backup of the database, backup control files and archive log files at the same time, and save the backup files to the/u01/app/Oracle/backup/directory. After archiving the log files
After a database restore, try set newname but the error RMAN-06015. We can hand catalog in first, in set NewName.
You can look at the following test cases:
--1. The pure set newname is OK.
Rman> run{2> set newname for datafile 6 to '/u01/oracle11gr2/oracle/oradata/ora11g/u_nolob2.dbf222 ';3>}Executing Command:set NEWNAMERman>
1. scenario description;Catalog database 192.168.1.206: 1521 gridTarget database 192.168.1.201: 1521 ql2. Create the rman tablespace on the catalog databaseSQL> create tablespace rman datafile '/u01/app/Oracle/oradata/gird/rman. dbf' size 500 m autoextend on next 100 m maxsize unlimited;Tablespace created.3. Create an
Note:The prerequisite for ① recovery is that the backup is done② Full Recovery database is the database encountered a failure, at the time of recovery did not lose any of the submitted things data recoveryIncomplete recovery database is a database failure, the recovery of the loss of some data recovery③ needs to set environment variables under Linux, that is, the instance name of the ORACLE database that ne
The UNDO tablespace is used to store UNDO data. When you perform DML operations (INSERT, UPDATE, DELETE), ORACLE writes the old data of these operations to the UNDO segment. UNDO count
The UNDO tablespace is used to store UNDO data. When you perform DML operations (INSERT, UPDATE, DELETE), ORACLE writes the old data of these operations to the UNDO segment. UNDO count
UNDO tablespace description
In the
software such as Veritas), the solution is also very unordered, it is to execute two RMAN commands:1. Enter rman2. connect target/3. crosscheck archivelog all;4. delete expired archivelog all;======================================What are the principles of these two commands. It is described below:Each archivelog information is recorded in the controlfile. When we delete these physical files or perform abnormal changes under the OS, the archivelog in
Rman> Backup current controlfile tag= ' bak_ctlfile ' format= '/home/oracle/backup/bak_ctl_%u_%t ';alter system switch logfile;alter system switch logfile;alter system switch logfile;Switch multiple times, cut out several archivelog files, delete one of themRM O1_mf_1_3_cpk5wloy_.arcThen delete the control fileRm/u01/a
Rman multisection backup Test 2, rmanmultisection
Use section size in the two channels for backup.
[Oracle @ rhel63single ~] $ Rman target/Recovery Manager: Release 11.2.0.4.0-Production on Thu Feb 19 01:07:28 2015 Copyright (c) 1982,201 1,
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.