本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
使用SMO設定檔show命令
您可以執行profile show命令來顯示設定檔的相關資訊。
語法
smo profile show -profile profile_name \[-quiet \| -verbose\]
參數
-
設定檔設定檔名稱
指定設定檔的名稱。此名稱最長可達30個字元、且在主機內必須是唯一的。
-
-無聲
僅在主控台顯示錯誤訊息。預設為顯示錯誤和警告訊息。
-
-詳細
在主控台顯示錯誤、警告和資訊訊息。
範例
下列範例顯示設定檔的詳細資料:
smo profile show -profile TEST_RBAC_DP_PROTECT -verbose
Profile name: TEST_RBAC_DP_PROTECT
Comment:
Target database:
Database name: racb
SID: racb1
Host: saal
Port: 1521
Username: sys
Password: ********
Repository:
Database name: smorep
SID: smorep
Host: elbe.rtp.org.com
Port: 1521
Username: smosaal
Password: ********
RMAN:
Use RMAN via control file
Oracle user account: oracle
Oracle user group: dba
Snapshot Naming:
Pattern: smo_{profile}_{db-sid}_{scope}_{mode}_{smid}
Example: smo_test_rbac_dp_protect_racb1_f_h_1_8abc01e915a55ac50115a55acc8d0001_0
Protection:
Dataset: smo_saal_racb
Protection policy: Back up
Conformance status: CONFORMANT
Local backups to retain:
Hourly: 4 copies
Daily: 7 day(s)
Weekly: 4 week(s)
Monthly: 12 month(s)