Backup and Restore
For compatibility with older links, this page still uses the
/en/help/sync-and-backuppath. However, the current product terminology no longer describes WebDAV as a standalone “sync” feature, so this page should be read as a backup-and-restore guide.
1. What this page now covers
- WebDAV is mainly used to store local-library backups, manage restore points, and support migration or disaster recovery.
- This page focuses on “backup, restore, and migration,” not “real-time consistency across devices.”
- If older docs, screenshots, or previous versions still mention “Sync and Backup,” the current in-app wording “WebDAV Backup” takes precedence.
2. Backup prerequisites
For backup to succeed, the following usually need to be true:
- WebDAV is enabled and the server URL is reachable.
- The current account has a local library (only local libraries support backup / restore).
- Local-library backup is enabled.
- A backup password has been provided (required when backup is enabled; optionally remembered).
If any of the above is missing, the backup action may fail or remain disabled.
3. WebDAV connection recommendations
Under “Server Connection,” users typically configure:
Server URLUsername / PasswordAuth Mode(BasicorDigest)Root PathIgnore TLS Errors(not recommended for long-term use)
Practical recommendations:
- Prefer
HTTPSand do not ignore TLS errors for long periods. - Use a dedicated
Root Pathto avoid mixing data with other apps. - URLs and paths are usually normalized on save (for example by trimming redundant slashes).
4. What a manual backup does
When “Start Backup” is triggered, the flow generally:
- Reads memos, archived content, and readable attachments from the current local library.
- Creates a snapshot and backup index.
- Encrypts the backup on the client side and uploads it to WebDAV.
- Updates the latest-backup time and snapshot records.
This means the backup source is the current local-library state, not a direct full-database copy of a remote service.
5. How automatic backup is triggered
Automatic backup is not a permanently running background poller. It is typically checked when the app returns to the foreground:
- The backup schedule is not
manual(that is, it isdailyorweekly). - Enough time has elapsed since the last backup.
- The backup password has been saved (automatic backup usually does not run without it).
If users want more stable automatic backup behavior, enabling “Remember Password” is recommended.
6. Retention and storage usage
The “Retention Count” setting controls how many snapshot versions are kept (minimum 1, default 5).
When the retention limit is exceeded, older snapshots are removed, and object storage is reclaimed according to reference usage so storage does not grow indefinitely.
In simple terms:
- Higher retention means more restore points.
- Higher retention usually also means more storage usage.
7. Restore flow and impact scope
When “Restore from Cloud” is triggered, the flow generally:
- Prompts for or reads the backup password.
- Lets the user choose a snapshot (typically showing time, memo count, file count, and size).
- Runs the restore after confirmation.
Restore typically has the following effects:
- Current local-library files are overwritten.
- Local attachment cache is cleared and restored according to the selected snapshot.
- Local data state is rebuilt based on the selected snapshot.
Restore is therefore an overwrite operation, so the selected snapshot should be verified carefully before proceeding.
8. Security model
Backup data is not uploaded in plaintext:
AES-GCM-256is used for encryption.- Password-derived keys use
PBKDF2(HMAC-SHA256)(default 200000 rounds). - Keys for different purposes are separated via
HKDF. - Both snapshots and indexes are stored in encrypted form.
9. Common failure causes
If backup or restore fails, check in this order:
- Whether the WebDAV URL is valid and reachable.
- Whether TLS / certificate issues exist (especially with self-signed setups).
- Whether the current account has a local library.
- Whether the backup password is correct.
- Whether recoverable snapshots actually exist in remote storage.
Recommended operation sequence
- Complete WebDAV connection setup.
- Enable local-library backup and set the password.
- Run one manual backup.
- Immediately perform a small restore drill.
- Then enable a
dailyorweeklyschedule.