• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Plesk configuration (scripting folders to another drive?)

R

rick.pri

Guest
I was wondering if it would be possible to script Plesk 8.6 to be able to handle the private folders on another drive array and so external to the usual domain structure.

The only other way I have to do this is to manually create junction links for every domain that's created so that the private folder resides within a domain folder on a separate drive array.

For those that are interested in the reasons why I would like to do this, it's because we use a web app. with a database stored in the private folder, and splitting off DB load on to a fast SCSI array is an eminently sensible thing to do as a single disk array gets bogged down with the DB access on every page load, as well as having to load the physical pages.
 
I think that I may have a solution in the form of a VB script, that uses linkd.exe to create the junction points, but now I need some help with the implementation and integration into the Plesk site setup routine.

What I need Plesk to do is run the .vbs at the point where it creates the private folder, but before it inserts the template files, and then continues with inserting the teplate files and permissions, after the VB script has completed. I may also need to tweak the VB script to aquire the permissions of the private folder that Plesk has just previously created, and also to copy the domain name folder and create that at the destination location.
 
Back
Top