Back up iCloud Drive and Photos
iCloud itself offers no way to back up your data to external storage. There are, however, tools for macOS that copy iCloud Drive and iCloud Photos to a local drive, for example:
An overview of these options can be found in this article by heise (German).
We don’t use these tools ourselves and therefore can’t share first-hand experience. Once your iCloud data is stored locally, you can transfer it to HDD-Housing with one of the tools described here, e.g. Syncthing or Restic.