Go to Central Administration –> Application Management –> Manage content databases —> see the name of database.
Now go to Powershell and type this command
Upgrade-SPContentDatabase WSS_Content

In the place of WSS_Content write your content db name.Once its executes.You can restore backup