Background:Colleagues mistakenly delete online data, so they need to recover data from the backup. Real estate leakage of the rain, the ship late and the wind, the first two days of backup disk bad block, now only rman full of. bak files, no control files and parameter files, so now it is necessary to consider how to recover data from a BAK file on the
1. General steps
The steps for creating a standby database through RMAN backup are roughly as follows:
1) set the primary database to force loggin Mode
2) set the primary database to archived log mode.
3) configure the parameter files for the master and slave databases.
4) The password files on both sides are consistent.
5) configure the listener
6) Start standby to nomount with the parameter file
7) comple
---------- Full backup -----------Backup set: block backup used in data filesImage copy: a complete copy of all data files.---------- Incremental Backup -----------A backup of a database that has changed since a specific time point. This time point can be the time point of t
How to archive log files when using RMAN backup
I went to a customer yesterday to deploy RMAN backup. when I ran the shell script, I was prompted that I could not find the archive log, because the customer only performed EXPDP logical export
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
When checking the backup output script in the database today, an error occurred in the Rman backup.
This article mainly describes the phenomenon of the problem.
The error message is as follows:
bash-3.00$ More/data/backup/backup_tradedb_090523.out
1. Rman Backup is the default check for physical bad blocks.
2. If you want to check for logical bad blocks, you can use the following statement:
$ Rman Target/rman> backup check logical validate database;
Note that the above statement is only checked and will not be back
/[email protected] Catalog Rman/rmanrman> Register database;If you want to re-register, query the data dictionary db to get Db_key and db_id execute dbms_rcvat. The Unregisterdatabase command cancels the registration. Re-enroll.Sql> Conn Rman/rmanSql> select * from DB;sql> exec dbms_rcvcat.unregisterdatabase (db_key,db_id);rman> Resync Catalog;Make a full
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
client_info is not null;
Sid username client_info
----------------------------------------------------------------------
140 sys id = RMAN
SQL> select Sid, spid, client_info
2 from V $ PROCESS p, V $ session s
3 where P. ADDR = S. paddr
4 and client_info like '% id = % ';
Sid spid client_info
----------------------------------------------------
140 5002 id = RMAN
-- View the
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
There is an automatic backup script program for rman. I have previously written an automatic backup case for exp backup specific solution (Oracle automatic backup case for Linux platform (using exp tool)
There is an automatic
database and Restore directory scripts, refer:
Create and use RMAN catalog
Create RMAN storage script based on catalog
Catalog-based RMAN backup and recovery
Bytes -------------------------------------------------------------------------------------------------------
-- All
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
Today, we saw an RMAN backup script in the company's database: run {allocatechannelc1typediskmaxpiecesize2G; allocatechannel
Today, we saw an RMAN backup script in the company's database: run {allocate channel c1 type disk maxpiec
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.