Open d2718nis opened 3 years ago
If you automate your backups (or if you use some tool not made for asking for passphrase), you can't have it interactively ask for a passphrase (neither for the borg key, nor for ssh key in case you use a remote repo).
There's BORG_PASSPHRASE
(see borg docs) and some others to automate answering that question.
The repo can be encrypted when doing it like that.
So, theoretically the best way is to add BORG_PASSPHRASE
or even BORG_PASSCOMMAND
at the beginning of the BACKUP_CMD
config value, right?
https://github.com/borgbackup/borgweb/blob/master/borgweb/config.py#L24
For example, yes.
Hey, just to make sure, it doesn't work with password-protected repositories, right? After clicking on "Start Backup" button I get these logs:
And it will continue requesting /backup/status indefinitely once in a second or so. The only difference on the frontend is that button now states "Stop Backup", but nothing happens under the hood if I get it right.
Thanks.