您好,登錄后才能下訂單哦!
這篇文章主要講解了“聯機執行SQL語句進行數據備份的高級特性分析”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“聯機執行SQL語句進行數據備份的高級特性分析”吧!
1.加密備份
DM7提供加密備份的方式保護用戶的備份集,沒有權限的用戶無法訪問加密的備份集。備份語句中通過指定IDENTIFIED BY...WITH ENCRYPTION...ENCRYPT WITH...執行加密備份。其中,參數IDENTIFIED BY指定加密密碼,長度不超過128字節,若長度超長服務器會報語法分析出錯;參數WITH ENCRYPTION指定加密類型,加密類型分為簡單加密和復雜加密,簡單加密是對備份文件設置口令,但文件內容仍以明文存儲,復雜加密則對備份文件進行完全的加密,備份文件以密文方式存儲,用戶可根據備份數據的重要程度選擇加密類型;參數ENCRYPT WITH指定加密算法,不同加密算法具體見參數說明,也可通過“SELECT * FROM V$CIPHERS”語句查詢DM7支持的加密算法,其中算法MD5和SHA1不能在此處使用。默認使用的加密算法為AES256_CFB。
加密備份過程中參數IDENTIFIED BY必須指定,參數WITH ENCRYPTION和參數ENCRYPT WITH可不指定,此時WITH ENCRYPTION默認值為1,ENCRYPT WITH默認值為AES256_CFB。例如,以下兩種加密備份語句都是合法的:
SQL> backup database to db_rac_backup_encrypt_01 backupset '/dm7/backup/db_rac_backup_encrypt_2020052901' identified by "abcd123456"; executed successfully used time: 00:00:01.379. Execute id is 85. SQL> backup database to db_rac_backup_encrypt_02 backupset '/dm7/backup/db_rac_backup_encrypt_2020052902' identified by "abcd123456" encrypt with rc4; executed successfully used time: 00:00:01.313. Execute id is 86. SQL> select sf_bakset_backup_dir_add('disk','/dm7/backup/db_rac_backup_encrypt_2020052901'); LINEID SF_BAKSET_BACKUP_DIR_ADD('disk','/dm7/backup/db_rac_backup_encrypt_2020052901') ---------- ------------------------------------------------------------------------------- 1 1 used time: 2.066(ms). Execute id is 87. SQL> select sf_bakset_backup_dir_add('disk','/dm7/backup/db_rac_backup_encrypt_2020052902'); LINEID SF_BAKSET_BACKUP_DIR_ADD('disk','/dm7/backup/db_rac_backup_encrypt_2020052902') ---------- ------------------------------------------------------------------------------- 1 1 used time: 1.532(ms). Execute id is 88. SQL> select * from v$backupset where backup_path like '/dm7/backup/db_rac_backup_encrypt_202005290%'; LINEID DEVICE_TYPE BACKUP_ID PARENT_ID BACKUP_NAME BACKUP_PATH TYPE LEVEL RANGE# OBJECT_NAME OBJECT_ID BASE_NAME BACKUP_TIME DESC# ENCRYPT_TYPE COMPRESS_LEVEL WITHOUT_LOG USE_PWR PKG_SIZE BEGIN_LSN END_LSN BKP_NUM DBF_NUM PARALLEL_NUM DDL_CLONE MPP_FLAG MIN_TRX_START_LSN MIN_EXEC_VER CUMULATIVE ---------- ----------- ----------- ----------- ------------------------ -------------------------------------------- ----------- ----------- ----------- ----------- ----------- --------- --------------------------- ----- ------------ -------------- ----------- ----------- ----------- -------------------- -------------------- ----------- ----------- ------------ ----------- ----------- -------------------- ------------ ----------- 1 DISK 1180634048 -1 DB_RAC_BACKUP_ENCRYPT_01 /dm7/backup/db_rac_backup_encrypt_2020052901 0 0 1 rac -1 2020-05-29 16:41:40.000665 1 0 0 0 33554432 50908 51058 2 4 1 0 0 49398 117507596 0 2 DISK 244985784 -1 DB_RAC_BACKUP_ENCRYPT_02 /dm7/backup/db_rac_backup_encrypt_2020052902 0 0 1 rac -1 2020-05-29 16:43:00.000380 1 0 0 0 33554432 50908 51064 2 4 1 0 0 49398 117507596 0 used time: 00:00:01.053. Execute id is 89.
若指定了加密密碼,但加密類型WITH ENCRYPTION參數指定為0,則為非加密備份,如下所示:
SQL> backup database to db_rac_backup_encrypt_03 backupset '/dm7/backup/db_rac_backup_encrypt_2020052903' identified by "abcd123456" with encryption 0; executed successfully used time: 00:00:01.313. Execute id is 90. SQL> select sf_bakset_backup_dir_add('disk','/dm7/backup/db_rac_backup_encrypt_2020052903'); LINEID SF_BAKSET_BACKUP_DIR_ADD('disk','/dm7/backup/db_rac_backup_encrypt_2020052903') ---------- ------------------------------------------------------------------------------- 1 1 used time: 1.899(ms). Execute id is 91. SQL> select * from v$backupset where backup_path like '/dm7/backup/db_rac_backup_encrypt_202005290%'; LINEID DEVICE_TYPE BACKUP_ID PARENT_ID BACKUP_NAME BACKUP_PATH TYPE LEVEL RANGE# OBJECT_NAME OBJECT_ID BASE_NAME BACKUP_TIME DESC# ENCRYPT_TYPE COMPRESS_LEVEL WITHOUT_LOG USE_PWR PKG_SIZE BEGIN_LSN END_LSN BKP_NUM DBF_NUM PARALLEL_NUM DDL_CLONE MPP_FLAG MIN_TRX_START_LSN MIN_EXEC_VER CUMULATIVE ---------- ----------- ----------- ----------- ------------------------ -------------------------------------------- ----------- ----------- ----------- ----------- ----------- --------- --------------------------- ----- ------------ -------------- ----------- ----------- ----------- -------------------- -------------------- ----------- ----------- ------------ ----------- ----------- -------------------- ------------ ----------- 1 DISK 1180634048 -1 DB_RAC_BACKUP_ENCRYPT_01 /dm7/backup/db_rac_backup_encrypt_2020052901 0 0 1 rac -1 2020-05-29 16:41:40.000665 1 0 0 0 33554432 50908 51058 2 4 1 0 0 49398 117507596 0 2 DISK 244985784 -1 DB_RAC_BACKUP_ENCRYPT_02 /dm7/backup/db_rac_backup_encrypt_2020052902 0 0 1 rac -1 2020-05-29 16:43:00.000380 1 0 0 0 33554432 50908 51064 2 4 1 0 0 49398 117507596 0 3 DISK 1995527143 -1 DB_RAC_BACKUP_ENCRYPT_03 /dm7/backup/db_rac_backup_encrypt_2020052903 0 0 1 rac -1 2020-05-29 16:46:17.000633 0 0 0 0 33554432 50908 51070 2 4 1 0 0 49398 117507596 0 used time: 00:00:01.069. Execute id is 92.
從encrypt_type列可以看到備份集/dm7/backup/db_rac_backup_encrypt_2020052903為0,也就證明了備份是沒有加密的。
下面以數據庫完全備份為例,創建加密密碼為“abcd123456”,加密算法為“rc4”的復雜類型數據庫加密備份,完整步驟如下:
1) 配置歸檔 。
2) 保證數據庫處于OPEN狀態。
3) 備份數據庫,輸入以下語句:
SQL> backup database to db_rac_backup_encrypt_04 backupset '/dm7/backup/db_rac_backup_encrypt_2020052904' identified by "abcd123456" with encryption 2 encrypt with rc4; executed successfully used time: 00:00:01.356. Execute id is 93. SQL> select sf_bakset_backup_dir_add('disk','/dm7/backup/db_rac_backup_encrypt_2020052904'); LINEID SF_BAKSET_BACKUP_DIR_ADD('disk','/dm7/backup/db_rac_backup_encrypt_2020052904') ---------- ------------------------------------------------------------------------------- 1 1 used time: 1.868(ms). Execute id is 94. SQL> select * from v$backupset where backup_path='/dm7/backup/db_rac_backup_encrypt_2020052904'; LINEID DEVICE_TYPE BACKUP_ID PARENT_ID BACKUP_NAME BACKUP_PATH TYPE LEVEL RANGE# OBJECT_NAME OBJECT_ID BASE_NAME BACKUP_TIME DESC# ENCRYPT_TYPE COMPRESS_LEVEL WITHOUT_LOG USE_PWR PKG_SIZE BEGIN_LSN END_LSN BKP_NUM DBF_NUM PARALLEL_NUM DDL_CLONE MPP_FLAG MIN_TRX_START_LSN MIN_EXEC_VER CUMULATIVE ---------- ----------- ----------- ----------- ------------------------ -------------------------------------------- ----------- ----------- ----------- ----------- ----------- --------- --------------------------- ----- ------------ -------------- ----------- ----------- ----------- -------------------- -------------------- ----------- ----------- ------------ ----------- ----------- -------------------- ------------ ----------- 1 DISK 141217020 -1 DB_RAC_BACKUP_ENCRYPT_04 /dm7/backup/db_rac_backup_encrypt_2020052904 0 0 1 rac -1 2020-05-29 16:49:56.000930 2 0 0 0 33554432 50908 51076 2 4 1 0 0 49398 117507596 0 used time: 00:00:01.067. Execute id is 95.
對于增量備份加密,如果基備份存在加密,則使用的加密算法和加密密碼必須與基備份中一致;如果基備份未進行加密處理,則對增量備份使用的加密密碼和算法沒有特殊要求。
SQL> backup database increment base on backupset '/dm7/backup/db_rac_backup_encrypt_2020052904' backupset '/dm7/backup/db_rac_increment_backup_encrypt_2020052901' identified by "abcd123456" with encryption 2 encrypt with rc4; executed successfully used time: 00:00:01.262. Execute id is 96. SQL> select sf_bakset_backup_dir_add('disk','/dm7/backup/db_rac_increment_backup_encrypt_2020052901'); LINEID SF_BAKSET_BACKUP_DIR_ADD('disk','/dm7/backup/db_rac_increment_backup_encrypt_2020052901') ---------- ----------------------------------------------------------------------------------------- 1 1 used time: 2.210(ms). Execute id is 97. SQL> select * from v$backupset where backup_path='/dm7/backup/db_rac_increment_backup_encrypt_2020052901'; LINEID DEVICE_TYPE BACKUP_ID PARENT_ID BACKUP_NAME BACKUP_PATH TYPE LEVEL RANGE# OBJECT_NAME OBJECT_ID BASE_NAME BACKUP_TIME DESC# ENCRYPT_TYPE COMPRESS_LEVEL WITHOUT_LOG USE_PWR PKG_SIZE BEGIN_LSN END_LSN BKP_NUM DBF_NUM PARALLEL_NUM DDL_CLONE MPP_FLAG MIN_TRX_START_LSN MIN_EXEC_VER CUMULATIVE ---------- ----------- ----------- ----------- ---------------------------------- ------------------------------------------------------ ----------- ----------- ----------- ----------- ----------- ------------------------ --------------------------- ----- ------------ -------------- ----------- ----------- ----------- -------------------- -------------------- ----------- ----------- ------------ ----------- ----------- -------------------- ------------ ----------- 1 DISK 195701720 -1 DB_INCR_rac_20200529_165327_000906 /dm7/backup/db_rac_increment_backup_encrypt_2020052901 1 0 1 rac -1 DB_RAC_BACKUP_ENCRYPT_04 2020-05-29 16:53:29.000129 2 0 0 0 33554432 50908 51082 2 4 1 0 0 49398 117507596 0 used time: 00:00:01.075. Execute id is 98.
2.設置跟蹤日志文件
DM7備份時支持設置跟蹤日志文件,日志記錄了SBT接口的調用過程,用戶通過查看日志可跟蹤備份還原過程。
與生成跟蹤日志文件相關的參數有兩個:TRACE FILE和TRACE LEVEL。TRACE FILE用于指定生成的跟蹤日志文件路徑,TRACE LEVEL表示是否啟用TRACE。TRACE LEVEL有效值包括1和2。1表示不啟用TRACE功能,2表示啟用,系統默認值為1。
指定參數TRACE FILE但TRACE LEVEL值設置為1即不啟用TRACE功能,會生成TRACE文件,但不會寫入TRACE信息。如下所示:
SQL> backup database backupset '/dm7/backup/db_rac_backup_2020052905' trace file '/dm7/backup/db_rac_trace.log' trace level 1; executed successfully used time: 00:00:01.719. Execute id is 99. [dmdba@dmrac1 backup]$ cat db_rac_trace.log
TRACE LEVEL值設置為2即啟用TRACE功能,但若TRACE FILE沒有指定,系統默認在執行碼路徑的log目錄下生成DM_SBTTRACE_年月.log文件。如下所示:
SQL> backup database to db_rac_backup_trace_2020052901 backupset '/dm7/backup/db_rac_backup_trace_2020052901' trace level 2; executed successfully used time: 00:00:01.354. Execute id is 101. [dmdba@dmrac1 log]$ pwd /dm7/log [dmdba@dmrac1 log]$ cat dm_SBTTRACE_202005.log 2020-05-29 17:01:27 sbtbackup(type=1, name=db_rac_backup_trace_2020052901.bak) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 5095936) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 21496320) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 49664) 2020-05-29 17:01:27 sbtclose() 2020-05-29 17:01:27 sbtinfo(!NULL) file [db_rac_backup_trace_2020052901.bak] finished, name:[db_rac_backup_trace_2020052901.bak],created time:[2020-05-29 17:01:27],expirated time:[2105-12-31 23:59:59],label:[],comment:[] 2020-05-29 17:01:27 sbtbackup(type=1, name=db_rac_backup_trace_2020052901_1.bak) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtclose() 2020-05-29 17:01:27 sbtinfo(!NULL) file [db_rac_backup_trace_2020052901_1.bak] finished, name:[db_rac_backup_trace_2020052901_1.bak],created time:[2020-05-29 17:01:27],expirated time:[2105-12-31 23:59:59],label:[],comment:[] 2020-05-29 17:01:27 sbtbackup(type=3, name=db_rac_backup_trace_2020052901.meta) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 49152) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:01:27 sbtwrite(buf != NULL, buf_len = 512) 2020-05-29 17:01:27 sbtclose() 2020-05-29 17:01:27 sbtinfo(!NULL) file [db_rac_backup_trace_2020052901.meta] finished, name:[db_rac_backup_trace_2020052901.meta],created time:[2020-05-29 17:01:27],expirated time:[2105-12-31 23:59:59],label:[],comment:[]
若TRACE FILE使用相對路徑,日志文件生成在執行碼同級目錄下。
以數據庫完全備份為例,為備份設置跟蹤日志文件的操作步驟如下:
1) 配置歸檔,參考3.1節。
2) 保證數據庫處于OPEN狀態。
3) 備份數據庫,輸入以下語句:
SQL> backup database to db_rac_backup_trace_2020052903 backupset '/dm7/backup/db_rac_backup_trace_2020052903' trace file '/dm7/backup/db_rac_trace.log' trace level 2; executed successfully used time: 00:00:01.321. Execute id is 104. [dmdba@dmrac1 backup]$ cat db_rac_trace.log 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_trace_2020052902/db_rac_backup_trace_2020052902.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/ts_main_increment_bak_20200529_01/ts_main_increment_bak_20200529_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_encrypt_2020052904/db_rac_backup_encrypt_2020052904.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_01/db_backup_20200528_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_encrypt_2020052903/db_rac_backup_encrypt_2020052903.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200529_01/db_backup_20200529_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_encrypt_2020052902/db_rac_backup_encrypt_2020052902.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_04/db_backup_20200528_04.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_02/db_backup_20200528_02.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_2020052905/db_rac_backup_2020052905.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_06/db_backup_20200528_06.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 182272) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/ts_main_full_bak_20200529_02/ts_main_full_bak_20200529_02.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_increment_backup_encrypt_2020052901/db_rac_increment_backup_encrypt_2020052901.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/ts_main_increment_bak_20200529_02/ts_main_increment_bak_20200529_02.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/ts_main_full_bak_20200529_01/ts_main_full_bak_20200529_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_05/db_backup_20200528_05.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_increment_backup_20200529_01/db_increment_backup_20200529_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/ts_main_increment_bak_2020052903/ts_main_increment_bak_2020052903.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_encrypt_2020052901/db_rac_backup_encrypt_2020052901.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_backup_20200528_03/db_backup_20200528_03.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_increment_backup_20200529_02/db_increment_backup_20200529_02.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=/dm7/backup/db_rac_backup_trace_2020052901/db_rac_backup_trace_2020052901.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 25088) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=+DMDATA/data/rac/bak/ts_backup_main_01/ts_backup_main_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 8704) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=+DMDATA/data/rac/bak/tab_t1_bak_01/tab_t1_bak_01.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 5632) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtrestore(filepath=+DMDATA/data/rac/bak/table_tab_01_backup_20200529/table_tab_01_backup_20200529.meta) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 45056) 2020-05-29 17:15:13 sbtread(buf != NULL, buf_len = 5632) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtend(del_flag=FALSE) 2020-05-29 17:15:13 sbtbackup(type=1, name=db_rac_backup_trace_2020052903.bak) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 5095936) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 21496320) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 49664) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtinfo(!NULL) file [db_rac_backup_trace_2020052903.bak] finished, name:[db_rac_backup_trace_2020052903.bak],created time:[2020-05-29 17:15:13],expirated time:[2105-12-31 23:59:59],label:[],comment:[] 2020-05-29 17:15:13 sbtbackup(type=1, name=db_rac_backup_trace_2020052903_1.bak) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 2560) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtinfo(!NULL) file [db_rac_backup_trace_2020052903_1.bak] finished, name:[db_rac_backup_trace_2020052903_1.bak],created time:[2020-05-29 17:15:13],expirated time:[2105-12-31 23:59:59],label:[],comment:[] 2020-05-29 17:15:13 sbtbackup(type=3, name=db_rac_backup_trace_2020052903.meta) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 49152) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 4096) 2020-05-29 17:15:13 sbtwrite(buf != NULL, buf_len = 512) 2020-05-29 17:15:13 sbtclose() 2020-05-29 17:15:13 sbtinfo(!NULL) file [db_rac_backup_trace_2020052903.meta] finished, name:[db_rac_backup_trace_2020052903.meta],created time:[2020-05-29 17:15:13],expirated time:[2105-12-31 23:59:59],label:[],comment:[] 2020-05-29 17:15:13 sbtend(del_flag=FALSE)
感謝各位的閱讀,以上就是“聯機執行SQL語句進行數據備份的高級特性分析”的內容了,經過本文的學習后,相信大家對聯機執行SQL語句進行數據備份的高級特性分析這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。