Hello
Here is a patch to allow user to import and export their whole password database. It also add the duplicate password handling : "Import" doesn't add passwords that were already present in the database.
Feel free to ask for more details if need.
patch