Fixed total display

This commit is contained in:
ackitsme committed 2026-08-05 08:51:13 -07:00
1 parent 5a1320c22a
commit 69d5dc162b
1 file changed
+4 -3
+4 -3
View File
@@ -3,8 +3,8 @@
### Docker Stack Backup Script
### Created by Charlie Silverman - ackitsme3@gmail.com
###############################################################################
### Version: 1.1.2
### Updated: 2027-08-04
### Version: 1.1.3
### Updated: 2027-08-05
### Purpose: Backs up all docker stacks in a given directory to Restic bucket
###############################################################################
### Requirements:
@@ -24,6 +24,7 @@
# 1.1.0 - Added exception list via text file
# 1.1.1 - Added snapshot size to log
# 1.1.2 - Added aggregate backup size to end of log
# 1.1.3 - Added GiB to total backup size information
set -Eeuo pipefail
@@ -323,4 +324,4 @@ restic forget \
--prune
log "All compose projects backed up successfully."
log "Total Backup Size: $total_size"
log "Total Backup Size: $total_size GiB"