Initial Salesforce restore errors - High level questions about

  • 364Views
  • Last Post 14 November 2022
0
votes
James Williamson posted this 09 November 2022

Video:  https://drive.google.com/file/d/1zgpCWQvtT8RdzILBLGgmyuiObaKoMJq_/view?usp=drivesdk

Question 1:  Let’s say we have 1000 Account records.  We discovered 100 records were deleted.  We what to restore only the deleted records.  Can we do that, and if so, how?  Will it also correctly restore any child records associated with the deleted records?

 

Question 2:  Let’s say we have 1000 Accounts and 2000 Contacts.   The Account Contact Relationship object, a junction object, establishes relationships between the Accounts and Contacts.  We need to restore all three objects.  When restoring data, Salesforce generates new IDs for the Account and Contact records.  When the Account Contact Relationship object is restored, is it smart enough to correctly reestablish the relationships?

Order By: Standard | Newest | Votes
0
votes
Yevheniia Bilotserkovska posted this 11 November 2022

Hello James.

Thank you for contacting us.

Your request has been taken in progress. We will return with feedback ASAP.

 

Best regards,

Yevheniia Bilotserkovska.

0
votes
Yevheniia Bilotserkovska posted this 14 November 2022

Hello James.

 

Thank you for your waiting.

 

Skyvia provides you with a choice of operations you can do with the selected data — insert to a data source, update the corresponding records in the data source to the values from the snapshots, or delete them from the data source. You can not use Upsert when restoring your Backup, this function is available not in Backup but in Import Package. Please find more information here https://docs.skyvia.com/backup/index.html

 

Regarding Question 1:

Yes, you can restore deleted records. And also Skyvia Backup can restore records with their relations. You just need to select all the necessary related records and restore them together in one restore operation.

If you restore them separately, the relations may be lost.

Note that you need to select all parent and related Objects.

Please check Restoring Related Data topic to know more https://docs.skyvia.com/backup/working-with-backed-up-data/restoring-data.html#:~:text=Restoring%20Related%20Data

 

Regarding Question 2:

As previously mentioned, if you want to restore related records with their relations, for example, a Salesforce Account and all its Contacts, you must select and restore all the required related records in one restore operation. If you restore them separately, the relations may be lost.

 

This is because when a record is inserted in a cloud application, it gets a new Id value. When you restore the related records that reference it by an old backed-up Id value, the relation cannot be restored using this old value. If you restore the related records in one operation, Skyvia retrieves the new Ids and builds relations between restored records correctly, but this cannot be done when restoring related records in several restore operations.

 

Please let us know if any additional information is needed from our side.

 

Best regards,

Yevheniia Bilotserkovska.

 

Close