Skip to content

[New Plugin]: Autosave #411

Backlog
Backlog

Description

@y637F9QQ2x

Plugin Description

Periodic database autosave with rolling backups: saves the .bndb of files opened in the UI a configurable delay after the first unsaved change, postponing while analysis runs or a modal dialog is open and retrying failed saves with backoff. After every autosave or manual save it writes a timestamped backup copy (via SQLite's online backup API on Windows, a consistency-checked lock-free copy on Linux/macOS), verifies it with PRAGMA quick_check/integrity_check and renames it atomically into place. Backups are rotated by a keep-newest/hourly/daily retention policy with a per-database size cap, and a failed check never deletes older backups. Includes commands for status reporting, pausing, opening the backup folder and restoring a backup as a new database, plus per-project/per-file settings.

Repo URL

https://github.com/y637F9QQ2x/autosave

Checklist

  • I have made a real release
  • I have created a valid plugin.json file

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions