Yes, the hub does a nightly backup automatically. You can download the backup to your PC. I have done a backup, then soft reset my hub, when it reboots all devices are gone as are all rules, but restoring the backup brings in all the devices and rules.
Although not sure this backup would restore everything on a totally new hub or there's some other restriction I can't recall at the moment.
Check this: