PowerProtect Backup Services: 사전 백업 및 사후 백업 스크립트가 실행되지 않음
Summary: 이 KB 문서에서는 백업 중에 사전 백업 및 사후 백업 스크립트가 실행되지 않는 문제에 대해 설명합니다.
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
사전 백업 및 사후 백업 스크립트가 있습니다. 그러나 실행은 실행되지 않습니다.
다음 오류가 작업 로그에 표시됩니다.
level=info ts=2023-05-11T13:19:54.933937279+10:00 filename=prepost_script.go:114 message="Running Script : /<path>/pre_script.sh for request_id : 46"
level=error ts=2023-05-11T13:19:54.934454653+10:00 filename=prepost_script.go:130 message="Exception encountered in executing the script"
level=error ts=2023-05-11T13:19:54.934499706+10:00 stack="fork/exec /<path>/pre_script.sh: exec format error\\ngoroutine 1 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x65\nphoenix/pkg/client/logutil.Error({0xcee3c0, 0xc0002643f0}, {0xc3e9b6, 0x1}, {0x0, 0x8, 0x8})\n\t/bld/src/phoenix/pkg/client/logutil/logger.go:86 +0x211\nphoenix/fileserver/client/agent/backupagent.(*BackupAgent).scriptRunner(0xc0000cb560, {0xc00026a138, 0x18}, 0x258, 0x1, {0xc2504c, 0xa})\n\t/bld/src/phoenix/fileserver/client/agent/backupagent/prepost_script.go:130 +0x815\nphoenix/fileserver/client/agent/backupagent.(*BackupAgent).runScript(0xc0000cb560, {0xc2504c, 0xa})\n\t/bld/src/phoenix/fileserver/client/agent/backupagent/prepost_script.go:89 +0x212\nphoenix/fileserver/client/agent/backupagent.(*BackupAgent).runPreScript(0xc0000cb560)\n\t/bld/src/phoenix/fileserver/client/agent/backupagent/prepost_script.go:23 +0x98\nphoenix/fileserver/client/agent/backupagent.(*BackupAgent).DoBackup(0xc0000cb560, 0x20)\n\t/bld/src/phoenix/fileserver/client/agent/backupagent/backup_agent.go:158 +0x352\nmain.backupMain({0xc0000a2160, 0x2, 0x1}, 0x0)\n\t/bld/src/phoenix/fileserver/client/cmd/PhoenixFSBackupAgent/main.go:174 +0x9b7\nmain.main()\n\t/bld/src/phoenix/fileserver/client/cmd/PhoenixFSBackupAgent/main.go:203 +0xa8\n"
level=info ts=2023-05-11T13:19:54.934512521+10:00 filename=backup_agent.go:966 message="Sending log to Phoenix server with message: Pre-Script error encountered : fork/exec /<path>/pre_script.sh: exec format error"
level=info ts=2023-05-11T13:19:55.180236915+10:00 filename=prepost_script.go:90 message="Script execution done with status : Failed"Cause
제품이 정상적으로 작동합니다.
Resolution
이 문제가 관찰 된 한 예에서 #!/bin/bash 는 pre_script.sh에 없으며 post_script.sh.
pre_script.sh 및 post_script.sh의 첫 번째 줄에 #!/bin/bash 를 추가하면 잘 작동합니다.
Affected Products
PowerProtect Backup ServicesArticle Properties
Article Number: 000213826
Article Type: Solution
Last Modified: 22 Aug 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.