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 → Database Technology
Background:Read News
Oracle 11 GB backup and recovery example of usi
Oracle Rman Backup Example: Solaris + Oracle 11.2.0.3SHELL:CSH Backup strategy: Sunday Level 0 Backup, Monday ~ Weekly level 61 backup, Backup archive log every 6 hours, clean up the History folder every day.--Level 0 backup script:#!/bin/csh#db0 level backupfoldername= ' Date +%y%m%d ' cd/oradata1/backupif [-D $foldername]then echo ' Go on ' els e Echo ' need mk
)';
Allocate channel C3 type 'sbt _ tape'
Parms 'env = (ns_server = jm_backup,
Ns_client = ipasdb,
Ns_data_volume_pool = orapool )';
Set until logseq 94303 thread 1;
Restore database;
Recover database;
Release Channel C3;
Release Channel C2;
}
(The script used by the customer is completely restored. Of course, it is not successful. I only added set until logseq 94303 thread 1 ;)
At this time, the system re-writes the content of the previous 0-level b
In the RAC environment, if the archivelog of the two nodes are stored locally, what should I do during backup? Enable two channels and connect them with the TNS connection string
In the RAC environment, if the archivelog of the two nodes are stored locally, what should I do during backup? Enable two channels and connect them with the TNS connection string
Backup is a top priority for DBAs. No matter how powerful your technology is and there is no backup, you are still helpless when someth
Label:After the network traffic becomes large (for example, Rman duplicat an active database), the node restarts due to brain fissures From:The node reboots due to split brain during increased network traffic like Rman duplicating an active database (document ID 98512 3.1) Suitable for:Oracle server-enterprise edition-version:11.1.0.7 to 11.1.0.7-release:11.1 to
Rman backup Script
#!/bin/bash
su-oracle
Third backup save platform automatically cleans up expired backup files
#! /bin/bash for
file in ' Ls/orabak '
does
if [[${file:0:2} = = ' db ']];then
fdate=${file:10:8}
Mydate= ' Date +%y%m%d-d '-7 day '
if [$fdate
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/
we have deleted the two tables, we can demonstrate the use of a cumulative incremental backup to recover the two tables, and then observe the process of cumulative incremental recovery:2.2 Cumulative Incremental RecoveryTo see if the table has been restored:3 differences between the twoVariance Increment:Cumulative increment:From the above experiment, differential incremental and cumulative incremental backups are not significantly different, and the cumulative incremental backup feature is tha
Clszh. Java
/*The form of different case combinations of scripts is as follows: -- Author: Wen min, CTO of ChenzhouScript, script,Script, script,Script, script,Script, script,
Shell script structure Example 1, shell script example
Since 2013, I have been lazy and have written a lot less. This year, I plan to summarize my previous accumulated experience.
Start with shell.
After nearly three years of game O M, I often write some shell scripts during the period. Many scripts actually have man
Simple shell-script example and shell-script example
#! /Bin/bash # defind the pathPATH =/usr/localexport PATHread-p "please input your first name:" firstnamereap-p "please input your last name: "lastnameecho-e" \ nyour name is: $ firstname $ lastname "# use date create fileread-p" please input your filename: "fileuser
EVAL script Numkeys key [key ...] arg [arg ...]
Starting with the Redis 2.6.0 release, the LUA script can be evaluated using the EVAL command with the built-in LUA interpreter.The script parameter is a LUA 5.1 script that runs in the Redis server context, which does not have to (and should not) be defined as a LUA fun
For example, explain the PHP script test method and the script test method. For example, explain the PHP script test method. For more information, see script test method. for common test examples, we often encounter this situation
For example, explain the PHP script test method and the script Test Method
I. Common test examples
We often encounter this situation: rewrite and test some legacy code that has not passed any tests, and even use object-oriented code. To test such code, I suggest breaking the code into blocks so that it is easy to test.
However, these legacy codes are not so well
1. When the shell script executes the Python script, you need to use the return value of the Python script to determine the command to be executed by the following program
Example: There are two py programs hello.py
Copy Code code as follows:
def main ():
Print "Hello"
If __name__== ' __main__ '
Oracle simple script example, oracle example
Oracle simple script example
1. Add a table
-- Modified on: 2014.09.21
-- Modifier: Yi xiaoqun
-- Modified: added the purchase payment form.
DECLARE
VC_STR VARCHAR2 (5000 );
VN_COUNT NUMBER;
BEGIN
-- Check whether the existing sys
In the process of general database development and maintenance, it is often necessary to backup the database, the most basic way is to use the Database Backup Wizard provided by the SSMs graphical interface to back up the step-by-step operation, although it is simple and fast but the days will feel repetitive and cumbersome. Here is an easy-to-use SQL script backup method, or a slightly improved ability to be a scheduled backup of the database within
Continue with the previous two articlesArticleDynamic scripting language topic 《. NET Dynamic scripting language script.. Net Quick Start and 《. NET Dynamic scripting language script. net Development Guide, continue to learn scripts.. net. Type Definition
Script. NET is not an OOP language, but can be simulated by property bags.
Vector = [X-> 4, Y-> 3, length-
This article mainly introduces the example of using the microsecond computing script execution time in PHP. This article first explains some knowledge about the microtime function and then provides a class for calculating the script running time, for more information, see PHP. In most time formats, UNIX timestamps are used, while UNIX timestamps are measured in s
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.