You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is default behaviour. When I update the cache files it asks me separately for every single backup. I have a script that takes backup once a day. When I run this after a week it asks me password for 7 times.
borg-restore.pl -u
It asks me same password repeatedly for every single backup? Is there any way to make it only ask once? Or is there a way to add the password from a file or a command? to make it into a cronjob?
The text was updated successfully, but these errors were encountered:
That's due to borg-restore.pl starting borg multiple times. You should be able to use borg's own environment variables (BORG_PASSPHRASE, BORG_PASSCOMMAND, BORG_PASSPHRASE_FD) to pass your password to those borg processes. I'm not entirely sure if this works or if perl's taint more or anything else remove those environment variables. I think it should work, but I don't use password protected borg repos personally so I can't test this right now.
I am not sure if this is default behaviour. When I update the cache files it asks me separately for every single backup. I have a script that takes backup once a day. When I run this after a week it asks me password for 7 times.
borg-restore.pl -u
It asks me same password repeatedly for every single backup? Is there any way to make it only ask once? Or is there a way to add the password from a file or a command? to make it into a cronjob?
The text was updated successfully, but these errors were encountered: