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:
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
"""
@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: couchdb- undelete. py --dry-run notes
$ python ./ubuntuone-
Example output: 6b5c-47ce- 8edb-4cb74a8b34 a2) was marked as deleted
"""
Document 'New Note 50 (old)' (31d3caac-
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-4cb74a8b34 a2 in our example) please run the script as follows:
$ python ./ubuntuone- couchdb- undelete. py notes 31d3caac- 6b5c-47ce- 8edb-4cb74a8b34 a2
Example output: 6b5c-47ce- 8edb-4cb74a8b34 a2) was 6b5c-47ce- 8edb-4cb74a8b34 a2
"""
Document 'New Note 50 (old)' (31d3caac-
marked as deleted
Adding the document to undelete queue
Found 1 deleted documents
Updated 31d3caac-
Done
"""