I had some important notes, worked on them yesterday from several workspaces (1 Windows and 1 MacOS), and today two notes are completely gone! Not in trash, but gone. How did this happen? and how can I recover them?
Thank you for the report.
Thatās strange. But basically it does not delete notes unless you manually deleted them.
Have you set up the backup?
Deleted notes should be stored in _deleted folder.
If you accidentally overwritten the note, you can restore old revisions of it.
Hope that helps.
If it does not help, Iām sorry but I canāt restore your notes.
Thanks for a quick reply. That is strange indeed. The tags that Iāve assigned to these notes are present but they donāt contain any notes inside. I donāt think I have overwritten those notes with others, they were too different. And I am pretty sure Iāve never empties the Trash, and they are not there now.
As for the backup - no, I havenāt enabled it. Maybe it should be turned on by default?
Anyway, thanks for the help, letās just hope itās one time glitch, otherwise I love Inkdrop.
If they have been accidentally deleted during sync, they are still stored in your local database.
You can get a list of locally deleted documents by running this code in Developer Tools:
var db = inkdrop.main.dataStore.getLocalDB()
var changes = await db.pouch.changes({
since: 0
})
var { results } = changes
var deletedIds = results
.filter(change => change.deleted)
.filter(change => change.id.startsWith('note:'))
.map(change => change.id)
console.log('Deleted IDs:', deletedIds)
Backup configuration depends on environment, so itās optional. But it would be nice to encourage with a message or something.
Thank you for the suggestion and hope that helps.