Skip to content

Add scheduled backup feature with document exporter#352

Open
joshuamerold wants to merge 7 commits intoBenoitAnastay:mainfrom
joshuamerold:feature/backup-schedule
Open

Add scheduled backup feature with document exporter#352
joshuamerold wants to merge 7 commits intoBenoitAnastay:mainfrom
joshuamerold:feature/backup-schedule

Conversation

@joshuamerold
Copy link

This pull request introduces a scheduled backup feature for the document exporter in the Paperless Home Assistant Add-on.

Implementation details / Changes:

  • Added support for scheduling backups using SuperChronic, allowing automated execution at defined intervals.
  • The backup process triggers the DocumentExporter via standard shell scripts.
  • Configurable schedule settings have been added so users can define when backups should run.

This PR partially addresses the discussion in Issue #203

Feedback and suggestions are welcome!

@joshuamerold joshuamerold changed the title Add scheduled backup feature for document exporter Add scheduled backup feature with document exporter Dec 26, 2025
@joshuamerold joshuamerold marked this pull request as ready for review December 26, 2025 22:41
@BenoitAnastay
Copy link
Owner

Thanks a lot for your contribution, I'm currently kinda busy but I'll give it a look.

@joshuamerold joshuamerold force-pushed the feature/backup-schedule branch 2 times, most recently from 6a03221 to 2adb768 Compare December 28, 2025 00:12
@joshuamerold joshuamerold force-pushed the feature/backup-schedule branch from 2adb768 to 1f4b67d Compare December 28, 2025 00:34
ingress_auth: false
tika_gotenberg: false
backup_enabled: false
backup_path: /share/paperless/exports
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must avoid absolute path since it's a docker container.

If files aren't dropped into /share/ it will be lost in the void of the running instance file system

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I’ve resolved the problem as you mentioned, but I’m not entirely sure: Fix backup path check and default value

@joshuamerold joshuamerold force-pushed the feature/backup-schedule branch from f47145b to 7be643e Compare December 28, 2025 14:36
@BenoitAnastay
Copy link
Owner

I'm sorry I currently don't have time to maintain this project.

I can maybe add you as a maintainer so I don't leave the userbase without updates?

@joshuamerold
Copy link
Author

joshuamerold commented Jan 12, 2026

No worries.
I’d be happy to help and to be added as a maintainer so the userbase continues to receive updates.
It would be great to have a short exchange beforehand to align on the current state of the project, expectations, and any ongoing or planned work.

@BenoitAnastay
Copy link
Owner

Sure, you can reach me by mail then we can talk through a messaging app.

@joshuamerold
Copy link
Author

Sure, you can reach me by mail then we can talk through a messaging app.

I've contacted you via mail

@BenoitAnastay
Copy link
Owner

At benoit@anastay.dev ?

I haven't received anything.

@joshuamerold
Copy link
Author

Yes I have just send another one.
From "public@joshuamerold.de"

@joshuamerold
Copy link
Author

Yes I have just send another one. From "public@joshuamerold.de"

Feel free to contact me via the given email.
It would be awesome if you could merge the PR as well @BenoitAnastay

@BenoitAnastay
Copy link
Owner

For this PR I still need somme changes I can do the needed edits if I find the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants