lphelan Feb 21 5:57PM 2018 GUI
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.
gchen Feb 21 9:29PM 2018
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).
lphelan Apr 16 7:38AM 2018
I'm still having trouble getting this to work. Probably the answers to the following two questions will help me solve my issue:
gchen Apr 16 12:53PM 2018
Right, HKLM instead of HKCU if Duplicacy was installed for all users.
Yes, it is in seconds.