Avamar client post-script functionality - What is the exit code to ensure a post-script runs only if a backup is successful (with no "exceptions")

Summary: This article discusses Avamar client post-script functionality. It explains using an exit code to ensure a post-script runs only if a backup is successful (with no "exceptions")

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.

Instructions

When a backup completes with exceptions, it has a different exit code to a backup which completes with no exceptions.
backup completion

This is useful where we want to activate a post-script that runs ONLY if a backup is successful.


Below we see environment variables exposed to the post-exec script:

Where the backup job was completed successfully at 14:01:38,83. 
AVAMAR_EXITCODE=0
Where the backup job Completed with Exceptions  at 14:05:12,63. 
AVAMAR_EXITCODE=536870932 

Additional Information


Affected Products

Avamar

Products

Avamar, Avamar Client
Article Properties
Article Number: 000019999
Article Type: How To
Last Modified: 26 Mar 2024
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.