How to change the passphrase of a duplicity backup?Restore only changed files with duplicityDuplicity &...

Is Swahili a Mora-counting language like Japanese?

Why exactly do action photographers need high fps burst cameras?

Quickly creating a sparse array

Does a phylactery of a lich have to be a box?

What does it mean for a caliber to be flat shooting?

Making him into a bully (how to show mild violence)

Bash Script Function Return True-False

Am I a Rude Number?

SET NOCOUNT Error in handling SQL call after upgrade

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Consequences of lack of rigour

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

Why is it that Bernie Sanders is always called a "socialist"?

Why is working on the same position for more than 15 years not a red flag?

What is the most fuel efficient way out of the Solar System?

Traveling through the asteriod belt?

How can I get my players to come to the game session after agreeing to a date?

How much mayhem could I cause as a sentient fish?

How can i do a custom maintenance message on magento 2.2.4

kill -0 <PID> は何をするのでしょうか?

How to prevent users from executing commands through browser URL

Intern applicant asking for compensation equivalent to that of permanent employee

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Can a hotel cancel a confirmed reservation?



How to change the passphrase of a duplicity backup?


Restore only changed files with duplicityDuplicity & S3: “The write operation timed out”How to show differences between two duplicity backups?Duplicity restore failing: No secret keyWhy does duplicity require the GnuPG passphrase when rotating backups?Duplicity encryptionDuplicity backup to Box stallingDuplicity writes files to ~/.cache despite having specified --archive-dirduplicity fails after libgcrypt updateGnuPG: Add passphrase to passphrase-less key













6















How to change the passphrase of a duplicity backup?
I tried to just provide a new one when doing a backup but was faced with an error.



GPGError: GPG Failed


How should I proceed to change the passphrase?










share|improve this question





























    6















    How to change the passphrase of a duplicity backup?
    I tried to just provide a new one when doing a backup but was faced with an error.



    GPGError: GPG Failed


    How should I proceed to change the passphrase?










    share|improve this question



























      6












      6








      6


      1






      How to change the passphrase of a duplicity backup?
      I tried to just provide a new one when doing a backup but was faced with an error.



      GPGError: GPG Failed


      How should I proceed to change the passphrase?










      share|improve this question
















      How to change the passphrase of a duplicity backup?
      I tried to just provide a new one when doing a backup but was faced with an error.



      GPGError: GPG Failed


      How should I proceed to change the passphrase?







      backup encryption duplicity passphrase






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 28 '13 at 12:33







      Alfred M.

















      asked Oct 27 '13 at 13:53









      Alfred M.Alfred M.

      155115




      155115






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Assuming you're using symmetric encryption, you will keep previous backup chains files encrypted with the old passphrase which won't be stored into the cache with the new passphrase since they won't be decrypted.
          You will need to run many PASSPHRASE=old duplicity, PASSPHRASE=new duplicity in order to recache all files (assuming a new machine scenario) and could easily reach an impossibility to restore your latest backups.



          The best method is probably: cleanup first and start a brand new full backup chain using the new passphrase.






          share|improve this answer































            0














            All you need to do is to force a new full backup:



            env PASSPHRASE='new' duplicity [options...] full $SRC $DST


            The reason is that all backups in each chain must use the same passphrase.





            In case you were wondering, if you need to restore, you need to pass the $PASSPHRASE of the chain you're restoring:



            # Restore last backup
            env PASSPHRASE='new' duplicity [options...] restore $DST ./today

            # Restore yesterday's backup
            env PASSPHRASE='old' duplicity [options...] --time 1D restore $DST ./yesterday





            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f665992%2fhow-to-change-the-passphrase-of-a-duplicity-backup%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              Assuming you're using symmetric encryption, you will keep previous backup chains files encrypted with the old passphrase which won't be stored into the cache with the new passphrase since they won't be decrypted.
              You will need to run many PASSPHRASE=old duplicity, PASSPHRASE=new duplicity in order to recache all files (assuming a new machine scenario) and could easily reach an impossibility to restore your latest backups.



              The best method is probably: cleanup first and start a brand new full backup chain using the new passphrase.






              share|improve this answer




























                2














                Assuming you're using symmetric encryption, you will keep previous backup chains files encrypted with the old passphrase which won't be stored into the cache with the new passphrase since they won't be decrypted.
                You will need to run many PASSPHRASE=old duplicity, PASSPHRASE=new duplicity in order to recache all files (assuming a new machine scenario) and could easily reach an impossibility to restore your latest backups.



                The best method is probably: cleanup first and start a brand new full backup chain using the new passphrase.






                share|improve this answer


























                  2












                  2








                  2







                  Assuming you're using symmetric encryption, you will keep previous backup chains files encrypted with the old passphrase which won't be stored into the cache with the new passphrase since they won't be decrypted.
                  You will need to run many PASSPHRASE=old duplicity, PASSPHRASE=new duplicity in order to recache all files (assuming a new machine scenario) and could easily reach an impossibility to restore your latest backups.



                  The best method is probably: cleanup first and start a brand new full backup chain using the new passphrase.






                  share|improve this answer













                  Assuming you're using symmetric encryption, you will keep previous backup chains files encrypted with the old passphrase which won't be stored into the cache with the new passphrase since they won't be decrypted.
                  You will need to run many PASSPHRASE=old duplicity, PASSPHRASE=new duplicity in order to recache all files (assuming a new machine scenario) and could easily reach an impossibility to restore your latest backups.



                  The best method is probably: cleanup first and start a brand new full backup chain using the new passphrase.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 29 '15 at 14:18









                  RaphRaph

                  362




                  362

























                      0














                      All you need to do is to force a new full backup:



                      env PASSPHRASE='new' duplicity [options...] full $SRC $DST


                      The reason is that all backups in each chain must use the same passphrase.





                      In case you were wondering, if you need to restore, you need to pass the $PASSPHRASE of the chain you're restoring:



                      # Restore last backup
                      env PASSPHRASE='new' duplicity [options...] restore $DST ./today

                      # Restore yesterday's backup
                      env PASSPHRASE='old' duplicity [options...] --time 1D restore $DST ./yesterday





                      share|improve this answer




























                        0














                        All you need to do is to force a new full backup:



                        env PASSPHRASE='new' duplicity [options...] full $SRC $DST


                        The reason is that all backups in each chain must use the same passphrase.





                        In case you were wondering, if you need to restore, you need to pass the $PASSPHRASE of the chain you're restoring:



                        # Restore last backup
                        env PASSPHRASE='new' duplicity [options...] restore $DST ./today

                        # Restore yesterday's backup
                        env PASSPHRASE='old' duplicity [options...] --time 1D restore $DST ./yesterday





                        share|improve this answer


























                          0












                          0








                          0







                          All you need to do is to force a new full backup:



                          env PASSPHRASE='new' duplicity [options...] full $SRC $DST


                          The reason is that all backups in each chain must use the same passphrase.





                          In case you were wondering, if you need to restore, you need to pass the $PASSPHRASE of the chain you're restoring:



                          # Restore last backup
                          env PASSPHRASE='new' duplicity [options...] restore $DST ./today

                          # Restore yesterday's backup
                          env PASSPHRASE='old' duplicity [options...] --time 1D restore $DST ./yesterday





                          share|improve this answer













                          All you need to do is to force a new full backup:



                          env PASSPHRASE='new' duplicity [options...] full $SRC $DST


                          The reason is that all backups in each chain must use the same passphrase.





                          In case you were wondering, if you need to restore, you need to pass the $PASSPHRASE of the chain you're restoring:



                          # Restore last backup
                          env PASSPHRASE='new' duplicity [options...] restore $DST ./today

                          # Restore yesterday's backup
                          env PASSPHRASE='old' duplicity [options...] --time 1D restore $DST ./yesterday






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 10 mins ago









                          YajoYajo

                          1183




                          1183






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f665992%2fhow-to-change-the-passphrase-of-a-duplicity-backup%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                              Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                              VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...