From 8f70e7580e7d7da84ce4c59dce1e9a1ce8c70c06 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 15 Oct 2021 21:39:08 +0200 Subject: [PATCH] Updated Backup (markdown) --- Backup.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Backup.md b/Backup.md index 67609fe..b646d0a 100644 --- a/Backup.md +++ b/Backup.md @@ -21,6 +21,7 @@ Let's assume you want to restore the weekly backup, here's how to do it: * at this point stop/kill Trilium * delete `~/trilium-data/document.db`, `~/trilium-data/document.db-wal` and `~/trilium-data/document.db-shm` (latter two files are auto generated) * copy and rename this `~/trilium-data/backup/backup-weekly.db` to `~/trilium-data/document.db` +* make sure that the file is writable, e.g. with `chmod 600 document.db` * start Trilium again If you have configured sync then you need to do it across all members of the sync cluster, otherwise older version (restored backup) of the document will be detected and synced to the newer version.