Run a Post-Backup Script | Teradata Fabric - Run a Post-Backup Script - Teradata Fabric

Teradata® Fabric - Installation and User Guide - 3.11

Product
Teradata Fabric
Release Number
3.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-15
dita:mapPath
svw1780362788070.ditamap
dita:ditavalPath
ezw1784752870623.ditaval
dita:id
lxg1591800469257
You can create a script that automatically copies a backup file to a remote storage location after a Teradata Fabric Manager backup completes. A post-backup script must meet the following requirements:
  • A shell script
  • Executable by the tdqgm user
  • Able to accept the path of a backup file as a command line argument
  • Able to print an appropriate error in standard error and exit format with an exit status of 1

After a post-backup script is set, Teradata Fabric Manager runs the script automatically each time a periodic backup or the backup.sh command completes.

In cases where Teradata Fabric Manager observes an error, the daily backup job creates an issue with the MANAGER_BACKUP_FAILED error type and the backup.sh command displays an error message on the console.

  1. To specify a post-backup script, create a /etc/opt/teradata/tdqgm/backup.properties file and define the post.backup.script property with the path of the script to run.
    post.backup.script=/mydir/mybackupscript.sh
  2. [Optional] To test that the post-backup script integration is working, confirm the script ran without error:
    sh /opt/teradata/tdqgm/bin/backup.sh