Transferring web, dns & db to different user account.
Transferring web, dns & db to different user account.
Hello all,
Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.
Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:
Domain transfer to another user account
Database transfer to another user account
Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...
Thanks!
Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.
Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:
Domain transfer to another user account
Database transfer to another user account
Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...
Thanks!
Re: Transferring web, dns & db to different user account.
TopeZ wrote:Hello all,
Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.
Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:
Domain transfer to another user account
Database transfer to another user account
Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...
Thanks!
Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Re: Transferring web, dns & db to different user account.
Are you sure this code is still actual? I tried this, but I get:joem wrote:Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Code: Select all
v-change-domain-owner: command not found
Re: Transferring web, dns & db to different user account.
This worked like a charm and everything is working just fine after moving the usernames to a new account! Thanks!joem wrote:TopeZ wrote:Hello all,
Linux n00b here I recently switched from ZPanel (Windows) to VestaCP (Ubuntu). Loving it so far! Unfortunately though I made a mistake and put all 4 of web & dns domains + 2 dbs under 1 user account.
Is there anyway I can separate and transfer them into newly created user accounts? I saw in the roadmap there is scripts for doing the following:
Domain transfer to another user account
Database transfer to another user account
Now I saw the scripts \ CLI Commands... However I want advice or guidance before I move forward and break things...
Thanks!Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Yes I can confirm this works, just fine as I have used it and moved over 4 different web domains to 4 different user accounts.Tralapo wrote:Are you sure this code is still actual? I tried this, but I get:joem wrote:Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Code: Select all
v-change-domain-owner: command not found
Make sure you are using the latest VestaCP perhaps?
Re: Transferring web, dns & db to different user account.
I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?TopeZ wrote:Yes I can confirm this works, just fine as I have used it and moved over 4 different web domains to 4 different user accounts.Tralapo wrote:Are you sure this code is still actual? I tried this, but I get:joem wrote:Code: Select all
v-change-domain-owner {DOMAIN} {NEWUSERNAME}
Code: Select all
v-change-domain-owner: command not found
Make sure you are using the latest VestaCP perhaps?
Re: Transferring web, dns & db to different user account.
Can you provide us with the exact command your typing in.Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Re: Transferring web, dns & db to different user account.
Well, just as it's posted in all previous posts.joem wrote:Can you provide us with the exact command your typing in.Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
Re: Transferring web, dns & db to different user account.
Well thats your problem.Tralapo wrote:Well, just as it's posted in all previous posts.joem wrote:Can you provide us with the exact command your typing in.Tralapo wrote: I am. I am using the latest Ubuntu LTS and everything is updated. Those commands never worked for me I should say, none of them to be precise. Maybe it's an Ubuntu thing then?
-
- Posts: 3
- Joined: Thu Mar 03, 2016 7:56 pm
Re: Transferring web, dns & db to different user account.
for this error
v-change-domain-owner: line 36: v-search-domain-owner: command not found
change line 36 to this
owner=$($BIN/v-search-domain-owner $domain)
just add BIN variable.
v-change-domain-owner: line 36: v-search-domain-owner: command not found
change line 36 to this
owner=$($BIN/v-search-domain-owner $domain)
just add BIN variable.
Re: Transferring web, dns & db to different user account.
Also had to do a
Then set a password in the Vesta interface
Then update the web config (eg wordpress) to use the new details.
Code: Select all
v-change-database-owner databasename targetuser
Then update the web config (eg wordpress) to use the new details.