Y yoyo New Pleskian Apr 14, 2023 #1 Server operating system version Ubuntu 22.04 Plesk version and microupdate number Obsidian I am using Ubuntu 22.04 and need to move /var to a new RAID array (/dev/md0) I have already mounted /dev/md0 and updated /etc/fstab What is the best way?
I am using Ubuntu 22.04 and need to move /var to a new RAID array (/dev/md0) I have already mounted /dev/md0 and updated /etc/fstab What is the best way?
M mow Silver Pleskian Apr 18, 2023 #2 Mount the new /var somewhere, shutdown database, copy everything over (cp -ai or rsync -avP), reboot to change everything to the new location.
Mount the new /var somewhere, shutdown database, copy everything over (cp -ai or rsync -avP), reboot to change everything to the new location.
MarkM Golden Pleskian Plesk Guru Apr 18, 2023 #3 Do you need to actually move the entire var? For example, you can move just the vhosts location by using the transvhosts utility; https://support.plesk.com/hc/en-us/articles/12377953257111--How-to-change-virtual-hosts-location-in-Plesk-for-Linux-
Do you need to actually move the entire var? For example, you can move just the vhosts location by using the transvhosts utility; https://support.plesk.com/hc/en-us/articles/12377953257111--How-to-change-virtual-hosts-location-in-Plesk-for-Linux-