Restore

Why are validation rules disabled before restoring a Salesforce record using the SysCloud backup application?

To prevent rogue triggers and unexpected behavior during a restore, SysCloud disables validation rules before restoring Salesforce records and enables them immediately after the restore. Even if the restore fails, the validation rule is re-enabled.  

For example, if the administrator has added a validation rule that phone numbers need to be 10 digits long, restoring an older record (created before the validation rule was added) that does not conform to this rule will cause the restore to fail. To prevent this issue, validation rules will be temporarily turned off prior to the restore and then enabled afterward. 

Similarly, if there is a rule that sends an email when a customer is created, it could result in multiple emails being sent during a restore, which is not the desired outcome.