mirror of
https://kolaente.dev/konrad/docker-db-backup.git
synced 2026-01-10 21:20:08 +01:00
chore: update default config
This commit is contained in:
@@ -39,4 +39,4 @@ Default: `3h`
|
|||||||
How many backups to keep. If more backups are stored in the backup folder, the oldest one will be removed until there
|
How many backups to keep. If more backups are stored in the backup folder, the oldest one will be removed until there
|
||||||
are only as many as this config variable.
|
are only as many as this config variable.
|
||||||
|
|
||||||
Default: `24`
|
Default: `12`
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ func init() {
|
|||||||
config = &conf{
|
config = &conf{
|
||||||
Folder: "/backups/",
|
Folder: "/backups/",
|
||||||
Interval: time.Hour * 6,
|
Interval: time.Hour * 6,
|
||||||
MaxBackups: 10,
|
MaxBackups: 12,
|
||||||
}
|
}
|
||||||
|
|
||||||
folder, has := os.LookupEnv(envBackupFolder)
|
folder, has := os.LookupEnv(envBackupFolder)
|
||||||
|
|||||||
Reference in New Issue
Block a user