• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

regenerate web sites?

T

tealnet

Guest
We suffered a server crash and did not have an actual backup of Plesk. We were able to copy over the plesk and customer databases and the mail server data with no problem. The mail server works fine and Plesk works. However, we could not just copy of the IIS web site data.

Is there some way of having Plesk re-generate the webs without deleting and recreating them?
 
If you mean that that domains are in Plesk but not in IIS then you can create them in IIS by websrvmng utility which is placed at %plesk_bin% directory.
websrvmng --reconfigure-vhost --vhost-name=problemdomainname
or
websrvmng --reconfigure-all
 
That's almost exactly what I need. However, the user accounts are also missing. Is there a way to get Plesk to recreate those as well?
 
At first you should extract users from plesk database by the folowing query:
select login, password, home from sys_users su, accounts a where su.account_id=a.id

To connect to Plesk database go to command prompt
cd %plesk_dir%\mysql\bin
mysql -uadmin -p<admin_psa_pass> -P8306 psa
where admin_psa_pass is Plesk admin password

Then you can recreate users by usermng utility which is placed at %plesk_bin%
usermng add 'user' 'password' 'homedir'
 
Back
Top