NetWorker: PostgreSQL Database Backup is Not Completing With Error "The Parameter 'NSR_BACKUP_SCRIPT' is Not Set"

摘要: NMDA PostreSQL DataBase backup fails through the Orchestrated Application Protection when: Level of backup set mismatching between NMC workflow configuration and NSR_BACKUP_LEVEL in postgresconfig.cfg, Only the schedule backup fails when it runs from NMC workflow, and Manual backup works from client command line following the level NSR_CONFIG_FILE = /nsr/apps/config/postgresconfig.cfg. ...

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

Same Backup error reported to:
  • The NetWorker Management Console (NMC) workflow backup fails passing savefs with error, pointing to 'NSR_BACKUP_SCRIPT' is not set.
NMC Workflow Backup Fails NSR Backup Script Not Set
Figure 1: NMC Workflow Backup Fails NSR Backup Script Not Set
  • Workflow generates same error to policy log:
Workflow Error on Policy Log
Figure 2: Workflow Error on Policy Log
  • NMDA PostgreSQL logs reports same error from client under nsr/apps/logs/nsroappbackup_OAPP_year_month_day.hh_mm_ss.processID.log "Process ID#257129" from below example:
NMDA PostgreSQL Logs Report Same Error
Figure 3: NMDA PostgreSQL Logs Report Same Error
 

原因

The level of backup set incorrectly and mismatching the configuration file:
  • The backup configuration's backup level is set to Incremental (Incr):
Backup Configuration's Backup Level is Set to Incremental
Figure 4: Backup Configuration's Backup Level is Set to Incremental. 
  • The client's /nsr/apps/config/postgresconfig.cfg set to Full:
Client's /nsr/apps/config/postgresconfig.cfg Set to Full
Figure 5: Client's /nsr/apps/config/postgresconfig.cfg Set to Full
 
 

解决方案

Correct the level of backup to Full in Workflow Configuration in NMC matching the postgresconfig.cfg. 
 
Set Level of Backup to Full in Workflow Configuration
Figure 6: Set Level of Backup to Full in Workflow Configuration 

Workflow backup runs and completes successfully.
 
Workflow Backup Successfully Completes-All Sessions
Figure 7: Workflow Backup Successfully Completes-All Sessions
 
Workflow Backup Successfully Completes
Figure 8: Workflow Backup Successfully Completes
 
 
 

受影响的产品

NetWorker, NetWorker Module for Databases and Applications

产品

NetWorker Family, NetWorker Series, NetWorker Module
文章属性
文章编号: 000212516
文章类型: Solution
上次修改时间: 01 5月 2023
版本:  2
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。