mondo.sh
556 Bytes
#!/bin/bash
# INSTALL mondo on Debian 8 Host .. must be root
cd /tmp
apt-get install wget
wget -q ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey -O- | apt-key add -
wget -O /etc/apt/sources.list.d/mondorescue.sources.list ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
apt-get update
apt-get install mondo nfs-common
mkdir /mnt/data && mount nfs.gjserver.de:/mnt/data /mnt/data
cd ~/
rm -r /tmp/*
wget -O ./nfsbackup.sh http://git.str8.biz/ecommun/shell/raw/master/helpers/nfsbackup.sh
chmod +x nfsbackup.sh
./nfsbackup.sh