summaryrefslogtreecommitdiff
path: root/.local/bin/backup-run
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/backup-run')
-rwxr-xr-x.local/bin/backup-run5
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/backup-run b/.local/bin/backup-run
new file mode 100755
index 0000000..ee2c013
--- /dev/null
+++ b/.local/bin/backup-run
@@ -0,0 +1,5 @@
+#!/bin/zsh
+
+source $HOME/.config/borg/.env-backup
+
+borg -v create ::$(date "+%Y%m%d_%H%M%S") "${BACKUP_PATH}"