Resetting your CouchDB
If you are sure something is really wrong with your notes or contacts you may want to reset your CouchDB so that it will be as good as new. Keep in mind that at any time there are 2 CouchDB running, local (desktopcouch) and remote (couchdb.one.ubuntu.com). In order to remove the database and prevent it from reappearing the removal should be done on both servers.
What are the standard databases
contacts - stores your addressbook (Evolution-CouchDB plugin)
bookmarks - stores your bookmarks (Firefox Bindwood extension)
notes - stores your local copy of tomboy notes (no client is using it locally at the moment)
Removing local database
- Open ~/.local/share/desktop-couch/couchdb.html in your browser
- Open the database you want to remove.
- Click Delete Database...
- Confirm the removal
Removing remote database
Download the script from http://people.canonical.com/~roman.yepishev/ubuntuone-scripts/ubuntuone-couchdb-query
Backup the contents of the server-side database. Please note that this can take a while depending on the database size
DB=notes # see the list above python ubuntuone-couchdb-query $DB/_all_docs?include_docs=True > $DB-backup.json
Delete the server-side database:
python ubuntuone-couchdb-query --http-method=DELETE $DB