Last month we lost all our social data because we could not restore user profile service application from SQL backups.
Anyway I configured a new UPSync App in prod and decided to test out the restore procedure more regirously.
1. I backuped up the encyption key from production and the SQL backups.
2. Created a new User profile sync app in my dev using the same database names as prod
3. REstored the key
4. restored the databases
5. started service and provisioned sync database from powershell.
And wow!!!! my service started up fine and I could see FULL 46K profiles from the production.
I ran a full sync and the number of profiles dropped to 17K and now I see that even people who have social data in production ... don't have anything in dev. So during the sync process... user profile deleted all existing data and then created a fresh profiles (that too incomplete because usign the same AD connetion i always get 46K users).
How can I get the DR process right so that UP does not delete existing data during sync.
val it: unit=()