I think WOL is some real basic core feature for Backups.
I know that it could be done over an pre execution script but, the integration of some very small utility like that one would be a real nice feature.
So i can select inside the backup setting -> prepare wake on lan… enter some MAC Address and may be some timeout to wait and thats it.
Im sure there are similar comandline utilities for Linux and Mac.
Linux runs on a huge number of incompatible CPUs. Even Mac has done CPU changes.
If this is ever done, it would be best if it could be in portable code (but it’s a bit low-level). https://www.nuget.org seems to show some libraries that can be used for Wake on LAN.
As a side note, Duplicati does best when backing up local drives, and local is already on.
Remotely powering on a system seems like you’d probably next have to scan it remotely.
This can be slow, and can’t benefit from FS features like –snapshot-policy or –usn-policy
You also don’t want to error out or hang forever if the system doesn’t wake (unplugged?).
Something like a ping command (or better) can test remote, then tell Duplicati what to do:
I’m not sure how remote backup solves the problem of source computer going down mid-backup.
hello,
I am also working on waking up my backup server (which consumes lot of energy…) only when Duplicati starts a backup job.
I’m running Duplicati as a Docker container on unraid.
I have successfully run a “run-script-before-required” - but I run into following problem:
=> there is no “etherwake” command in Duplicati-Docker
=> there ist no “ssh” command - this would have been my plan B …
How do you others wake up remote servers in a Duplicati-Docker??
Thanx a lot for your help!!
I’m not sure this is the best approach as changes to containers will be wiped out when you upgrade the container. It is simple to reproduce the steps, though.