First backup of the day fails, subsequent backups succeed

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.

Can you try this new beta version (beta 11) at https://acrosync.com/duplicacy/duplicacy_installer_win64_2.1.0.exe?

There is now a 10 second delay after waking up from sleep, but you can also change to any value by creating a registry value HKCU\Software\Duplicacy\WakeUpDelay (of string type).

I’m still having trouble getting this to work. Probably the answers to the following two questions will help me solve my issue:

  1. If I installed for all users and run Duplicacy as a service, don’t I need to go to HKLM, not HKCU?
  2. Is the WakeUpDelay value in seconds?
  1. Right, HKLM instead of HKCU if Duplicacy was installed for all users.

  2. Yes, it is in seconds.