You can restore your Mac using Time Machine and an external hard drive. Time Machine automatically creates backups of your Mac every hour.
It's easy to access your iPhone backups on a Mac computer through Spotlight, iTunes, or iCloud. Here's what you need to know to do it.