Skip to content

Docker: Backup fills up entire disk #28669

Closed
@mathius1111

Description

@mathius1111

Description

When creating a backup the disk is continuously written to until I stop it or it takes up the entire disk. The first time it wrote over 400GB of data for a new instance with one user and one 47 KiB repo.

I've tried a few different backup commands including:

Run on the server:

./gitea dump -c /data/gitea/conf/app.ini

Run from WSL2:

docker exec -u git -it -w /tmp $(docker ps -qf "name=gitea-gitea-1") bash -c '/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /tmp/gitea-dump.zip'

docker exec -u git -it -w /data/gitea/backups $(docker ps -qf name="gitea-gitea-1") bash -c '/app/gitea/gitea dump -c /data/gitea/conf/app.ini'

Gitea Version

1.21.3 built with GNU Make 4.4.1, go1.21.5 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Windows via Docker

How are you running Gitea?

Docker image: gitea/gitea:latest

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions