• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Changing the vhost directory

Nathan Platt

New Pleskian
Hi everyone,

My server is running out of room on one of its partitions but another one has 100x's more space free, is it possible to move the data from one drive to another?

Nathan
 
Use transvhosts.pl utility:

# plesk bin transvhosts.pl --help
You should specify destination directory.
Utility to transfer vhosts content from HTTPD_VHOSTS_D directory to new place.

Usage:
--dest-dir <path> Destination path. Path to new vhosts directory.
Example: /path/to/new/vhosts.
If directory does not exist it will be created.

--correct-scripts Changes user scripts.
Old vhost path is replaced to new path in content of all files.
 
Back
Top