Split backups + temp directories ? #275

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

Originally created by @Mikaciu on 1/6/2026

Hello,

I'm currently checking the tool and I'd have one question: is there a plan to split the three data directories (or at least the backups directory from the pgdata and temp directories) ?

My docker compose example (I couldn't make this work because of permissions):

  databasus:
    image: databasus/databasus:latest
    volumes:
      - databasus-pg:/databasus-data/pgdata
      - type: tmpfs
        target: /databasus-data/temp
        tmpfs:
          size: 1000000000
      - ./backups:/databasus-data/backups
    restart: unless-stopped

volumes:
  databasus-pg:

This way, the databasus PG data is persisted in a Docker volume, safe from user alteration and the dumps can be stored elsewhere (like on an NFS mount).

Thx !

*Originally created by @Mikaciu on 1/6/2026* Hello, I'm currently checking the tool and I'd have one question: is there a plan to split the three data directories (or at least the backups directory from the pgdata and temp directories) ? My docker compose example (I couldn't make this work because of permissions): ```yaml databasus: image: databasus/databasus:latest volumes: - databasus-pg:/databasus-data/pgdata - type: tmpfs target: /databasus-data/temp tmpfs: size: 1000000000 - ./backups:/databasus-data/backups restart: unless-stopped volumes: databasus-pg: ``` This way, the databasus PG data is persisted in a Docker volume, safe from user alteration and the dumps can be stored elsewhere (like on an NFS mount). Thx !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#275