Skip to content

Supporting compression on volume backups #3566

Open

Description

@epicwhale

To Reproduce

it would be helpful to gzip compress volume backs when used via https://docs.dokploy.com/docs/core/volume-backups or have an option to do so. Especially for use-cases like sqlite where the backup sizes will greatly reduce storage.

Current vs. Expected behavior

volume creates only create a tar file - application/x-tar - but a .tar.gz would better utilise storage space on s3

Provide environment information

Version: v0.26.6
Ubuntu

Which area(s) are affected? (Select all that apply)

Application, Docker

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Activity

  1. denogio commented on May 7, 2026

    @denogio

    Surprised it is not compressed by default.

  2. anxo-outeiral commented on Jun 11, 2026

    @anxo-outeiral

    Totally agree with this.

  3. anxo-outeiral commented on Aug 28, 2026

    @anxo-outeiral

    I've opened PR #5206 with gzip compression for volume backups (tar cvf → tar czf, .tar → .tar.gz). Tested locally with MinIO as S3 destination — backups compress ~15:1 for text/JSON/SQLite data.

    I also explored zstd and shared the findings in the discussion #2991 — including the trade-offs and a proposed path forward if the team wants to go beyond gzip.

  4. added a commit that references this issue on Aug 28, 2026
    76615ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions