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:
Tags: star lap file backup ack. com Direction Manager style time
Rman ( physical Backup)Rman-recover Manager
Rman backed-up objects
Data Files Data Files (Data File)
Control Files Control Files (Contro
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
The recent need for a scheduled Oracle Backup program, can be restored to the latest state, reference http://blog.sina.com.cn/s/blog_7756ebc30100tnqy.html, I have in the shell processing a bit, Get 2 shell scripts, init.sh, oraclebackup.sh, execute init.sh param1 (backup file path) param2 (archive log path), you can set up a scheduled
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:
[
Tags: Oracle training Oracle Tutorial Oracle video Oracle Video tutorial Oracle Database tutorialOracle Video Tutorial Goals Oracle Video tutorial, wind Brother this set of Oracle Tuto
Always feel that using Windows to run Oracle is not reliable thing, can this world there are always a lot of people like to do things like this, for the database more common two things: Rman and delete the DG Standby archive log, on the Linux/unix platform using shell implementation is very simple, But ran to win inside, became vexed, not because of the trouble, but because the use of less people, do not kn
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/rman
Always feel that using Windows to run Oracle is not reliable thing, can this world there are always a lot of people like to do things like this, for the database more common two things: Rman and delete the DG Standby archive log, on the Linux/unix platform using shell implementation is very simple, But ran to win inside, became vexed, not because of the trouble, but because the use of less people, do not kn
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
------- ---- ------- - ----------
8 1 A August-July-10
Name: d:/archivelog/bl_arc0000000012_07
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
In an Oracle database, Rman backs up a lot of scripts, and here's a case of how a shell script can be backed up by Rman, and FTP uploads the Rman backup file and the archive log file script.
fullback.sh inside call rman command d
=1140850688Scpdb.__oracle_base= '/u01/app/oracle ' #ORACLE_BASE set from environmentscpdb.__pga_aggregate_target=6777995264scpdb.__sga_target=20333985792scpdb.__shared_io_pool_size=536870912scpdb.__shared_pool_size=2214592512Scpdb.__streams_pool_size=0---restore control filesExport oracle_sid=scpdbRman Target/Rman> Startup Nomountrman> restore Controlfile from '/U01/BAC
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
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
; or rman> SQL ' alter system switch logfile ';View archive Log:rman> list archivelog all;View Backup archive Log:rman> list backup of Archivelog all;Recover archive Log:rman> restore Archivelog sequence between 1 and 9; Determine the range of sequence to be recovered based on the results viewedTo clear redundant archive logs:First manually remove the archived lo
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.