mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
Add support for S3 path prefix (subfolder) in backup destination #445
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pimpithecat on 11/1/2025
Currently, the S3 backup configuration in Postgresus only accepts a plain bucket name (e.g.
mybucket).For many setups, users need to store backups under a specific prefix or subfolder inside that bucket, for example:
However, the current implementation doesn’t seem to allow defining a subfolder or prefix — backups are uploaded directly into the bucket root.
Proposed behavior:
Allow defining an optional S3 path prefix for backups.
Example configurations:
Option 1 (separate prefix variable):
Option 2 (single variable with path support):
Both options should result in backups being stored in:
Why this matters:
Environment:
latest(Docker imagerostislavdugin/postgresus:latest)