Creating Encrypted FTP Backups With duplicity And duply On Debian Squeeze

Discussion in 'HOWTO-Related Questions' started by biggdog, Dec 3, 2012.

  1. biggdog

    biggdog Member

    I have followed you instructions and have had no reson to think I had a problem until now.
    I had to redo my mail server and I now want to restor my backups made on my NAS unit but I am not able to do so.

    duply exampleuser restore /var/vmail

    --- Start running command RESTORE at 17:35:39.360 ---
    NcFTP version is 3.2.4
    Restore destination directory /var/vmail/biggdog.biz already exists.
    Will not overwrite.
    17:35:39.469 Task 'RESTORE' failed with exit code '11'.
    --- Finished state FAILED 'code 11' at 17:35:39.469 - Runtime 00:00:00.108 ---

    Now it seems I may have done these backups for nothing.

    Please help.

    I may have found the issue. I need to know how to put back the original key into the new system. Will that work???
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Rename the destiantion directory (e.g.
    Code:
    mv /var/vmail/biggdog.biz /var/vmail/biggdog.biz_orig
    ) and try again.
     
  3. biggdog

    biggdog Member

    I have done this for biggdog.biz and vmail.
    After I do it it says something about gpg key not found.

    Now I had a crash and reformatted and reinstalled everything including duply.
    I have the original config but nothing seemed to work.
     

Share This Page