1
0
mirror of https://github.com/offen/docker-volume-backup.git synced 2025-11-23 21:44:40 +02:00

Add optional jittering before any backup actions (#654)

* NEW: Add optional jittering before backing up

* Removed deprecated rand seeding

* Updated BACKUP_JITTER config option doc

* Moved jittering logic from script init to runScript

* Changed formatting of jittering log message
This commit is contained in:
Esteban Thilliez
2025-10-17 08:37:14 +02:00
committed by GitHub
parent bebe3484c7
commit f76d4fd814
3 changed files with 23 additions and 0 deletions

View File

@@ -47,6 +47,17 @@ The values for each key currently match its default.
# ---
# Optional startup delay ("jitter") applied before each backup run.
# The jitter introduces a random delay between 0 and the given duration,
#
# Set to "0s" or omit the variable to disable jitter completely.
# Default = "0s". In case you need to adjust this value, supply a duration
# value as per https://pkg.go.dev/time#ParseDuration to `BACKUP_JITTER`.
#
# BACKUP_JITTER="0s"
# ---
# The compression algorithm used in conjunction with tar.
# Valid options are: "gz" (Gzip), "zst" (Zstd) or "none" (tar only).
# Default is "gz". Note that the selection affects the file extension.