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
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
add a comment |
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
add a comment |
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
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
backup encryption duplicity passphrase
edited Oct 28 '13 at 12:33
Alfred M.
asked Oct 27 '13 at 13:53
Alfred M.Alfred M.
155115
155115
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Jul 29 '15 at 14:18
RaphRaph
362
362
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered 10 mins ago
YajoYajo
1183
1183
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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