Page 1 of 1

Change Directory for all sites and db

Posted: Wed Oct 05, 2016 1:00 pm
by CLAR101
Hello VestaCP

I am working on a new stage for our hosting service, however we have installed vestaCP on a Digital Ocean Dev VM which also has a 50GB volume attached.

How can we move all hosting files, database files etc basically any file that requires change or can be updated by the user to the new volume mount.

I will look forward to your reply

With Regard
Chris Russell

Re: Change Directory for all sites and db

Posted: Wed Oct 05, 2016 4:27 pm
by mehargags
mount your new SAN volume under /home ?

Re: Change Directory for all sites and db

Posted: Fri Oct 07, 2016 6:23 pm
by CLAR101
Hello,

I want to move all files to the new volume, as its this volume that can be expanded when needed

Thank you for your reply

With Regards
Chris Russell

Re: Change Directory for all sites and db

Posted: Sun Oct 09, 2016 5:32 am
by mehargags
obviously... if you have Data on /home, you need to copy it somewhere before unmounting and mounting it again!
Do post the results here for us to know! Good luck

Re: Change Directory for all sites and db

Posted: Mon Dec 19, 2016 1:00 am
by CLAR101
Just thought I would give an update

Simply mounting the drive at home did the trick, now everything is on the dynamic drive which means we can now simply move a drive rather then an entire server around which is useful (also cheaper and more reliable to store on the drive then the vps)

Sorry for the delay just started setting up the server now and migrating customers over :D Thank you very much for your help