summaryrefslogtreecommitdiff
path: root/.local/bin/backup-run
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-10-28 12:09:57 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-28 12:09:57 +0200
commit47d30b3c5b10812010c25ced00e4b418c37f8aa3 (patch)
tree649cb023e4109058261ae40b0d991aed24c0e6aa /.local/bin/backup-run
parentb9b21873c0d7ba1ab6dd5cc70d16e69bcd57fb27 (diff)
backup implementation, enhancements and fixesHEADmain
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}"