mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-24 17:35:34 +02:00
Passing a full duration as retention period is more flexible
This commit is contained in:
@@ -38,6 +38,7 @@ type Config struct {
|
||||
BackupArchive string `split_words:"true" default:"/archive"`
|
||||
BackupCronExpression string `split_words:"true" default:"@daily"`
|
||||
BackupRetentionDays int32 `split_words:"true" default:"-1"`
|
||||
BackupRetentionPeriod time.Duration `split_words:"true"`
|
||||
BackupPruningLeeway time.Duration `split_words:"true" default:"1m"`
|
||||
BackupPruningPrefix string `split_words:"true"`
|
||||
BackupStopContainerLabel string `split_words:"true"`
|
||||
|
||||
Reference in New Issue
Block a user