X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=backup.sh;h=46f72c3ae64c8331fd46e7efa41c39bacbf74fff;hb=fd7b2438b6b32f72462ebc4238800bea70aaf308;hp=c1c4439c44e73d9500cc175b14b959338c777712;hpb=d5fab66d097c6b9db8b54ad0a70ee0b63b4989df;p=backup.sh diff --git a/backup.sh b/backup.sh index c1c4439..46f72c3 100755 --- a/backup.sh +++ b/backup.sh @@ -76,7 +76,7 @@ umask 027 backup() { - infomsg "$computer:$filesystem $backuplevel backup\n" + infomsg "$computer:$filesystem $backuplevel backup" localsnar="${storagedir}/${computer}/${sfilesystem}/.incremental.snar" remotesnar="/root/.backup/${sfilesystem}.snar" @@ -284,7 +284,7 @@ if ! ssh root@$computer "[ ! -f /root/.backup/postexec ] || /bin/bash -x /root/. fi # Use warn so that we will get an email even on success. -warnmsg "$computer: Backup completed successfully." +warnmsg "Backup completed successfully." # Remove lockfile rm $LOCKFILE