. We can see that the steps described above are used for backup when plus archivelog is used.
RMAN> Backup Database Plus archivelog
2> Format '/u01/APP/Oracle/rmanbak/LG _ % d _ % U' Delete input;
6. backup flash back area
RMAN>
Oracle RMAN backup and restoration, and mongolerman backup
RMANYou can perform Incremental Backup: databases, tablespaces, and data files.
Only usedBlockCan be backed upBackup set
Ing between tablespaces and data files:Dba_data_files/v $ datafile_header
InNoarchivelogMode, you can useRMANBackupRead-onlyAndOfflineTables
installed but not opened. After the database is shut down or crashed normally, the INCONSISTENT backup needs to be restored.
Understand the BACKUP, RESTORE, and RECOVER commands. These are the three most basic RMAN commands that can be used to back up, RESTORE, and RECOVER
RMAN cold Backup Recovery from different machines and rman recovery
1. Prepare the environment
Install the ORACLE instance on the new server. During the installation process, ensure that the ORACLE_SID of the source server is consistent with that of the target server, and ensure that the installation path is consistent with the Source Path (not only the installa
) Tablespace Maxsize (MB) Tempfile Name
---------------------------------------------------------------
1 29 TEMP 32767/u01/oradata/wilson/temp01.dbf
2 100 MYTEMP 100/u01/oradata/wilson/mytemp01.dbf
You can also see it in SQL * plus.
SQL> select file #, name from v $ datafile;
FILE # NAME
---------------------------------------------
1/u01/oradata/wilson/system01.dbf
2/u01/oradata/wilson/sysaux01.dbf
3/u01/oradata/wilson/undotbs01.dbf
4/u01/oradata/wilson/users01.dbf
5/u01/oradata/wilson/example
differentiate between backed-up data
The priority of the file. The data files that were recently backed up have a lower priority, and the data files that were backed up earlier have a higher priority.
You can also have Rman attempt to distribute the backup I/O operations to various points in time over time, eliminating the overall impact of the backup on the s
Common RMAN commandsCommon RMAN commands crosscheckreportobsolete681. show command:1.1. RMAN> show all; display RMAN parameter configuration2. Report command:2.1. RMAN> report schema the physical structure of the target database2.
future use. Its advantages are as follows:
Provide description information for backup sets or image copies
Able to better locate backup files in the LIST Command
Can be used in restore and switch commands
The same tag is used in multiple backup sets or multiple image copies.
If no tag is specified, the system
/ORA10G/USERS01.DBF5 Perfstat * * */HOME/ORACLE/ORADATA/ORA10G/PERFSTAT.DBF
List of temporary Files=======================File Size (MB) tablespace Maxsize (MB) tempfile Name---- -------- -------------------- ----------- --------------------1 TEMP 32767/home/oracle/oradata/ora10g/temp01.dbf
Rman>copy datafile 5 to '/u01/rmanbak/tbso1bak.dbf ';(copy 5 corresponding schme:perfstat.dbf)
It will use TBS as a copy. We use list backupset to see that we are
Rman can be used to back up primary or standby databases, such as tablespaces, data files, archive logs, control files, server files, and backup sets.
4.1 File copies
Copies of the original file, somewhat similar to OS hot backup, can copy the entire data file to another location, but the result is only written to the hard drive, and separate files are separate
three commands separated by semicolons.
Format:% C: number of copies of the backup slice (starting from 1 );% D: Database Name;% D: number of days in the month (dd );% M: month in the year (mm );% F: a unique name based on dbid, in the form of C-xxx-YYYYMMDD-QQ, where xxx bits the database's dbid, yyyymmdd is the date, QQ is a sequence of 1;% N: database name, which is filled with X characters on the rig
RMAN can be backed up to the Media Manager.
IsRMANBackup configuration Media Management Software
After the media management software is installed, execute any vendor-required configuration so that the software can accept RMAN backup. You may need to configure media pools, users, classes, and so on.
Then determine the parms settings required for the allocate chan
1. logon and exit command of RMAN: Method 1: $ rmannocatrman directly enters rman to back up data in non-catalog mode, or do not use nocatalogrman> connect
1. Run the following command to log on and exit RMAN: Method 1: $ rman nocatalog directly enters rman and backs up data
http://blog.csdn.net/u011364306/article/details/50036429 of Rman Level012 Backup experiment
With a 0221222 incremental backup strategy, 7 days a cycle
That is, Sunday level 0 backup, Week 1 2 4 5 6 using 2 level incremental backup, week 3 with 1 level incremental
@ ebs01 backup] $ rm *
1) Start backup and back up data files together with archive logs:
[Oracle @ ebs01 backup] $ rman target/
Recovery Manager: Release 11.2.0.1.0-Production on Mon Jun 11 09:16:52 2012
Copyright (c) 1982,200 9, Oracle and/or its affiliates. All rights reserved.
Connected to target database: ORCL (D
Tags: rmanRMAN always connects to the target database as SYSDBA, so the connection account must have SYSDBA permissions.Features of Rman:1. Backup database, tablespace, data file, control file, archive log and SPFile. The database is an archive mode and the target library must be in the mount or open state.2. Store frequently performed backup and restore operatio
1. RMAN login and exit command:
Method 1: $ rman nocatalog directly enters rman to back up data in a non-catalog mode. Do not use nocatalog.Rman> connect target/connect to the target database requires configuring the Oracle operating system login authentication
Method 2: rmantarget/rman target/nocatalog
Method 3: rmant
Note: Rman backup (supports SPFile-based backup only and does not support Init.ora configuration-based backups)exercise: Turn on Archivelog mode1\ For archived redo logs are referred to FRA and separate archive log target SQL>Show parameter db_recovery_file_dest; SQL>AlterSystemSetDb_recovery_file_dest_size=2G; SQL>AlterSystemSetDb_recovery_file_dest='/u01/app/or
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
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.