March 7, 2017 Rick Banister

Is the product aware of the inter-dependencies between Salesforce objects?

Yes, there is a metadata table that is populated that understands the parent-child relationships. The -recover command navigates those relationships, such that the product knows the parent objects must be restored before the children. Lookup relationships are restored before anything.