You've already forked docker-volume-backup
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user