Merge branch 'main' of https://git.oopen.de/backup/borg2-backup
This commit is contained in:
commit
8e53978799
@ -636,10 +636,10 @@ borg2 \\
|
||||
prune \\
|
||||
--list \\
|
||||
--show-rc \\
|
||||
--keep-daily 7 \\
|
||||
--keep-weekly 4 \\
|
||||
--keep-monthly 6 \\
|
||||
--keep-yearly 1 \\
|
||||
--keep-daily ${KEEP_DAILY} \\
|
||||
--keep-weekly ${KEEP_WEEKLY} \\
|
||||
--keep-monthly ${KEEP_MONTHLY} \\
|
||||
--keep-yearly ${KEEP_YEARLY} \\
|
||||
EOF
|
||||
|
||||
borg2 \
|
||||
|
@ -306,7 +306,7 @@ read BORG_BACKUP_ID
|
||||
echo -e " \033[33m--------------------------------------------\033[m"
|
||||
echo ""
|
||||
|
||||
echononl "Mount archive '${BORG_REPO}::${BORG_BACKUP_ID}' to '${BORG_FUSE_MOUNT_DIR}'.."
|
||||
echononl "Mount archive '$(basename "${BORG_REPO}")::${BORG_BACKUP_ID}' to '${BORG_FUSE_MOUNT_DIR}'.."
|
||||
|
||||
borg2 --remote-path borg2 --repo ${BORG_URL} mount -a ${BORG_BACKUP_ID} ${BORG_FUSE_MOUNT_DIR} >> "${log_file}" 2>&1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user