New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backups: Schedule automatic index database and album backups #4243
Comments
In the next step, this worker can be configured to automatically create index and/or album backups at regular intervals. Signed-off-by: Michael Mayer <michael@photoprism.app>
Note that this is "bleeding edge" functionality and that the newly added config option PHOTOPRISM_BACKUP_RETAIN can be set, but does not have any effect yet. Feedback welcome! Signed-off-by: Michael Mayer <michael@photoprism.app>
Here is an overview of the updated options for configuring storage, backups, and index workers: Storage
Backup
Indexing
|
PHOTOPRISM_BACKUP_RETAIN lets to specify the number of index database dumps to keep (backup filenames are in the format "YYYY-MM-DD.sql"). Signed-off-by: Michael Mayer <michael@photoprism.app>
Support for the newly added environment variable |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
We changed the If you do not want automatic backups to be created for your instance, you can deactivate them under Settings > Advanced: I'll leave further testing to @graciousgrey and our community so I can move on to other issues. Thank you very much! |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
As a user who doesn't create backups in any other way, I want PhotoPrism to automatically create backups for me at configurable intervals so that I can restore the index if my database gets lost or corrupted.
While a backup worker has already been implemented for this, we still need to decide on the configuration options to automatically run it in the background, as users likely have different preferences. Feel free to add a comment below to let us know what options you would need for your own use.
Related Issues:
PHOTOPRISM_DISABLE_BACKUPS
#4294The text was updated successfully, but these errors were encountered: