Skip to content

Debian/Ubuntu Linux (64-bit)

These instructions show how to install the TSM client on Debian or Ubuntu. We will use a shell-script listed below and the TSM-debian repositories Safespring privides.

Start with creating a node inte portal: Create node

Make sure to fill in all the fields and to choose "Traditional files" at "Application" dropdown. Click "Create node".

After the creation is finished you will be presented with this dialogue:

Node created Make sure to save the password in a textfile for further reference. Also click the "Download configuration" and save the ZIP-file on your computer.

Create a file with the following contents:

cat > /etc/apt/sources.list.d/safespring-baas.list << EOF
deb xenial main
wget -qO - | sudo apt-key add -
apt-get install unzip
apt-get update && apt install safespring-baas-setup
unzip dsm-*
cp dsm.opt /opt/tivoli/tsm/client/ba/bin/
cp dsm.sys /opt/tivoli/tsm/client/ba/bin/
dsmc query session
cat > /etc/init.d/dsmcad << 'EOF'
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
# Provides:          dsmcad
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: DSMCAD initscript
# Description:       This script replaces the /etc/init.d/dsmcad script
#                       from IBM that only works on Red Hat variants
#                       to start the dmscad service on Debian variants

# Author: Gabriel Paues <>

DESC="DSMCAD Start Script"

mkdir -p $WORKING_DIR

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

case "$1" in
        log_daemon_msg "Starting dsmcad" "dsmcad"
        cd $WORKING_DIR
        start_daemon -p $PIDFILE $DAEMON
        log_end_msg $?
        log_daemon_msg "Stopping dsmcad" "dsmcad"
        killproc -p $PIDFILE $DAEMON
        log_end_msg $?
    $0 stop
    $0 start
    status_of_proc -p $PIDFILE $DAEMON atd && exit 0 || exit $?
    echo "Usage: /etc/init.d/dsmcad {start|stop|restart|force-reload|status}"
    exit 1
systemctl enable dsmcad
systemctl start dsmcad

Now it is time to upload the configuration ZIP-file that you downloaded from the "Create node" in the portal and the script you just created above. If using Windows we recommend using WinSCP to upload the files to the home directory of a user that has sudo-rights.

WinSCP upload

Now you connect to the server with SSH with to user to which home directory you copied the two files. Now you need to run:

ubuntu@baas-test-4:~$ ls
ubuntu@baas-test-4:~$ chmod +x
ubuntu@baas-test-4:~$ sudo ./
You will need to answer "Yes" with a "y" two times. When you come to the part which asks which node name to use, just hit return. After that you provide the password that you got from the backup portal and that you wrote to a textfile.

When the script has finished you have successfully installed TSM on the server. You can ensure that the service is running by running "systemctl status dsmcad".

Do not forget to go to the portal and update the node to configure retention