Page 1 of 1

Migration from Vesta to myVesta

Posted: Wed Oct 14, 2020 7:32 pm
by nedajba
Thanks a lot for the great fork for the Debian installation.
Is there any way and what is the procedure to change the Hostname of myVesta host?

Eg. now i have old server vps.example.com (Vesta) ans I want to migrate all users to new server vps2.example.com (myVesta)

On old server I use LetsEncrypt certificate for Vesta and SSL for E-Mail access, clients uses SSL to vps.example.com for SMTP and IMAP.

The idea behind is to migrate all users from old Vesta server (vps.example.com) to new myVesta server (vps2.example.com) and when I finish with migration, will shutdown old server and use old name on new server, so I don't have to reconfigure email clients.

Thanks for any sugestion.

Re: Migraion from Vesta to myVesta

Posted: Thu Oct 15, 2020 1:49 am
by myVesta

Re: Migraion from Vesta to myVesta

Posted: Tue Oct 20, 2020 2:28 pm
by nedajba
Wow... Thx... :)

Re: Migraion from Vesta to myVesta

Posted: Wed Oct 28, 2020 5:23 pm
by Ominae
hello dpeca how are you?
I wanted to ask you a question regarding the same.

In the migration process from Vesta to myVesta, will it be normal that the Vesta user backup does not add the bandwidth statistics data in myVesta?
Is there a method to migrate those statistics?

Re: Migration from Vesta to myVesta

Posted: Wed Oct 28, 2020 7:10 pm
by myVesta
I think not.
But you can manually copy /var/log/apache2/domains/your-domain.com.bytes from old server to new.

Also, you can edit /usr/local/vesta/data/users/SOMEUSER/web.conf and manually change U_BANDWIDTH='XXXX' value (get value from old server)

-

Posted: Mon Dec 14, 2020 7:07 am
by ThomasDeads
This happens if host leaves. Same on Ps4. As there are no dedicated servers for online gaming, those are players who host sessions. If they leave, you have DC

Re: Migration from Vesta to myVesta

Posted: Sun Dec 20, 2020 10:58 pm
by Ominae
dpeca wrote: Wed Oct 28, 2020 7:10 pm I think not.
But you can manually copy /var/log/apache2/domains/your-domain.com.bytes from old server to new.

Also, you can edit /usr/local/vesta/data/users/SOMEUSER/web.conf and manually change U_BANDWIDTH='XXXX' value (get value from old server)
Thanks Dpreca, effectively you must copy the file called "stats" from one server to another and then edit U_BANDWIDTH of the file "web.conf"