#!/bin/bash if [ $EUID != 0 ]; then echo "Sorry, backups must be run as root. Run \`sudo backup2l -b\` to take a backup." exit 1 fi