So the reason why I want to restore is my production sonar qube server () has empty quality profiles. Yes you can see the rules but it’s on my localhost:9000. I tried to copy the rules from localhost:9000 to my product sonar qube server.
Till now I failed to do the copying, and reinstall on my product still no quality profiles.
Oh I just reinstalled the latest sonar qube and ran /setup to upgrade the backend database and now the quality profiles are back. So the problem is solved. Thanks!