diff options
Diffstat (limited to 'opt/bin/backup.sh')
-rwxr-xr-x | opt/bin/backup.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/opt/bin/backup.sh b/opt/bin/backup.sh new file mode 100755 index 0000000..36b5dfc --- /dev/null +++ b/opt/bin/backup.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -eu + +# FIXME +# borg init if doesn't exist + +borg create -svpC lzma "16686@ch-s010.rsync.net:borg/$(hostname)::{hostname}-{now}-job" + +# FIXME: send email |