<?xml version="1.0" encoding="utf-8"?>
<note version="0.3" xmlns:link="http://beatniksoftware.com/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size" xmlns="http://beatniksoftware.com/tomboy">
  <title>Recovering Lost Notes</title>
  <text xml:space="preserve"><note-content version="0.1"><underline>Recovering Lost Notes</underline>

If you are reading this, odds are you are worried ! So, first bit of advice is <size:large>
<italic><bold>don't panic</bold></italic></size:large><size:small><italic><bold> (1)</bold></italic></size:small>
Its quite possible we can help you. That will depend on what has happened and maybe if you have taken a manual snapshot recently. Firstly, don't do a sync, it could replace good data with bad. Next,  take small steps.

Let's look at the possibilities -<size:large>

<bold>I (or the sync) deleted a note I need</bold></size:large>
That just might be easy. We keep a backup copy of every note you manually delete or is overwritten during a sync. But only one copy so if its been synced and overwritten again, it is gone. Check by going back to Settings, the Recover tab, click "Show Me", browse through the old notes there and double click a likely candidate. You'll get a dialog that lets you view, delete or recover that note.<size:large>

<bold>I have a corrupted note.</bold></size:large>
When you start tomboy-ng, you see a warning about an inability to index a note. That probably means the note's XML has somehow become corrupted <size:small>(2)</size:small>. The indexing mechanism in tomboy-ng is deliberately very strict in what it will accept, it errors if one field is unobtainable. However, depending on where the XML error in the note is, you may be able to open it and save it with rewritten XML.   Do take a snapshot before you start this process.

<bold>To try this quick fix, you should -</bold>
<list><list-item dir="ltr">From Settings, the Recover tab, click "Manual Snapshot" (to be safe!)  then click "Recover lost notes". </list-item></list>
<list><list-item dir="ltr">In this window, under "Bad Notes" is a list of just that. Double click a likely candidate and a new Edit window will open. You may have just recovered at least some content<size:small>.</size:small> </list-item></list><size:large>

<bold>You're not listening, I have lost all my notes !</bold></size:large>
OK, I get you, this is serious. But we at have two paths left, lets see -

<bold>I sync my notes from somewhere else.</bold>
Oh, that's good. Maybe all you need do is clean out your current notes directory <size:small>(3)</size:small>  and rejoin the sync network. Note, I emphasise, <highlight>not</highlight> just do a sync. You <highlight>MUST</highlight> go to the sync tab and click "<highlight>Set File Sync Repo</highlight>". That way, the sync system sees you as a new friend and sends you a full set of notes. Just how good an approach this is depends on how recently you last synced, obviously any changes since last sync will be lost.

<bold>I have a snapshot</bold>
Great news ! You can easily choose to roll back to a particular snapshot and blow away all your troubles. Too Easy !
If you wisely kept the snapshot elsewhere, copy it to your snapshot directory (shown on the Settings -&gt; Recover tab).
<list><list-item dir="ltr">From the Recover tab, click "Recover lost Notes". If you have not already, now would be a great time to click "Take a Manual Snapshot", you are in seriously dangerous space right now.</list-item></list>
<list><list-item dir="ltr">Go to the "Recover Snapshot" tab, choose the snapshot you wish to use and away you go <size:small>(4).</size:small></list-item></list><size:small></size:small>
Back out, go to the Search and click "Refresh". After you have checked all is good, please remember to take a snapshot every now and again !<size:large>

<bold>Notes </bold></size:large>
(1) By Douglas Adams, used without permission. 
(2)  Corrupted notes should never happen, looks like it did. Power failure, program error, whatever. If its my fault, I am sincerely sorry ! Please report this experience to the Tomboy mailing list or Github. The only way I can rid of these problems is if people tell me about them.
(3) Tomboy-ng tells you where your notes are stored, go there with a file manager and select all the note files. They are the ones with a 36 apparently random character name and ".note" extension. Only do this if you are a sync user !
(4) If you (wisely) keep a copy elsewhere, bring it back, decrypt it if necessary. And, good work !



</note-content></text>
  <last-change-date>2021-07-21T10:31:32.6130010+10:00</last-change-date>
  <last-metadata-change-date>2021-07-21T10:31:32.6130010+10:00</last-metadata-change-date>
  <create-date>2018-08-26T14:03:28.1020000+10:00</create-date>
  <cursor-position>1</cursor-position>
  <selection-bound-position>1</selection-bound-position>
  <width>1061</width>
  <height>626</height>
  <x>22</x>
  <y>246</y>
  <open-on-startup>False</open-on-startup>
</note>