Label:2015-10-24DirectoryResources[1] Lin Shuze. Oracle 11g R2 dba operation Guide [M]. Beijing: Tsinghua University Press, 2013[2] Introduction to Oracle Backup and recovery (physical and logical backups)[3] Oracle Backup and recovery case[4]
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
This article will introduce to you how to back up and delete the scripts for archiving logs of the dg standby database on the win platform rman. I hope this method will be helpful to you.
I always think that using windows to run oracle is unreliable. But there are always many people in the world who like to do something like this. There are two common things about databases:
Oracle Database Backup is encrypted. Encryption can protect Backup files and prevent backup data leakage. Oracle backup encryption mainly refers to RMAN encryption. EXPEXPDP encryption
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
Script./data/backup/bac
Think twice about asking me today: Rman backs up the meaning of%a in format formats.
In fact, Oracle's documentation has this statement:
%a
Specifies the activation ID of the database.
But the description is not clear. In fact, junsansi means that the corresponding information of this%a is reflected in the database.
Let's take a look at this value in the backup information below:
[
grant recovery_catalog_owner the following permissions:SQL> create user rmanuser identified by rmanuserTemporary tablespace TEMPDefault tablespace tbs_rmanQuota unlimited on tbs_rman;
C. Assign PermissionsSQL> grant recovery_catalog_owner to rmanuser;
3. Create a catalog
# Sometimes directly using rman linux will consider it as its own command, so it is safer to add full path.> $ ORACLE_HOME/bin/
1041819 August-July -10 d:/app/administrator/oradata/bl/undotbs01. Dbf
4 full 1041819 August-July -10 d:/app/administrator/oradata/bl/users01. Dbf
5 full 1041819 August-July -10 d:/app/administrator/oradata/bl/bl01. Dbf
List of archived log copies of the database Db_unique_name for BL
=====================================================================
Keyword Line program column S time limit
------
:40Rman-06054:media recovery Requestingunknown archived log for thread 1 with sequence 31023 and starting SCN of11029786628Rman>rman> restore database from '/pddata2/oracle/backup/data/2015-03-30/full_powerdes_20150330_3395.bak ';Starting restore at 02-apr-15Using channel Ora_disk_1rman-00571:===========================================================
RMAN to back up the database. Here I only backed up the data files that are prepared to create bad blocks for quick experiments.
[Oracle @ bys001 ~] $ Rman target/Recovery Manager: Release 11.2.0.1.0-Production on Fri Sep 13 13:28:36 2013Copyright (c) 1982,200 9, Oracle and/or its affiliates. All rights reserved.Conn
Rman Learning Summary as follows, has been tested run, no problem.
1. Set the database as the archive mode
Check Archive mode
Select Log_mode from V$database;
If noarchivelog, it needs to be set to archive mode
Shutdown immediate;
Startup Mount;
Alter database Archivelog;
2, create the table space needed to restore the directory
Create tablespace Rman_ts
DataFile ' E:oracleproduct10.1.0oradataoraclerman_ts. DBF '
Size 1G autoextend on next
Nocatalog Way: Use control file as the catalog, each backup to the control files to write a lot of backup information, control files there will be more and more backup information, that is, Rman backup information written in the local control file.Catalog Mode: You must firs
In previous articles, we introduced the actual Oracle RMAN backup operations and some common commands. We all know some commands in Oracle RMAN backup. In the actual environment, it is impossible for DBAs to require one command fo
Tags: Rman incremental backup incremental CumulativeRman not only can make the database, data files and other full-scale backup, but also can do incremental backup. Incremental backups have two major advantages:
Reduce the time of database recovery.Database recovery
Tags: figure _id shu err view efault auto Dynamic DataCONFIGURE encryption for DATABASE OFF; # DefaultCONFIGURE encryption algorithm ' AES128 '; # Default Three strategies for Rman backup security are password security, Oracle Wallet security, and hybrid encryption securityRman> show encryption for database; The RMAN c
create a test table under that user. Then back up to AWS with OSB. The process is as follows:A. CREATE TABLE spaces:sql> Create Tablespace Up2s32 Logging3 datafile '/usr/oracle/app/oracle/oradata/orcl/up2s3_01.dbf ' SIZE 5M4 autoextend on;Tablespace created.2. Create userSql> create user tests3 identified by test;User created.Sql>grant Connect,resource to Tests3;Grant succeeded.sql> alter user tests3 defau
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.