aboutsummaryrefslogtreecommitdiff
path: root/opt/bin/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opt/bin/backup.sh')
-rwxr-xr-xopt/bin/backup.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/opt/bin/backup.sh b/opt/bin/backup.sh
index 36b5dfc..35ea471 100755
--- a/opt/bin/backup.sh
+++ b/opt/bin/backup.sh
@@ -1,9 +1,5 @@
#!/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
+borg create -svpC lzma "16686@ch-s010.rsync.net:borg/$(hostname)::{hostname}-{now}-job" \
+ /srv/