Skip to content

Feature Request: Scheduled Backup/Export #590

Description

@onceuponathyme

It would be great if we were able to schedule a daily global backup/export which:

  • Has configurable scheduling (via presets or cron)
  • Has configurable retention (e.g. keep last 7 exports)
  • Contains the user data, user configurations, and GPS points of all users, as well as accounts/OIDC, and admin configuration, basically a complete backup of the app state so that service can be fully restored in the event of data loss (presumably this would be only accessible to admins, and could optionally be encrypted for privacy reasons)
    • Another solution could be to hook into the existing per-user export feature to export each user's configuration, export the admin configuration, and then zip it all together into a single file.
  • Backed up to a single timestamped file in a /backups directory that can be mounted.

I understand there is an Export feature, although it's per user and without a way to schedule it.

This would allow external backup tools to pick up the file without the use of specific DB tools, and the container doesn't have to be downed to copy the DB files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions