KJots/Recover Deleted KJots Books

From KDE UserBase Wiki
Revision as of 12:27, 30 November 2008 by Steveire (talk | contribs) (Initial creation of page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sometimes users can accidentally delete a KJots book. This is an inconvenience, but now the data can be recovered.

KJots automatically saves backup files of your books each time it is closed down. When you delete a book, the backup files remain. Note that old backup files will be removed 7 days after the original book is deleted.

Note

This page relates to KJots in KDE 4.2 beta2 and later releases.


KJots data files and backup files are stored in your local kde data directory. Ususally this is

~/.kde4/share/apps/kjots

Open that directory in dolphin.

Note

If that directory does not exist on your system, try
 dolphin `kde-config --localprefix`/share/apps/kjots
from the command line.


Use the Tools menu to open the find files dialog, and switch to the Content tab. Enter a phrase you know to be in the deleted book, and several backups of that book should be found. The name of the file is not relevant, but you can find the most up to date backup by looking at the last modified time of the files.

Simply copy the backup file to your home directory and open KJots. Use the file menu to import the backup book back into KJots.