Duplicity, FTPlicity and Python version troubles. Can not restore backup ?
Thursday, December 6th, 2007Recently I installed duplicity on the viibee.com servers to backup the video files created there.
Since our backup server uses FTP I also grabbed ftplicity (german tutorial) and installed everything.
Duplicity can create incremental backups (and encrypts them if required) and store the backups on a remote or local server. ftplicity is a wrapper around duplicity which simplifies the use of an ftp server as backup destination.
I grabbed version 0.4.2 of duplicity and version 1.1.1 of ftplicity. Configuration is pretty straightforward (generate keys, specify ftp server, passwords, key ids and so on) and should not take too long if you follow the tutorial mentioned above.
And hey: my files were backed up on the first try. Problem started only when restoring them … it did not work. Duplicity would not bring back the files. Damn. What good is a backup if you can not restore the files (thanks Michael).
After a while of troubleshooting (increase log levels, dump ftplicity for now, backup to local disc) I found out that duplicity always created a full backup. Remembered me of Groundhog Day. It was then when I realised that the manifest files were empty and duplicity did not know that there is a existing backup at all (at least this is my interpretation of what happened).
So I tried the procedure on the simplificator.com servers. And there it worked. Backup AND restore. Not just sending files to the nirvana. Kind of annoying since I wasted a lot of time before.
Ok, lets cut a long story short: I got help from Lukas who fixed these problems in a second. These are the versions working fine for us on our Ubuntu boxes.
- duplicity 0.4.1
- ftplicity 1.1.1
- python 2.4
Thanks again to Lukas!
