• 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.

Need to regenerate subscriptions

XAMeLeOH

New Pleskian
Good day people!

My directory /var/www was deleted by accident. Is there a way to regenerate all subscription files? I know this action won't recovery my data. All I want is fresh subscriptions.

Thank you.
 
Backup/restore can help.

* Create vhosts directory:
# mkdir -p /var/www/vhosts

* Backup a subscription in Plesk (Domain configuration and content)
* Restore the data from backup

Site directory will be created.
 
Unfortunately doesn't work

In my test I upgraded Plesk to last 11.5.30 version right after deleting /var/www.
Without Plesk upgrade after removing /var/www (for Debian or Ubuntu):

# dpkg-reconfigure psa-vhost
# /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-server
# mkdir /var/www/vhosts/system

Then domain directory can be created using the following KB article:
http://kb.parallels.com/en/115454

# wget http://kb.parallels.com/Attachments/23464/Attachments/recover_plesk_directories.zip
# unzip recover_plesk_directories.zip
# bash recover_plesk_directories.sh domain.tld
 
Last edited:
Back
Top