AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Support automatic backup

Open wyhaya opened this issue 1 year ago • 3 comments

Description

For important docs, regular backups are always beneficial, but currently AFFINE only supports manual export of .affine files. It would be great if documents could be automatically backed up to a local directory on a schedule.

Optional features

  • Encrypted backups

Use case

No response

Anything else?

Inspired by: Raycast export

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

wyhaya avatar Sep 26 '24 07:09 wyhaya

Issue Status: 💬 To be Discussed

💬 To be Discussed

We need some time to discuss the issue.

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Sep 26 '24 07:09 affine-issue-bot[bot]

great idea @hwangdev97

forehalo avatar Sep 26 '24 07:09 forehalo

As a dirty workaround (not sure if it really works), watch the workspace folder and make copies of the storage.db file. This can be automated locally. Even a Git repo would work for revisioning of past workspace versions.

fungs avatar Nov 20 '24 10:11 fungs