Skip to content

[Enhancement] Store DB on WebDav/Cloud Storage  #38

@hydrian

Description

@hydrian

Have an option to store and sync your database on a personal cloud file storage. This way if a phone dies unexpectedly, is lost, or stolen, you don't have to start from scratch.

Personally, I use Nextcloud, so I'd like to see WebDav first. I suspect doing a Google Drive integration would be a pretty popular option too.

The current method backing up to off device is a bit cumbersome and more problematically manual.

  • manually backup database
  • click +
  • select method of backup
  • click acknowledgement for method

This should be automatic. This should a set-and-forget-it option. Because honesty, who remembers to manually remembers to back all the things. Once you setup the automatic backup it should work unless outside issues occur. Rxdroid already self-prunes the database which is good.

Anytime a changing event happens on the DB, it should initiate an non-blocking upload afterwards.

As for polling for updates, I would poll 5 minutes before each time slot. Also have an option in settings to force a poll/sync for changes in time slots and testing.

Also, normal usage should run from a locally cached copy so an internet outage doesn't block the normal function of the app.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions