I following the following steps to reprovision my user profile service application.
1. took backup of all SQL databases related to user profile (social, sync, profile db)
2. took backup of the key using
miiskmu.exe /e <Key file name and path>
3. deleted the service application (without deleting database)
4. recreate the service application with same database name.
At this step I got this error
5. I tried again and this time the service app got provisioned successfully.
6. restored the key using
Run miiskmu.exe /i <Key file name> {0E19E162-827E-4077-82D4-E6ABD531636E}.
7. resetup connection and ran sync. took 1 hour and I got 30,000 users
EXCEPT that all data from social database is gone!!!! and the profiles are clean as a new slate!!!! What went wrong?? Why did I loose existing data??
If I query the DB it still has all the tags, social comments, colleagues etc.
but in the browser the profile is not showing any of that.
val it: unit=()