Comment 3 for bug 730951

Revision history for this message
Roman Yepishev (rye) wrote :

@vidal.jean, please contact <email address hidden> so that we help you recover your note in case the instructions below are not helpful

Please download the script from http://people.canonical.com/~roman.yepishev/us/ubuntuone-couchdb-undelete.py and run it in the terminal as described below:

Find all deleted notes:
$ python ./ubuntuone-couchdb-undelete.py --dry-run notes

Example output:
"""
Document 'New Note 50 (old)' (31d3caac-6b5c-47ce-8edb-4cb74a8b34a2) was marked as deleted
Adding the document to undelete queue
Found 1 deleted documents
Not doing anything since --dry-run is specified
"""

If you want to restore the note with the mentioned id (31d3caac-6b5c-47ce-8edb-4cb74a8b34a2 in our example) please run the script as follows:

$ python ./ubuntuone-couchdb-undelete.py notes 31d3caac-6b5c-47ce-8edb-4cb74a8b34a2

Example output:
"""
Document 'New Note 50 (old)' (31d3caac-6b5c-47ce-8edb-4cb74a8b34a2) was
marked as deleted
Adding the document to undelete queue
Found 1 deleted documents
Updated 31d3caac-6b5c-47ce-8edb-4cb74a8b34a2
Done
"""