Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsTroubleshooting - Enterprise Workloads
App-aware backup completes with “Failed to check writer services” error
App-aware backup completes with “Failed to check writer services” error
Updated over 10 months ago

This article applies to:

  • Product edition: Phoenix

Problem description

App aware backup completes successfully with “Failed to check writer services” error.

Cause

This error occurs if we are not able to list the writers from the credentials that are assigned to this virtual machine from the credential store.

Traceback

  1. Please download the Job Logs.

  2. Extract the logs and go to Phoenix<YYYYMMDD>_<timestamp>.log file to see the below traceback in the logs.

    [2019-10-31 15:48:09,879] [ERROR] Error while checking writer services, err_code : 40001 err_msg : sql_sriter_status True and vss_writer_status False
        [2019-10-31 15:48:09,889] [WARNING] Error occurred while taking SQL snapshot 4295032853 Got error while taking SQL snapshot. Failed to check writer services. error code : 4001 error msg : sql_writer_status True and vss_writer_status False: Application aware backup would have just VM backup and would complete with Successful with error

Resolution

Propagate the necessary administrative privileges required to run command to list VSS writers. The command is

vssadmin list writers.

Verification

  1. Once the changes are done, login to the virtual machine with the same set of credential which is assigned to this virtual machine from the credential store.

  2. Open the command prompt and run the command

    vssadmin list writers.
  3. You should be able to see a list of VSS writers on the virtual machine and should not receive an error stating: You do not have the necessary permissions to run this command. Run this utility from a command window with administrative privileges.

  4. Once step 3 is verified please trigger a backup job for this VM and it should be completed successfully.

See also

Did this answer your question?