rman全庫備份備份歸檔日誌檔案
用rman全庫備份,包括歸檔歸檔日誌檔案備份,控制檔案與引數檔案自動備份:
[oracle@oracle ~]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Sun Oct 16 17:22:56 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORA11GR2 (DBID=238796283)
RMAN> backup database plus archivelog;
Starting backup at 16-OCT-16
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=44 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=59 RECID=37 STAMP=924897627
input archived log thread=1 sequence=60 RECID=38 STAMP=924968778
input archived log thread=1 sequence=61 RECID=39 STAMP=925156048
input archived log thread=1 sequence=62 RECID=40 STAMP=925157378
input archived log thread=1 sequence=63 RECID=41 STAMP=925157838
input archived log thread=1 sequence=64 RECID=42 STAMP=925164026
input archived log thread=1 sequence=65 RECID=43 STAMP=925166147
input archived log thread=1 sequence=66 RECID=44 STAMP=925168784
input archived log thread=1 sequence=67 RECID=45 STAMP=925169035
input archived log thread=1 sequence=68 RECID=46 STAMP=925205840
input archived log thread=1 sequence=69 RECID=47 STAMP=925224968
input archived log thread=1 sequence=70 RECID=48 STAMP=925230868
input archived log thread=1 sequence=71 RECID=49 STAMP=925253889
input archived log thread=1 sequence=72 RECID=50 STAMP=925255635
input archived log thread=1 sequence=73 RECID=51 STAMP=925257078
input archived log thread=1 sequence=74 RECID=52 STAMP=925257134
input archived log thread=1 sequence=75 RECID=53 STAMP=925257135
input archived log thread=1 sequence=76 RECID=54 STAMP=925257169
input archived log thread=1 sequence=77 RECID=55 STAMP=925257203
input archived log thread=1 sequence=78 RECID=56 STAMP=925257242
input archived log thread=1 sequence=79 RECID=57 STAMP=925257291
input archived log thread=1 sequence=80 RECID=58 STAMP=925399179
input archived log thread=1 sequence=81 RECID=59 STAMP=925406620
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0irih5ct_1_1.rmn tag=TAG20161016T172340 comment=NONE #歸檔日誌檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
Finished backup at 16-OCT-16
Starting backup at 16-OCT-16
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ORA11GR2/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ORA11GR2/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ORA11GR2/example01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ORA11GR2/users01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ORA11GR2/undotbs01.dbf
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0jrih5eu_1_1.rmn tag=TAG20161016T172446 comment=NONE #資料檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:58
Finished backup at 16-OCT-16
Starting backup at 16-OCT-16
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=82 RECID=60 STAMP=925406865
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0krih5kh_1_1.rmn tag=TAG20161016T172745 comment=NONE #最新歸檔日誌檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 16-OCT-16
Starting Control File and SPFILE Autobackup at 16-OCT-16
piece handle=/u01/app/FRA/ORA11GR2/autobackup/2016_10_16/o1_mf_s_925406866_d06l0mmn_.bkp comment=NONE #引數檔案與控制檔案備份集
Finished Control File and SPFILE Autobackup at 16-OCT-16
備份完成。
[oracle@oracle ~]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Sun Oct 16 17:22:56 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORA11GR2 (DBID=238796283)
RMAN> backup database plus archivelog;
Starting backup at 16-OCT-16
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=44 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=59 RECID=37 STAMP=924897627
input archived log thread=1 sequence=60 RECID=38 STAMP=924968778
input archived log thread=1 sequence=61 RECID=39 STAMP=925156048
input archived log thread=1 sequence=62 RECID=40 STAMP=925157378
input archived log thread=1 sequence=63 RECID=41 STAMP=925157838
input archived log thread=1 sequence=64 RECID=42 STAMP=925164026
input archived log thread=1 sequence=65 RECID=43 STAMP=925166147
input archived log thread=1 sequence=66 RECID=44 STAMP=925168784
input archived log thread=1 sequence=67 RECID=45 STAMP=925169035
input archived log thread=1 sequence=68 RECID=46 STAMP=925205840
input archived log thread=1 sequence=69 RECID=47 STAMP=925224968
input archived log thread=1 sequence=70 RECID=48 STAMP=925230868
input archived log thread=1 sequence=71 RECID=49 STAMP=925253889
input archived log thread=1 sequence=72 RECID=50 STAMP=925255635
input archived log thread=1 sequence=73 RECID=51 STAMP=925257078
input archived log thread=1 sequence=74 RECID=52 STAMP=925257134
input archived log thread=1 sequence=75 RECID=53 STAMP=925257135
input archived log thread=1 sequence=76 RECID=54 STAMP=925257169
input archived log thread=1 sequence=77 RECID=55 STAMP=925257203
input archived log thread=1 sequence=78 RECID=56 STAMP=925257242
input archived log thread=1 sequence=79 RECID=57 STAMP=925257291
input archived log thread=1 sequence=80 RECID=58 STAMP=925399179
input archived log thread=1 sequence=81 RECID=59 STAMP=925406620
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0irih5ct_1_1.rmn tag=TAG20161016T172340 comment=NONE #歸檔日誌檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
Finished backup at 16-OCT-16
Starting backup at 16-OCT-16
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/ORA11GR2/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ORA11GR2/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ORA11GR2/example01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ORA11GR2/users01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/ORA11GR2/undotbs01.dbf
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0jrih5eu_1_1.rmn tag=TAG20161016T172446 comment=NONE #資料檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:58
Finished backup at 16-OCT-16
Starting backup at 16-OCT-16
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=82 RECID=60 STAMP=925406865
channel ORA_DISK_1: starting piece 1 at 16-OCT-16
channel ORA_DISK_1: finished piece 1 at 16-OCT-16
piece handle=/u01/app/backup/db_0krih5kh_1_1.rmn tag=TAG20161016T172745 comment=NONE #最新歸檔日誌檔案備份集
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 16-OCT-16
Starting Control File and SPFILE Autobackup at 16-OCT-16
piece handle=/u01/app/FRA/ORA11GR2/autobackup/2016_10_16/o1_mf_s_925406866_d06l0mmn_.bkp comment=NONE #引數檔案與控制檔案備份集
Finished Control File and SPFILE Autobackup at 16-OCT-16
備份完成。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31392094/viewspace-2127105/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN備份整庫和歸檔日誌的方法
- Oracle設定多個歸檔路徑生成多份歸檔日誌,Rman備份時也只備份其中的一份歸檔日誌Oracle
- oracle rman備份歸檔日誌需要先切換日誌嗎Oracle
- Oracle使用備份檔案集恢復歸檔日誌Oracle
- 手工rm刪除歸檔日誌對備份歸檔日誌的影響
- rman開啟備份優化對備份歸檔的影響優化
- 【備份】RMAN中對控制檔案的幾種備份方法
- 【RMAN】Oracle中如何備份控制檔案?備份控制檔案的方式有哪幾種?Oracle
- dg丟失歸檔,使用rman增量備份恢復
- 12 使用RMAN備份和恢復檔案
- oracle 如何不備份已經備份的歸檔Oracle
- ORACLE NBU調取oracle rman指令碼備份歸檔不自動刪除歸檔Oracle指令碼
- 如何快速找到備份過最近、最大序號的歸檔日誌
- sql檔案備份SQL
- RMAN-ERROR:因為找不到過期和丟失的歸檔日誌而備份失敗Error
- ManagerDB 備份檔案管理與異地備份
- oracle uncatalog資料庫備份檔案Oracle資料庫
- [重慶思莊每日技術分享]-備庫使用RMAN獲得歸檔日誌
- mysqldump全量備份+mysqlbinlog二進位制日誌增量備份MySql
- Networker備份windows檔案Windows
- 使用RMAN備份資料庫資料庫
- 使用RMAN增量備份處理Dataguard因歸檔丟失造成的gap
- Dedecms備份的資料檔案位置及備份資料庫的方法資料庫
- RMAN備份概述
- 在Linux中,如何進行備份或歸檔檔案(tar 命令)?Linux
- RMAN備份恢復典型案例——資料檔案存在壞快
- 【RMAN】RMAN備份至ASMASM
- win10如何備份桌面檔案 win10怎樣備份桌面檔案Win10
- mysqlbinlog命令詳解 Part 7 備份二進位制日誌檔案MySql
- 教你在Linux中如何歸檔和備份Linux
- 利用RMAN備份重建資料庫資料庫
- SQL SERVER備份資料庫檔案(使用SSMS)SQLServer資料庫SSM
- RMAN備份恢復典型案例——RMAN備份&系統變慢
- RMAN備份進度
- rman 備份指令碼指令碼
- RMAN的備份原理
- python保留7天備份檔案Python
- 【RMAN】RMAN的備份保留策略
- rman 還原歸檔日誌(restore archivelogRESTHive