We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
SK-cPanel-Importer | Restore cPanel Backup on Vesta
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Working on new database importing script to solve some bugs and improve compatibility issues when user dont have grant all privileges and orther reported bugs whit data bases.
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Oh betatesters beta 0.4 redy to download whit some bugs fixes ( only one beta tester give some feedback xD ) but is ok
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Updated whit some bugs fixed, thanks to leisegang.
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Happy to help.
I have actually used your script to move about 10 accounts, and with some debugging and quick fixes from skamasle it now works great.
Sad to say i dont have any cpanel acounts to transfer now
I have actually used your script to move about 10 accounts, and with some debugging and quick fixes from skamasle it now works great.
Sad to say i dont have any cpanel acounts to transfer now
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Sorry for that.skamasle wrote:only one beta tester give some feedback xD
i got a lot of problem since i break my friends phone by flashing it...lol.
good to know your work at least had one update since vesta road map still planned on february :D
http://vestacp.com/roadmap/The release is sceduled on February 2016
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
I used this script yesterday to move my cPanel users to VestaCP. Works awesome! Thank you!
Only request I would have is there also a way to have it move cPanel DNS entries?
Only request I would have is there also a way to have it move cPanel DNS entries?
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
ShaunWHD wrote:I used this script yesterday to move my cPanel users to VestaCP. Works awesome! Thank you!
Only request I would have is there also a way to have it move cPanel DNS entries?
Hi
Thanks for review,
Script not restore DNS entries, Crons and SSL yet.
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Possibly a bug?
I had a client report that their email password (the one that is generated by the import script) wasn't working.
I tried logging in myself and can confirm. I had to go in and reset it.
Not sure if this is with *all* email accounts imported, or just some accounts.
I had a client report that their email password (the one that is generated by the import script) wasn't working.
I tried logging in myself and can confirm. I had to go in and reset it.
Not sure if this is with *all* email accounts imported, or just some accounts.
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Hi
In my tests working fine, yesterday I restore backup and can login to mails whitout problems.
Maybe you restore two times an account and you have two files sk_mail_password_2016-05-xxx ?
There is no reason than password fail but maybe have some bug yes.
In my tests working fine, yesterday I restore backup and can login to mails whitout problems.
Maybe you restore two times an account and you have two files sk_mail_password_2016-05-xxx ?
There is no reason than password fail but maybe have some bug yes.
Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Hello
I used the automatic cpanel backups in the root as well as the bash script.
during the run I get these:
I used the automatic cpanel backups in the root as well as the bash script.
during the run I get these:
Code: Select all
bash sk_importer_beta0.4.sh kosher*******re.tar.gz
Checking provided file...
OK - Gziped File
Creating tmp..
Extracting backup...
Backup extracted whitout errors...
Access tmp directory /root/sk_tmp/kosher*******re
Get prefix...
I like your prefix, start working
Remove and move some files..
Get user: kosherfo
/usr/local/vesta/bin/v-list-users: line 58: /data/users/admin/user.conf: No such file or directory
Generate password aleatory password for kosherfo and create Vestacp Account ...
/usr/local/vesta/bin/v-add-user: line 21: /func/main.sh: No such file or directo ry
/usr/local/vesta/bin/v-add-user: line 22: /conf/vesta.conf: No such file or dire ctory
/usr/local/vesta/bin/v-add-user: line 38: check_args: command not found
/usr/local/vesta/bin/v-add-user: line 39: validate_format: command not found
/usr/local/vesta/bin/v-add-user: line 41: validate_format: command not found
/usr/local/vesta/bin/v-add-user: line 44: is_password_valid: command not found
/usr/local/vesta/bin/v-add-user: line 45: is_package_valid: command not found
cat: /data/packages/default.pkg: No such file or directory
/usr/local/vesta/bin/v-add-user: line 61: check_result: command not found
/usr/local/vesta/bin/v-add-user: line 123: /data/queue/disk.pipe: No such file o r directory
/usr/local/vesta/bin/v-add-user: line 140: /v-list-user-ips: No such file or dir ectory
/usr/local/vesta/bin/v-add-user: line 185: gen_password: command not found
/usr/local/vesta/bin/v-add-user: line 195: increase_user_value: command not foun d
/usr/local/vesta/bin/v-add-user: line 209: log_history: command not found
/usr/local/vesta/bin/v-add-user: line 210: log_event: command not found
Get databases
Fix some files
Working whit db...
Get mysql passwords..
Start Importing Mysql Databases and Users...
sk_importer_beta0.4.sh: line 212: /usr/local/vesta/data/users/kosherfo/db.conf: No such file or directory
Importing database kosherfo_wp ...
1 databases imported!
sed: can't read /usr/local/vesta/data/users/kosherfo/user.conf: No such file or directory
Start working whit web sites / files / domains / subdomains
Converting addons domains, subdomains and some orther fun
Start restoring domains
/usr/local/vesta/bin/v-add-domain: line 19: /func/main.sh: No such file or direc tory
/usr/local/vesta/bin/v-add-domain: line 20: /func/ip.sh: No such file or directo ry
/usr/local/vesta/bin/v-add-domain: line 21: /conf/vesta.conf: No such file or di rectory
/usr/local/vesta/bin/v-add-domain: line 27: check_args: command not found
/usr/local/vesta/bin/v-add-domain: line 28: validate_format: command not found
/usr/local/vesta/bin/v-add-domain: line 32: is_object_valid: command not found
/usr/local/vesta/bin/v-add-domain: line 33: is_object_unsuspended: command not f ound
/usr/local/vesta/bin/v-add-domain: line 42: get_user_ip: command not found
Error: no avaiable IP address
/usr/local/vesta/bin/v-add-domain: line 45: log_event: command not found
Restore main domain: kosher*******e.net
chown: cannot access `/home/kosherfo/web/kosher*******e.net/public_html': No su ch file or directory
chmod: cannot access `/home/kosherfo/web/kosher*******e.net/public_html': No su ch file or directory
Start Restoring Mails
Create and restore mail account: office@kosher*******e.net
sk_importer_beta0.4.sh: line 351: v-add-mail-account: command not found
mv: cannot move `kosher*******e.net/office' to `/home/kosherfo/mail/kosher*******e.net': No such file or directory
chown: cannot access `/home/kosherfo/mail/kosher*******e.net': No such file or directory
All mail accounts restored
Cant restore crons yet
Remove tmp files
##############################
cPanel Backup restored
Review your content and report any fail
I reset mail password, cant restore yet shadow passwords to vesta format ( md5 )
Check your new passwords runing: cat /root/sk_mail_password_2016-05-12-15:56:49