ORACLE之RMAN恢复
指定备份路径:
RMAN> catalog start with ‘/u01/app/oracle/rman/inc’;
一、完全恢复
- 完全恢复:从上次备份后,归档日志,redo日志,控制文件等都不丢失的情况,恢复后数据完全不丢失,称为完全恢复。
1.1 数据文件全部丢失:
执行恢复:
[oracle@MiWiFi-R4CM-srv inc]$ rman target / nocatalog
Recovery Manager: Release 12.2.0.1.0 - Production on Tue Feb 16 00:53:45 2021
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
connected to target database (not started)
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area 838860800 bytes
Fixed Size 8626240 bytes
Variable Size 3523