Timestamp based dump filenames and garbage collection

This commit is contained in:
Nanobyte
2021-03-22 22:18:23 +01:00
parent 8219b0398e
commit 2c3dde0d2e
4 changed files with 119 additions and 10 deletions

View File

@@ -49,7 +49,8 @@ addDefaults(config, {
dumpDatabase: {
enabled: true,
minTimeBetweenMs: 60000,
exportPath: '/opt/exports',
appExportPath: '/opt/exports',
postgresExportPath: '/opt/exports',
tables: [{
name: "sponsorTimes",
order: "timeSubmitted"