initial borg skripte

This commit is contained in:
2026-04-27 20:14:20 +02:00
commit d7f59d92a6
6 changed files with 51 additions and 0 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# Skript erzeugt backup
. /root/bin/borg.env # lies REPO_PATH aus env Datei
# borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=6 --rsh "ssh -i /root/.ssh/id_borg_ecdsa_p384 -p $SSH_PORT" ${REPO_PATH}
# borg compact -v --rsh "ssh -i /root/.ssh/id_borg_ecdsa_p384 -p $SSH_PORT" ${REPO_PATH}
borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=6
borg compact -v