You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Restic cache fills root partition during application backup #8072
The run-backup script introduced in Core 3.20 performs Restic forget+prune operations in a rootful container, which mounts the restic-cache volume under the rootful namespace. Because Restic cache data is saved per-user as Podman rootless data, the cache is rebuilt under the rootful namespace as well, growing the used disk space on the / filesystem.
Steps to reproduce
Run the backup of a Mail application with a large data set.
Expected behavior
Restic cache data is saved only in the application's restic-cache volume.
Actual behavior
After the application backup completes, forget+prune runs in a rootful container and fills a separate restic-cache volume under the Podman rootful namespace. As a result, the cache is duplicated: once under /var/lib/containers/storage/volumes (rootful) and once under /home/mail1/.local/share/containers/storage/volumes (rootless).
If the root filesystem is near space exhaustion, the backup procedure may fill it up.
Activity