It's not foolproof. I once wiped a system, installed a new OS version and then restored the back-up. I wasn't happy about the performance of the new OS so I immediately (within an hour) attempted to roll back everything using the same back-up. Except, MacOS seemed to have wiped the back-up from the disk as soon as it had finished restoring.