borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Customisable schedule for weekly compact of repositories

Open xorguy opened this issue 6 months ago • 5 comments

Description

Make customisable the weekly repositories compact.

Use Case

Storage where repos are created are not 24/7 powered on, and with the current schedule almost never will run the compact on the repos.

Alternatives Considered

No response

xorguy avatar May 16 '26 05:05 xorguy

I would like to see this too as an admin option

MegaV0lt avatar May 16 '26 13:05 MegaV0lt

Implemented in v2.60.8 — the weekly compact day and hour are now configurable under Settings → General, and run at or after the chosen time so non-24/7 storage still gets compacted. Thanks for the request.

marcpope avatar Jun 28 '26 09:06 marcpope

Has there been a regression on this, or is this only visible if running local repos?

I'm currently on v2.101 with 1 SSH Host, holding 3 repos and can't see any options to adjust the compact schedule.

Vyerni avatar Nov 18 '26 08:11 Vyerni

It's under Settings → Agent, not General. Repository Maintenance / Weekly Compact Schedule appears all the way at the bottom of that page.

PNMarano avatar Nov 28 '26 04:11 PNMarano

Looking at the code, it was originally under General, but then moved when the Agent page was created on August 13th in commit abc8c59c00220dee647fba00883445fc6681bd06.

PNMarano avatar Nov 28 '26 04:11 PNMarano