borg-hive 0.0.2

Automated backups using Borg Backup
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

if [ -n "${CI:-}" ]; then
    if [ ! -x "${BORG_DIR}/borg" ]; then
        mkdir -p "${BORG_DIR}"
        wget https://github.com/borgbackup/borg/releases/download/1.0.8/borg-linux64 -O "${BORG_DIR}/borg"
        chmod +x "${BORG_DIR}/borg"
    fi
fi