NetWorker:PostgreSQL 資料庫備份未完成,並顯示錯誤「is parameter 'NSR_BACKUP_SCRIPT'is not set」
Summary: NMDA PostreSQL DataBase 備份失敗,可在下列情步中透過協調的應用程式保護進行備份:NMC 工作流程組態與 postgresconfig.cfg 中的NSR_BACKUP_LEVEL之間的備份組層級不相符,只有排程備份會在從 NMC 工作流程執行時失敗,而手動備份會在用戶端命令列中按照層級NSR_CONFIG_FILE = /nsr/apps/config/postgresconfig.cfg 運作。 ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
報告的備份錯誤相同:
圖 1:未設定 NMC 工作流程備份失敗 NSR 備份腳本
圖 2:原則記錄上的工作流程錯誤
圖 3:NMDA PostgreSQL 記錄報告相同錯誤
- NetWorker 管理主控台 (NMC) 工作流程備份失敗,通過儲存庫並顯示錯誤,並指向「NSR_BACKUP_SCRIPT」未設定。
圖 1:未設定 NMC 工作流程備份失敗 NSR 備份腳本
- 工作流程對原則記錄產生相同的錯誤:
圖 2:原則記錄上的工作流程錯誤
- NMDA PostgreSQL 記錄檔在 nsr/apps/logs/nsroappbackup_OAPP_year_month_day.hh_mm_ss.processID.log 257129 下,回報來自用戶端的相同錯誤,如下例所示:
圖 3:NMDA PostgreSQL 記錄報告相同錯誤
Cause
備份層級設定不正確,且組態檔案不相符:
圖 4:備份組態的備份層級設為增量。
圖 5:用戶端的 /nsr/apps/config/postgresconfig.cfg Set to Full
- 備份組態的備份層級設為增量 (Incr):
圖 4:備份組態的備份層級設為增量。
- 用戶端的 /nsr/apps/config/postgresconfig.cfg 設為 Full:
圖 5:用戶端的 /nsr/apps/config/postgresconfig.cfg Set to Full
Resolution
更正 NMC 中與 postgresconfig.cfg 相符的工作流程組態備份層級。
圖 6:將備份層級設定為完整工作流程組態
工作流程備份會執行並順利完成。
圖 7:工作流程備份成功完成 -所有會話
圖 8:工作流程備份成功完成
圖 6:將備份層級設定為完整工作流程組態
工作流程備份會執行並順利完成。
圖 7:工作流程備份成功完成 -所有會話
圖 8:工作流程備份成功完成
Affected Products
NetWorker, NetWorker Module for Databases and ApplicationsProducts
NetWorker Family, NetWorker Series, NetWorker ModuleArticle Properties
Article Number: 000212516
Article Type: Solution
Last Modified: 01 May 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.