Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section 3rd Party Software
  • Search

SK-cPanel-Importer | Restore cPanel Backup on Vesta

Section with additional software for Vesta
Post Reply
  • Print view
Advanced search
95 posts
  • Page 3 of 10
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 10
  • Next
skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by skamasle » Fri Apr 15, 2016 12:30 pm

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by skamasle » Fri Apr 22, 2016 5:54 pm

Oh betatesters beta 0.4 redy to download whit some bugs fixes ( only one beta tester give some feedback xD ) but is ok
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by skamasle » Mon Apr 25, 2016 8:26 pm

Updated whit some bugs fixed, thanks to leisegang.
Top

leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by leisegang » Mon Apr 25, 2016 8:27 pm

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
Top

DBBJAF
Posts: 17
Joined: Fri Dec 25, 2015 6:10 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by DBBJAF » Tue Apr 26, 2016 8:51 am

skamasle wrote:only one beta tester give some feedback xD
Sorry for that.
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
The release is sceduled on February 2016
http://vestacp.com/roadmap/
Top

ShaunWHD
Posts: 18
Joined: Tue May 03, 2016 5:30 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by ShaunWHD » Tue May 03, 2016 7:03 pm

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?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by skamasle » Tue May 03, 2016 9:39 pm

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.
Top

ShaunWHD
Posts: 18
Joined: Tue May 03, 2016 5:30 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by ShaunWHD » Wed May 04, 2016 5:33 pm

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by skamasle » Wed May 04, 2016 9:24 pm

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.
Top

koramo
Posts: 7
Joined: Tue May 27, 2014 4:18 am

Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
  • Quote

Post by koramo » Thu May 12, 2016 6:22 pm

Hello
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
Top


Post Reply
  • Print view

95 posts
  • Page 3 of 10
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 10
  • Next

Return to “3rd Party Software”



  • 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
 

 

Login  •  Register

I forgot my password