Override files in rotating gitea dump service
All checks were successful
CI / build:all (pull_request) Successful in 56m29s
CI / build:cross (pull_request) Successful in 1h5m24s

This commit is contained in:
2026-03-05 11:12:26 +01:00
parent 3a73eae98d
commit 11684d2dc9

View File

@@ -54,8 +54,9 @@
WorkingDirectory = cfg.dump.backupDir;
};
# gitea dump does not allow overriding files. Instead dump to stdout with -
script = ''
${exe} dump --type ${cfg.dump.type} --file "gitea-dump-$(date +%a).${cfg.dump.type}"
${exe} dump --type ${cfg.dump.type} --file - >"gitea-dump-$(date +%a).${cfg.dump.type}"
'';
};