Skip to content
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

Introduce automatic backups #256

Open
1 task done
mxgrey opened this issue Dec 26, 2024 · 0 comments
Open
1 task done

Introduce automatic backups #256

mxgrey opened this issue Dec 26, 2024 · 0 comments

Comments

@mxgrey
Copy link
Collaborator

mxgrey commented Dec 26, 2024

Before proceeding, is there an existing issue or discussion for this?

Description

It would be good for the application to periodically save backups while the user is working. There are many ways we could approach this. Here are a few ideas:

  1. A single hidden backup file next to the last saved file, e.g. my_project.site.json would be accompanies by .my_project.site.json.backup`
  2. Each site file gets a directory inside of $HOME/.cache/rmf_site_editor/backups that keeps the N latest backups with timestamps where N can be set by the user

Some settings to consider providing:

  • Notify users when they are loading a file whose associated backup is newer than the loaded file, and allow the user to load the backup instead
  • Allow the user to see the latest backup(s) with their timestamps, and to ask to switch to those backups
  • Allow the user to pin a backup so that it gets retained indefinitely
@mxgrey mxgrey added this to PMC Board Dec 26, 2024
@github-project-automation github-project-automation bot moved this to Inbox in PMC Board Dec 26, 2024
@mxgrey mxgrey moved this from Inbox to Todo in PMC Board Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant