Duplicity - save backup to multiple destinations
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice?
Something like duplicty --full --volsize 1024 -v5 sftp://user@host.com/folder /save/also/to/server/folder
If I do a full backup every two weeks, I want to save that full backup to a folder on my server where I can download it and on a sftp backup space (which is not reachable from the outside).
If I downloaded the backup, I would delete it on the server (because I have not that much space on my server).
Is there an easy way of doing this with duplicity directly, or did I need to create a custom shell script which does all this stuff?
shell-script backup sftp duplicity
add a comment |Â
up vote
0
down vote
favorite
Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice?
Something like duplicty --full --volsize 1024 -v5 sftp://user@host.com/folder /save/also/to/server/folder
If I do a full backup every two weeks, I want to save that full backup to a folder on my server where I can download it and on a sftp backup space (which is not reachable from the outside).
If I downloaded the backup, I would delete it on the server (because I have not that much space on my server).
Is there an easy way of doing this with duplicity directly, or did I need to create a custom shell script which does all this stuff?
shell-script backup sftp duplicity
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
1
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice?
Something like duplicty --full --volsize 1024 -v5 sftp://user@host.com/folder /save/also/to/server/folder
If I do a full backup every two weeks, I want to save that full backup to a folder on my server where I can download it and on a sftp backup space (which is not reachable from the outside).
If I downloaded the backup, I would delete it on the server (because I have not that much space on my server).
Is there an easy way of doing this with duplicity directly, or did I need to create a custom shell script which does all this stuff?
shell-script backup sftp duplicity
Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice?
Something like duplicty --full --volsize 1024 -v5 sftp://user@host.com/folder /save/also/to/server/folder
If I do a full backup every two weeks, I want to save that full backup to a folder on my server where I can download it and on a sftp backup space (which is not reachable from the outside).
If I downloaded the backup, I would delete it on the server (because I have not that much space on my server).
Is there an easy way of doing this with duplicity directly, or did I need to create a custom shell script which does all this stuff?
shell-script backup sftp duplicity
asked Apr 27 at 12:55
mfuesslin
31
31
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
1
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30
add a comment |Â
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
1
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
1
1
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
According to the github of duplicity, this feature is still in the to do list.
I think the easier way is to make a small shell script that will move the file at the end the process.
#!/bin/bash
duplicty --full --volsize 1024 -v5 /local save/folder &&
rsync /local save/folder user@host.com/folder ||
printf "an error occurs during the transfern"
It's a code sample it needs to be tested
The idea is if duplicity return 0 (no error) on the local backup then it runs rsync to send the file to the remote host.com
and if one of the commands fails a small error message is written.
Thank you for your answer, but your referring toDuplicati
rather thanDuplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.
â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
According to the github of duplicity, this feature is still in the to do list.
I think the easier way is to make a small shell script that will move the file at the end the process.
#!/bin/bash
duplicty --full --volsize 1024 -v5 /local save/folder &&
rsync /local save/folder user@host.com/folder ||
printf "an error occurs during the transfern"
It's a code sample it needs to be tested
The idea is if duplicity return 0 (no error) on the local backup then it runs rsync to send the file to the remote host.com
and if one of the commands fails a small error message is written.
Thank you for your answer, but your referring toDuplicati
rather thanDuplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.
â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
add a comment |Â
up vote
0
down vote
accepted
According to the github of duplicity, this feature is still in the to do list.
I think the easier way is to make a small shell script that will move the file at the end the process.
#!/bin/bash
duplicty --full --volsize 1024 -v5 /local save/folder &&
rsync /local save/folder user@host.com/folder ||
printf "an error occurs during the transfern"
It's a code sample it needs to be tested
The idea is if duplicity return 0 (no error) on the local backup then it runs rsync to send the file to the remote host.com
and if one of the commands fails a small error message is written.
Thank you for your answer, but your referring toDuplicati
rather thanDuplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.
â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
According to the github of duplicity, this feature is still in the to do list.
I think the easier way is to make a small shell script that will move the file at the end the process.
#!/bin/bash
duplicty --full --volsize 1024 -v5 /local save/folder &&
rsync /local save/folder user@host.com/folder ||
printf "an error occurs during the transfern"
It's a code sample it needs to be tested
The idea is if duplicity return 0 (no error) on the local backup then it runs rsync to send the file to the remote host.com
and if one of the commands fails a small error message is written.
According to the github of duplicity, this feature is still in the to do list.
I think the easier way is to make a small shell script that will move the file at the end the process.
#!/bin/bash
duplicty --full --volsize 1024 -v5 /local save/folder &&
rsync /local save/folder user@host.com/folder ||
printf "an error occurs during the transfern"
It's a code sample it needs to be tested
The idea is if duplicity return 0 (no error) on the local backup then it runs rsync to send the file to the remote host.com
and if one of the commands fails a small error message is written.
edited Apr 27 at 13:44
answered Apr 27 at 13:38
Kiwy
5,30743350
5,30743350
Thank you for your answer, but your referring toDuplicati
rather thanDuplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.
â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
add a comment |Â
Thank you for your answer, but your referring toDuplicati
rather thanDuplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.
â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
Thank you for your answer, but your referring to
Duplicati
rather than Duplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.â mfuesslin
Apr 27 at 15:26
Thank you for your answer, but your referring to
Duplicati
rather than Duplicity
in your github link... Seems that I need to do this by hand via shell script... Thank you for the suggested script.â mfuesslin
Apr 27 at 15:26
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
OK you're completely right. I'm sorry I've been fool by google approximation algorithm though as duplicati is mainly base on duplicity I think it's still apply.
â Kiwy
Apr 27 at 15:48
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440416%2fduplicity-save-backup-to-multiple-destinations%23new-answer', 'question_page');
);
Post as a guest
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
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
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
execute duplicity several time with different destination ?
â Kiwy
Apr 27 at 13:19
1
yes, but this would lead to multiple backup processes (multiple times packaging of backup files, encrypting, etc.) which is inefficient (huge server load).
â mfuesslin
Apr 27 at 13:28
how about the multi backend in mirror mode as described in the man page<br/> duplicity.nongnu.org/duplicity.1.html#sect18 <br> ? ..ede/duply.net
â ede
Apr 28 at 9:11
Thank you. This seems also a good way to do it!
â mfuesslin
Apr 30 at 15:30