Penguin
Note: You are viewing an old revision of this page. View the current version.

Installing BackupExec on DebianLinux (10.x)

The Remote Agent has been renamed RALUS (for Remote Agent for Linux and UNIX Servers) and an excellent HOWTO on using RALUS on Debian is available.

Don't forget to run update-rc.d VRTSralus.init defaults to make it start/stop appropritately.

Installing BackupExec on DebianLinux (9.x)

Untar and install to /usr/local/bkupexec and copy the agent.cfg from there to a newly created /etc/bkupexec directory. Now create a /etc/init.d/bkupexec file with the following content
#!/bin/sh
#
# Start/stops the Backup Exec agent.
# Craig Box, 25/8/03

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/bkupexec/agent.be
CONF=/etc/bkupexec/agent.cfg

# clear conflicting settings from the environment
unset TMPDIR

# See if the daemon is there
test -x $DAEMON || exit 0

case "$1" in
    start)
        echo -n "Starting the Backup Exec agent: agent.be"
        start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
        echo "."
        ;;
    stop)
        echo -n "Stopping the Backup Exec agent: agent.be"
        start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
        echo "."
        ;;
    restart|force-reload)
        echo -n "Restarting the Backup Exec agent: agent.be"
        start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
        sleep 2
        start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
        echo "."
        ;;
    *)
        echo "Usage: /etc/init.d/bkupexec {start|stop|restart|force-reload}"
        exit 1
        ;;
esac

exit 0

Make it executable and run update-rc.d bkupexec defaults 96, and you're away laughing.