zertrin / duplicity-backup.sh

Bash wrapper script for automated backups with duplicity supporting Amazon's S3 online storage as well as other storage destinations (ftp, rsync, sftp, local storage...).
https://zertrin.org/projects/duplicity-backup/
GNU General Public License v3.0
766 stars 188 forks source link

[Feature Request] Add option to allow non-interactive usage #45

Open benempson opened 11 years ago

benempson commented 11 years ago

I'm working on automating our duplicity solution using duplicity-backup, however the script is not non-interactive compliant at the moment. It would be great if there was an option to automatically answer yes to any questions and stop the script asking for user input.

Obviously needs some thought around how to do that for the encryption password - see my other issue!

zertrin commented 11 years ago

Ahah! I didn't see this issue while responding to the other, but was thinking at exactly the same problem.

So, yes that would be an interesting improvement of the script.

About the encryption password difficulty, things come down to this:

benempson commented 11 years ago

Agreed with that, if you want automated operation then you must either use the same key for signing and encryption or use symmetric. I'm happy to downgrade to 1 key for both purposes if it gets me automated operation :)