[feature-request] Ability to set local storage location #454

Closed
opened 2026-04-05 16:16:30 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @vmdude on 10/30/2025

It would be useful to allow for custom local storage location.
For instance if we want to use it in Kubernetes with different pvc, or NFS volume mount, as location is hardcoded as /postgresus/backups/ and as app hardcode chown command on all its root data, it will automatically crash on startup due to permission issue

Image

Having an envvar to set the local storage location could allow for it to work as expected.

*Originally created by @vmdude on 10/30/2025* It would be useful to allow for custom local storage location. For instance if we want to use it in Kubernetes with different pvc, or NFS volume mount, as location is [hardcoded as `/postgresus/backups/`](https://github.com/RostislavDugin/postgresus/blob/181c32ded30843b0f670d567ddac2717438e29e6/backend/internal/config/config.go#L134) and as app [hardcode `chown` command](https://github.com/RostislavDugin/postgresus/blob/181c32ded30843b0f670d567ddac2717438e29e6/Dockerfile#L130) on all its root data, it will automatically crash on startup due to permission issue <img width="778" height="295" alt="Image" src="https://github.com/user-attachments/assets/42aa4deb-5d8c-4589-8fcc-ba46b93374b6" /> Having an envvar to set the local storage location could allow for it to work as expected.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#454