Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Change Directory for all sites and db

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
CLAR101
Posts: 10
Joined: Thu Jul 14, 2016 2:27 pm

Change Directory for all sites and db
  • Quote

Post by CLAR101 » Wed Oct 05, 2016 1:00 pm

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
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Change Directory for all sites and db
  • Quote

Post by mehargags » Wed Oct 05, 2016 4:27 pm

mount your new SAN volume under /home ?
Top

CLAR101
Posts: 10
Joined: Thu Jul 14, 2016 2:27 pm

Re: Change Directory for all sites and db
  • Quote

Post by CLAR101 » Fri Oct 07, 2016 6:23 pm

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
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Change Directory for all sites and db
  • Quote

Post by mehargags » Sun Oct 09, 2016 5:32 am

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
Top

CLAR101
Posts: 10
Joined: Thu Jul 14, 2016 2:27 pm

Re: Change Directory for all sites and db
  • Quote

Post by CLAR101 » Mon Dec 19, 2016 1:00 am

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
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password