How to move accounts from one (my)Vesta server to another myVesta server

compiz
Posts: 34
Joined: Fri May 28, 2021 12:29 pm

Hockeywain wrote: Mon Jun 24, 2024 7:27 am Hello greetings I have a problem running vestacp on my Linux machine I get this error message


package yum has no installation candidate
yum command is for centos and redhat based distros, are you trying to install myvestacp in any of those? This is Debian only

Tags:
User avatar
stud_muffler
Posts: 4
Joined: Sun May 24, 2026 2:45 am
Your location: East coast, US
First name and last name: Studdy Muffler

Are these instructions applicable to the situation where I have a VPS with VestaCP, and I upgraded it to Buster without realising that it's not a supported version by VestaCP?
Needless to say, all users and sites are completely inoperable.
I still have access to CP, and I do have all "good" backups that were done through it.
What is the best way forward?
I can keep upgrading to Bookworm, but how do I switch to myVesta from VestaCP on the same server?
Preferably without wiping everything off and starting from scratch... :D

Appreciate your guidance!

Thanks!
User avatar
myVesta
Site Admin
Posts: 997
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

stud_muffler wrote: Sun May 24, 2026 3:02 am Are these instructions applicable to the situation where I have a VPS with VestaCP, and I upgraded it to Buster without realising that it's not a supported version by VestaCP?
Needless to say, all users and sites are completely inoperable.
I still have access to CP, and I do have all "good" backups that were done through it.
What is the best way forward?
Yes, Vesta will create a backup, even if the services are down.
User avatar
stud_muffler
Posts: 4
Joined: Sun May 24, 2026 2:45 am
Your location: East coast, US
First name and last name: Studdy Muffler

myVesta wrote: Sun May 24, 2026 10:18 am Yes, Vesta will create a backup, even if the services are down.
So, in your opinion, what is the better way forward?
a. Switch to myVesta on Buster and upgrade Debian after.
b. Upgrade Debian first and then switch to myVesta.

Can VestaCP and myVesta be installed on the same server at the same time?

Thanks.
User avatar
myVesta
Site Admin
Posts: 997
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

stud_muffler wrote: Sun May 24, 2026 6:51 pm So, in your opinion, what is the better way forward?
a. Switch to myVesta on Buster and upgrade Debian after.
b. Upgrade Debian first and then switch to myVesta.
c. Install Debian 12 and import backups.
stud_muffler wrote: Sun May 24, 2026 6:51 pm Can VestaCP and myVesta be installed on the same server at the same time?
No.
User avatar
stud_muffler
Posts: 4
Joined: Sun May 24, 2026 2:45 am
Your location: East coast, US
First name and last name: Studdy Muffler

myVesta wrote: Sun May 24, 2026 6:58 pm c. Install Debian 12 and import backups.
So, I'm testing your way on a local server I created just for practice purposes... Debian 12.14.
I installed myVesta, it went ok, except cerificates from Let's Encrypt, as my internal IP and external IP are different, but that is fine.

I tried to restore one user (smallest in size), copied backup file to /backup, set permissions to 640, admin:admin, but while running

Code: Select all

sudo nice -n 19 ionice -c 3 v-restore-user sunlitrd sunlitrd.2026-05-11_05-12-50.tar
I'm getting an error:
ionice: failed to execute v-restore-user: No such file or directory
Am I missing something?

Thanks!
User avatar
myVesta
Site Admin
Posts: 997
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

stud_muffler wrote: Mon Jun 01, 2026 11:47 pm I'm getting an error:
ionice: failed to execute v-restore-user: No such file or directory
Am I missing something?
Maybe viewtopic.php?f=17&t=49
User avatar
stud_muffler
Posts: 4
Joined: Sun May 24, 2026 2:45 am
Your location: East coast, US
First name and last name: Studdy Muffler

myVesta wrote: Tue Jun 02, 2026 2:22 pm Maybe viewtopic.php?f=17&t=49
That worked, but in a weird way... only from under full su but not sudo...

Another question: On my VPS I run MySQL not MariaDB and users sites are using pretty antique pieces of PHP soft.
I'm not sure newer PHP and MySQL/MariaDB will be compatible... Last time it all worked OK was on Stretch.
Is there a way to pick which versions are installed or update/downgrade after?

Thanks!
8-)
User avatar
myVesta
Site Admin
Posts: 997
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

stud_muffler wrote: Wed Jun 03, 2026 2:42 am Another question: On my VPS I run MySQL not MariaDB and users sites are using pretty antique pieces of PHP soft.
I'm not sure newer PHP and MySQL/MariaDB will be compatible... Last time it all worked OK was on Stretch.
Is there a way to pick which versions are installed or update/downgrade after?
PHP - viewtopic.php?f=18&t=52
MariaDB - viewtopic.php?f=27&t=1078
Post Reply