I’m testing Duplicacy GUI on a PC that sleeps overnight. When the PC wakes up, the Duplicacy service sees that the next backup is overdue according to the schedule, so it starts the backup immediately. Every time, I get a result like this
2018-02-21 15:48:14.706 INFO STORAGE_SET Storage set to b2://HTPCB2
2018-02-21 15:48:14.712 ERROR STORAGE_CREATE Failed to load the Backblaze B2 storage at b2://HTPCB2: Post https://api.backblazeb2.com/b2api/v1/b2_authorize_account: dial tcp: lookup api.backblazeb2.com: no such host
[15:48:14] D:\Music Backup operation returned an error:
ERROR Failed to load the Backblaze B2 storage at b2://HTPCB2: Post https://api.backblazeb2.com/b2api/v1/b2_authorize_account: dial tcp: lookup api.backblazeb2.com: no such host```
My guess is that the backup is attempted too soon after the PC wakes up. Perhaps Windows isn’t done setting itself up, or the WiFi connection to the router is not yet established.
If my guess is correct, it would be nice to have an automatic or manually configurable delay before the first backup starts.