Skip to main content
lakshmanaraok0002
New Participant
Sep 9, 2021 9:55 AM UTC
Question

Ant Script issue

Hello Guys, Can anyone help us on the below issue ASAP.

We have created the backup script based on the Appian documentation. Below is the script

  1. #!/bin/bash
         source ../../../../server/_scripts/exports.sh
         INSTALLDIR=$AE_HOME/_admin/_scripts/tools/datamaintenance/antScripts
         ant -f $INSTALLDIR/aecopyfiles.xml -Dae.source.location=$AE_HOME -Dae.dest.location="/data/aebackups" -


    Created backup script in ‘/apps/appian/_admin/_scripts/tools/datamaintenance’ -> ‘appianbackup.sh’

     

     

    But, while running the backup script getting below error : “appianbackup.sh: line 6: ant: command not found”

    Please suggest what we need to do on this issue.

    1 reply

    stefanhelzle0001
    Brainy
    Sep 9, 2021 10:50 AM UTC

    Do you have "ant" installed?

    Documentation says:

    These scripts utilize Apache Ant as the building technology for the scripts.