100 for 60 daysChange Backupset 156 nokeep; Exemption from backup set 100 retention periodCATALOG1. Registered CopyCatalog datafilecopy ' C:\user01.bak ';2. Register Backup TabletsCatalog backuppiece ' c:\demo_10.dbf ';3. Register all backup files for a specific directoryCatalog start with ' C:\bak ';4. Log off Backup
; # defaultConfigure Default device type to disk; # defaultConfigure controlfile autobackup off; # defaultConfigure controlfile autobackup format for device type disk to '% F'; # defaultConfigure device type disk backup type to backupset parallelism 1;Configure datafile backup copies for device type disk to 1; # defaultConfigure archivelog backup copies for devic
directory. After the recovery directory is complete, Oracle updates the recovery directory to synchronize the recovery directory and the control file.
========================================================== ==================
========================================================== ==================
Store scripts in RMAN
1. connect to the target database and restore the Directory
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-bi
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
still recorded in the Controlfile, and when we manually clear the files in the archive directory,
These records have not been removed from the controlfile, which means Oracle does not know that the files are gone!
At this time we have to do manual cleaning.
If the crosscheck is performed separately and the delete is not performed, the backup fails because the control file's information is different from
Unreasonable setting of MAXPIECESIZE and FORMAT causes RMAN backup failure
Today, I went to the customer to build the DG. When I created the RMAN backup set, I encountered a problem, causing the backup set to never be generated. Because the customer's
and Incomplete recovery. Incomplete recovery can be performed based on the time, SCN, log serial number, and backup control file.
The control file records the structure and behavior of the database. For the database, the control file is very important. If the control file is faulty and the parameter file is normal, the database can only start to NOMOUNT. By default, the Oracle 11g control file is stored in
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. Check the database mode:Sqlplus/nologConn/As sysdbaArchive log list (check whether the database is in archive Mode)
If not, the database archive mode is modified.Startup MountAlter database archivelogAlter database open
2. connect to the target database
Command: connect target/(connect target system/Oracle @ ora10g. If the database does not exist, run the RMAN command to start the database using st
I. The concept and architecture of Rman
Recovery Manager (RMAN) is an Oracle tool for backup (Backup), restore (Restore), and recovery (recover) databases. Rman can only be used in ORACLE8 or higher versions. It can back up the e
1. Check the database schema:Sqlplus/nologConn/as SYSDBAArchive log list (to see if the database is in archive mode)
If it is not archived, the database archive mode is modified.Startup MountALTER DATABASE ArchivelogALTER DATABASE Open
2. Connect to target Database
Command: Connect target/(connect target system/oracle@ora10g, if the database is not up, you can also start the database directly under the Rman
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>
Example of using RMAN to create a backup set for Oracle11g backup and recovery
Oracle 11 GB backup and recovery example of using RMAN to create backup Sets
Homepage → Databa
The following error occurs when rman backs up archivelog:
RMAN> backup archivelog all delete input;
Starting backup at 14-APR-14
Current log archived
Using channel ORA_DISK_1
Using channel ORA_DISK_2
RMAN-00571: ========================================================== ====
ORA-01110ORA-01180 error reported when rman backup is restored to an exception
ORA-01110 ORA-01180 error reported when rman backup is restored to an exception
[Oracle @ server1 ORACLE] $
The unreasonable setting of MAXPIECESIZE and FORMAT causes RMAN backup to fail.Today, I went to the customer to build the DG. When I created the RMAN backup set, I encountered a problem, causing the backup set to never be generated. Because the customer's
Usage type: the system load is concentrated in a certain period of time, such as 8 hours during the day, and is usually idle at night. Therefore, data can be backed up at night.
It corresponds to full-Database Backup:
Http://blog.csdn.net/jacson_bai/article/details/39636915
1. env:IP Address: 10.244.171.180/181Oracle Database Oracle 11.2.0.3OS RHEL 5.5Backup toos: rman
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.