Problem description
The backup of the File Server is failing with the following error:
"Could not enable privileges 'Back up files and directories', 'Restore files and directories', 'Manage auditing and security log'." (Error code: Phoenix370).
TRACEBACK
level=info ts=2023-02-24T09:58:04.5735826-05:00 filename=backup_agent.go:139 message="=== Phoenix Backup Client started. ==="
level=info ts=2023-02-24T09:58:04.6855352-05:00 filename=backup_agent.go:966 message="Sending log to Phoenix server with message: Finishing backup operation with status: 'Failed'"
level=error ts=2023-02-24T09:58:06.8411032-05:00 layer=main message="Backup Failed" error="Could not enable privileges \"Back up files and directories\", \"Restore files and directories\", \"Manage auditing and security log\""
Cause:
The service account or Local system account using which the FS Phoenix agent is configured with doesn't have permission set for "Back up files and directories\", \"Restore files and directories\", \"Manage auditing and security log\" on the respective windows servers.
Resolution:
Press Win + R, type gpedit.msc, and press Enter to open the Local Group Policy Editor.
Navigate to Windows Settings β Security Settings β Local Policies β User Rights Assignment.
Ensure that the group containing the Local System account (NT/Authority) or Service account is added to the following policies:
Back up files and directories
Restore files and directories
Manage auditing and security log
Apply the changes, and then trigger a manual backup. The backup should now complete successfully.