RMAN恢复实验记录
本文主要针对备份和恢复数据文件,具体rman知识点查阅我的另一篇文章:http://www.linuxidc.com/Linux/2013-09/90229.htm 首先看
本文主要针对备份和恢复数据文件,具体rman知识点查阅我的另一篇文章:
首先看看数据文件的情况:
SQL> selectfile_name,file_id,tablespace_name from dba_data_files;
FILE_NAME FILE_ID TABLESPACE_NAME
---------------------------------------------------------------------- ------------------------------
E:\Oracle\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF 4 USERS
E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF 3 SYSAUX
E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF 2 UNDOTBS1
E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF 1 SYSTEM
E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF 5 EXAMPLE
E:\RM_TAB.DBF 6 RM_TABLESPACE
E:\RMAN.DBF 7 RMAN_TAB
已选择7行。
C:\Documents andSettings\Administrator>rman target /
恢复管理器: Release 11.2.0.1.0 - Production on 星期二 9月 17 15:54:092013
Copyright (c) 1982, 2009, Oracle and/or itsaffiliates. All rights reserved.
连接到目标数据库: ORCL (DBID=1318810635)
查看数据库已有备份情况:
RMAN> list backup;
备份集列表
===================
BS 关键字 类型 LV 大小 设备类型 经过时间 完成时间
------- ---- -- ---------- ----------------------- ----------
145 Full 1.60G DISK 00:03:35 02-9月 -13
BP 关键字: 144 状态:AVAILABLE 已压缩: NO 标记:TAG20130902T160350
段名:D:\BACKUP\FULL_ORCL_825091431_171.BAK
备份集 145 中的数据文件列表
文件 LV 类型 CkpSCN Ckp 时间 名称
---- -- ---- ---------- ---------- ----
1 Full 33823078237 02-9月 -13E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
2 Full 33823078237 02-9月 -13E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
3 Full 33823078237 02-9月 -13E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
4 Full 33823078237 02-9月 -13E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
5 Full 33823078237 02-9月 -13E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
6 Full 33823078237 02-9月 -13E:\RM_TAB.DBF
7 Full 33823078237 02-9月 -13E:\RMAN.DBF
BS 关键字 大小 设备类型占用时间 完成时间
------- ---------- ----------- ----------------------
150 698.25M DISK 00:01:40 02-9月 -13
BP 关键字: 149 状态:AVAILABLE 已压缩: NO 标记:TAG20130902T165210
段名:D:\BACKUP\ARCH_ORCL_20130902_176.BAK
备份集 150 中的已存档日志列表
线程序列 低 SCN 时间下限 下一个 SCN 下一次
---- ------- ---------- ---------- ---------- ---------
1 42 33822522080 25-8月 -1333822546427 26-8月 -13
1 43 33822546427 26-8月 -1333822572086 26-8月 -13
1 44 33822572086 26-8月 -1333822577968 26-8月 -13
1 45 33822577968 26-8月 -1333822597826 27-8月 -13
1 46 33822597826 27-8月 -1333822632804 27-8月 -13
1 47 33822632804 27-8月 -1333822708919 27-8月 -13
1 48 33822708919 27-8月 -1333822741205 27-8月 -13
1 49 33822741205 27-8月 -1333822776061 28-8月 -13
1 50 33822776061 28-8月 -1333822806367 28-8月 -13
1 51 33822806367 28-8月 -13 3382284917730-8月 -13
1 52 33822849177 30-8月 -1333822855569 30-8月 -13
1 53 33822855569 30-8月 -1333822890493 30-8月 -13
1 54 33822890493 30-8月 -1333822914392 31-8月 -13
1 55 33822914392 31-8月 -1333822923253 31-8月 -13
1 56 33822923253 31-8月 -1333822946575 01-9月 -13
1 57 33822946575 01-9月 -1333822953742 01-9月 -13
1 58 33822953742 01-9月 -1333822956954 01-9月 -13
1 59 33822956954 01-9月 -1333822972848 01-9月 -13
1 60 33822972848 01-9月 -1333823003071 01-9月 -13
1 61 33823003071 01-9月 -1333823038838 02-9月 -13
1 62 33823038838 02-9月 -1333823060805 02-9月 -13
1 63 33823060805 02-9月 -1333823080230 02-9月 -13
1 64 33823080230 02-9月 -13 3382308026302-9月 -13
BS 关键字 类型 LV 大小 设备类型 经过时间 完成时间
------- ---- -- ---------- ----------------------- ----------
154 Full 96.00K DISK 00:00:01 17-9月 -13
BP 关键字: 153 状态:AVAILABLE 已压缩: NO 标记:TAG20130917T160606
段名:D:\BACKUP\ORCL_180.BAK
备份集 154 中的数据文件列表
文件 LV 类型 CkpSCN Ckp 时间 名称
---- -- ---- ---------- ---------- ----
7 Full 33823344873 17-9月 -13E:\RMAN.DBF
BS 关键字 类型 LV 大小 设备类型 经过时间 完成时间
------- ---- -- ---------- ----------------------- ----------
155 Full 9.55M DISK 00:00:03 17-9月 -13
BP 关键字: 154 状态:AVAILABLE 已压缩: NO 标记:TAG20130917T160610
段名:F:\RMANBACKUP\CONTROLFILE\C-1318810635-20130917-00
包含的 SPFILE: 修改时间: 17-9月 -13
包括的控制文件: CkpSCN: 33823344928 Ckp 时间: 17-9月 -13
推荐阅读:
Oracle基础教程之通过RMAN复制数据库
RMAN备份策略制定参考内容
RMAN备份学习笔记
Oracle数据库备份加密 RMAN加密

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to use MySQLi to establish a database connection in PHP: Include MySQLi extension (require_once) Create connection function (functionconnect_to_db) Call connection function ($conn=connect_to_db()) Execute query ($result=$conn->query()) Close connection ( $conn->close())

Apple's latest releases of iOS18, iPadOS18 and macOS Sequoia systems have added an important feature to the Photos application, designed to help users easily recover photos and videos lost or damaged due to various reasons. The new feature introduces an album called "Recovered" in the Tools section of the Photos app that will automatically appear when a user has pictures or videos on their device that are not part of their photo library. The emergence of the "Recovered" album provides a solution for photos and videos lost due to database corruption, the camera application not saving to the photo library correctly, or a third-party application managing the photo library. Users only need a few simple steps

How to integrate GoWebSocket with a database: Set up a database connection: Use the database/sql package to connect to the database. Store WebSocket messages to the database: Use the INSERT statement to insert the message into the database. Retrieve WebSocket messages from the database: Use the SELECT statement to retrieve messages from the database.

To handle database connection errors in PHP, you can use the following steps: Use mysqli_connect_errno() to obtain the error code. Use mysqli_connect_error() to get the error message. By capturing and logging these error messages, database connection issues can be easily identified and resolved, ensuring the smooth running of your application.

Using the database callback function in Golang can achieve: executing custom code after the specified database operation is completed. Add custom behavior through separate functions without writing additional code. Callback functions are available for insert, update, delete, and query operations. You must use the sql.Exec, sql.QueryRow, or sql.Query function to use the callback function.

This article will provide a detailed introduction to how to install and register a Bitcoin trading application. The Bitcoin trading app allows users to manage and trade cryptocurrencies such as Bitcoin. The article guides users through the installation and registration process step by step, including downloading applications, creating accounts, performing identity verification, and first deposit. The goal of the article is to provide beginners with clear and easy-to-understand guidelines to help them easily enter the world of Bitcoin trading.

This article recommends the top ten digital currency trading apps in the world, including Binance, OKX, Huobi Global, Coinbase, Kraken, Gate.io, KuCoin, Bitfinex, Gemini and Bitstamp. These platforms have their own characteristics in terms of transaction pair quantity, transaction speed, security, compliance, user experience, etc. For example, Binance is known for its high transaction speed and extensive services, while Coinbase is more suitable for novices. Choosing a platform that suits you requires comprehensive consideration of your own needs and risk tolerance. Learn about the world's mainstream digital currency trading platforms to help you conduct digital asset trading safely and efficiently.

This time, the Redstone token $RED will be launched on Binance Launchpool on Binance TGE! This is also the first time Binance has launched a pre-market trading limit mechanism! The first day limit is 200%, and the ban will be lifted after 3 days to avoid "the peak will be achieved when the market opens"! Launchpool mechanism introduces the BinanceLaunchpool participating in Redstone that needs to pledge designated tokens (BNB, USDC, FDUSD) activity period is 48 hours: 08:00 UTC on February 26, 2025 to 08:00 UTC on February 28, 2025 ending this pre-market daily limit rule: 18:00 on February 28, 2025
