I intend the SSD to be connected to the router via USB. But if that's not a feasible option, what would be the best way to have a network backup, like what the old Time Machine used to do?
OK, thanks for the clarification on that. The critical piece of the puzzle is that the router must support Time Machine backups at the USB port.
Unfortunately though, the fact that router might have a USB port does not necessarily mean that Time Machine backups will be supported. You will have to verify that Time Machine will be supported on any router that you are considering.
This is the next best thing to a Time Capsule, which included a built in hard drive designed to store Time Machine backups. A USB hard drive that is connected to an AirPort Extreme will work as well, so that might be an option. There are plenty of AirPort Extremes available on eBay.
Otherwise, the only way to set up your SSD as a "network" drive would be to connect it to Mac desktop and try to work through a complicated setup. This used to work on older Mac operating systems, but I"m not sure about Ventura.
Probably the best way to set up a network drive is go with a Network Attached Storage (NAS) device from Synology, but the expense is substantial. You might want to poke around on the Synology website to get a feel for things.
I want to have a physical backup drive, so for example I can take it with me when I go on holidays, incase I get robbed/ the house burns down etc. I just assumed it would be a portable hard drive connected to a router.
Understood. A USB drive connected to a Time Machine compatible router would probably be the best way to go in that regard.