Cloning/replacing a FreePBX appliance hard drive

I got a FreePBX Phone System 50 in August 2015 (last year) and I’ve started getting a “S.M.A.R.T. Status BAD, Backup and Replace” when rebooting, and as I understand it, that means the hard drive is about to fail. That’s really a bummer that it’s just passed the 1 year warranty but now I have to deal with it. In addition to the settings for the freepbx server, I also have the license number stuff and drivers and settings for an FXO card that I got with the box. As a result, I’d really rather not do a fresh install unless everything is going to work easily. Is there a way I can clone the hard drive before it goes out and have everything work as if I just rebooted it? How can I deal with this?

Clonezilla with perhaps an hour of downtime, Mondoresue with no downtime both come to mind, you can just use dd frfom a live linux desktop but it takes a loooooooong time of downtime

Thank you! Clonezilla worked perfectly!