Here is another post with some details on how the way Scrivener works makes widespread damage extremely difficult for the software to do even unintentionally, as per in a crash. By far most error reports we receive are from external software or the system itself causing damage.
That said, always keep several backups at a time, and as many off-site and unplugged as possible.