For local backups it depends on what you want to have:
- The cheapest option is a usb or thumb drive. But you have to regularly plug it in and copy your backup on it.
- The lazy option is to buy a NAS and configure a backup job that regularly creates a backup. Versioned, incremental, differentials and full backups are possible as is WORM to add a bit of extra security. You can configure a NAS to only turn on specified times, do a backup and then turn off again. This will increase protection against encrypting malware. WORM also helps in this case.
Or just let it run 24/7, create backups every hour and install extra services on it like AI powered image analysis to identify people and objects and let it automatically tag your photos. Cool stuff! Check out QNAP and Synology or build a NAS yourself.
A NAS can also be configured to present its content in a LAN by itself. Any computer will automatically connect to it if the access isn't secured by user/password or certificate.
I recommend buying a NAS.