• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

MSSQL DB Disappeared

Z

zamarax

Guest
A domain I host had an MSSQL DB setup and everything was working fine, infact everything is still working fine, what has happened however is that the DB has disappeared from the Plesk CP, it doesn't show under the Admin CP login nor the domain CP login, I can however RDP into this box and access the DB under SQL Server Management Studio, so it's there and it's working, my question is, can I manually restore the DB LISTING (not the actual DB itself) to the domain that it should belong to? I have tried to re-add the DB in the CP however Plesk give me the error of the DB already existing.....which ofcourse it actually is.

Server is Win2k3
MSSQL Workgroup
Plesk 8.2

Thanks in advance!
 
zamarax

You can try to do the following:

1) rename your current MSSQL database and backup it with SQL studio tools.
2) Remove the entity about MSSQL database from Plesk database:

> DELETE FROM data_bases WHERE name = 'YOUR_MSSQL_DB_NAME';

Please remember the database ID for future reference.

3) Create it anew in Plesk with exactly the same name;
4) Update Plesk database and change data_base id with the previous one:

> UPDATE data_bases SET ID = 'OLD_MSSQL_DB_ID' WHERE name = 'YOUR_MSSQL_DB_NAME';

5) Restore database content with SQL Studio restoration tools.

Keep in mind this is quite simlpified approach so you should be very carefult and backup all the possible antities before performing any changes.
 
worked!

zamarax

You can try to do the following:

1) rename your current MSSQL database and backup it with SQL studio tools.
2) Remove the entity about MSSQL database from Plesk database:

> DELETE FROM data_bases WHERE name = 'YOUR_MSSQL_DB_NAME';

Please remember the database ID for future reference.

3) Create it anew in Plesk with exactly the same name;
4) Update Plesk database and change data_base id with the previous one:

> UPDATE data_bases SET ID = 'OLD_MSSQL_DB_ID' WHERE name = 'YOUR_MSSQL_DB_NAME';

5) Restore database content with SQL Studio restoration tools.

Keep in mind this is quite simlpified approach so you should be very carefult and backup all the possible antities before performing any changes.



This actually worked perfectly!

Thanks DmitryT!
 
Back
Top