Closed MartiniMoe closed 4 months ago
borgbackup-job-paperless.service
sets ProtectSystem = strict
, so /var
is read-only.
Try adding this to your config:
services.borgbackup.jobs = {
paperless = {
readWritePaths = [ config.services.paperless.dataDir ];
# ...
};
};
Thank you very much, that was it! It works now! :)
Describe the bug
I'm trying to create backups of paperless with the builtin
document_exporter
command. The command fails because it reportsconfig.services.paperless.dataDir
as a read-only file system, even when running as the paperless user.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Backup job succeeds. The path should be writeable by paperless, because uploading documents etc all works.
Example backup configuration
This is a part of the borg backup job configuration I am using:
Output of failed backup service
Notify maintainers
@lukegb @erikarvstedt @leona-ya
Metadata
Add a :+1: reaction to issues you find important.