NetWorker:PostgreSQL 数据库备份未完成,并显示错误“the parameter 'NSR_BACKUP_SCRIPT'is not set”
Summary: 当以下情况时,NMDA PostreSQL DataBase 备份会通过 Orchestrated Application Protection 失败: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 Management Console (NMC) 工作流备份通过 savefs 失败,并显示错误,指向“NSR_BACKUP_SCRIPT”未设置。
图 1:NMC 工作流备份失败 NSR 备份脚本未设置
- 工作流在策略日志中生成相同的错误:
图 2:策略日志上的工作流错误
- NMDA PostgreSQL 日志在 nsr/apps/logs/nsroappbackup_OAPP_year_month_day.hh_mm_ss.processID.log “Process ID#257129”下报告来自客户端的相同错误,示例如下所示:
图 3:NMDA PostgreSQL 日志报告相同错误
Cause
备份集的级别不正确且配置文件不匹配:
图 4:备份配置的备份级别设置为增量。
图 5:客户端的 /nsr/apps/config/postgresconfig.cfg 设置为 Full
- 备份配置的备份级别设置为 Incremental (Incr):
图 4:备份配置的备份级别设置为增量。
- 客户端的 /nsr/apps/config/postgresconfig.cfg 设置为 Full:
图 5:客户端的 /nsr/apps/config/postgresconfig.cfg 设置为 Full
Resolution
将 NMC 中与 postgresconfig.cfg 匹配的工作流配置中的备份级别更正为 Full 。
图 6:在工作流配置中将备份级别设置为 Full
工作流备份将运行并成功完成。
图 7:工作流备份成功完成 — 所有会话
图 8:工作流备份成功完成
图 6:在工作流配置中将备份级别设置为 Full
工作流备份将运行并成功完成。
图 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.