I am starting a new topic because there seems to be no interest in the old one:
Upgrade restore from backup errors
Because the restore failed, I have been forced to start the upgraded MIAB server with empty database. When I began using MIAB, about 18 months ago, I had the same situation, as my previous mail data were in a Maildir hierarchy of around 100 “folders”. But then, at least I was able to open two email clients and refer to old mail, cut and paste from it when needed, and even to log on to the server and use grep etc to search the old mails. In MIAB the mails are buried in a database and only accessible through the server. This means I am unable to carry on existing correspondence unless I can unlock the data hidden in the backup.
To recap, the backup consists of 78 .gpg files. I attempted the restoration as instructed, and here is the resultant error (the same as reported by by Talbot in the thread referred above.)
export PASSPHRASE=$(cat /path/to/miab-bak/secret_key.txt) $ sudo -E duplicity restore --force file:///miab-bak/encrypted /home/user-data/ gpg: Attention : le propriétaire du répertoire personnel « /home/richard/.gnupg » n'est pas sûr Les métadonnées locales et distantes sont déjà synchronisées. Aucune synchronisation nécessaire. Date de la dernière sauvegarde complète : aucune Traceback (innermost last): File "/usr/bin/duplicity", line 1555, in <module> with_tempdir(main) File "/usr/bin/duplicity", line 1541, in with_tempdir fn() File "/usr/bin/duplicity", line 1393, in main do_backup(action) File "/usr/bin/duplicity", line 1472, in do_backup restore(col_stats) File "/usr/bin/duplicity", line 728, in restore restore_get_patched_rop_iter(col_stats)): File "/usr/bin/duplicity", line 750, in restore_get_patched_rop_iter backup_chain = col_stats.get_backup_chain_at_time(time) File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 974, in get_backup_chain_at_time raise CollectionsError("No backup chains found") CollectionsError: No backup chains found
So now I need to get the data from the backup in readable form so that I can use it to continue work and so that I retain a full archive of past correspondence. It is now too late to back it up to the server, since I had to restart the server and it now contains current data in the mail database. It is a pity it is not in Maildir format, as then I would be able to merge the two sets of data manually, but any readable format would do. I could even boot up yet another MIAB box to be able to read it.
Does anyone here know how to do this?