Modern equivalent to Time Capsule?
I am looking for a more automated backup device. Right now I use a Hitachi external hard drive. I connect it with a USB cable. That is acceptable for the Mac at the office, but it would be nice to have something at home that I could connect wirelessly through the local network. Time Capsule could do that. I see old Time Capsules for sale online. I do not know that I want to buy a device that is that old.
In storage I have a previous Mac Mini with a dead SATA drive. I could replace the drive easily enough if I could use the Mac as a surrogate Time Capsule. I am told that Macs do not work that way.
Is there any other device that accepts Time Machine backups over a LAN?
MacBook Air 13″, macOS 12.6