eventlog: add backup target eventlog

This commit is contained in:
Girish Ramakrishnan
2025-07-25 12:08:33 +02:00
parent 59aaabecc7
commit 83ab701d02
12 changed files with 77 additions and 55 deletions

View File

@@ -125,8 +125,8 @@ async function setupServer() {
format: 'tgz',
retention: { keepWithinSecs: 2 * 24 * 60 * 60 },
schedule: '00 00 23 * * *'
});
await backupTargets.setPrimary({ id });
}, exports.auditSource);
await backupTargets.setPrimary({ id }, exports.auditSource);
await oidcServer.stop();
await server.start();
debug('Set up server complete');