Previous Topic: Manage Pre/Post Scripts for AutomationNext Topic: Discover Nodes Using a Script


Create the Backup Storage Alert Script

Create the backup storage alert script so that you can run the script when your backup storage space is less than the specified value. When you add a backup storage location in the UI, you have the option to select the Send alert checkbox. When you select the checkbox, Arcserve UDP Agent (Linux) monitors the available storage space every 15 minutes. Every time the storage space is less than the specified value, Arcserve UDP Agent (Linux) runs the backup_storage_alert.sh script. You can configure the backup_storage_alert.sh script to perform any task for you when the backup storage space is less.

Example 1: You can configure the script to automatically send you an email alert to remind you of the decreasing storage space.

Example 2: You can configure the script to automatically delete some data from the backup storage space when the storage space is less than the specified value.

Follow these steps:

  1. Log into the Backup Server as a root user.
  2. Create the backup_storage_alert.sh script using the following variables:
    backupstoragename

    Defines the name of backup storage location. For example, NFS or CIFS.

    freesize

    Defines the available free space in the backup storage location.

  3. Place the script at the following location:
    /opt/CA/d2dserver/usr/alert/backup_storage_alert.sh
    

The backup_storage_alert.sh script is created.