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