Re: SK-cPanel-Importer | Restore cPanel Backup on Vesta
Posted: Thu Sep 22, 2016 2:12 pm
Thanks for the response and quick solution.
I did several tests with different backups.
I ran the script and it worked perfectly EXCEPT the following:
It did not restore the files from the public_html folder
DB: OK
EMAIL: OK
USER: OK
DOMAIN: OK
Public_html FILES: NO (empty)
I'm looking forward for the solution because I have multiple cPanel accounts to restore.
Congratulations for the excellent work.
Thank you.
Carlos
I did several tests with different backups.
I ran the script and it worked perfectly EXCEPT the following:
It did not restore the files from the public_html folder
DB: OK
EMAIL: OK
USER: OK
DOMAIN: OK
Public_html FILES: NO (empty)
I'm looking forward for the solution because I have multiple cPanel accounts to restore.
Congratulations for the excellent work.
Thank you.
Carlos
Code: Select all
[root@servidor12 ~]# bash sk_importer_beta0.4.sh backup-9.22.2016_13-38-35_xxxxxxxxxxxx.tar.gz
Checking provided file...
OK - Gziped File
Creating tmp..
Extracting backup...
Backup extracted whitout errors...
Access tmp directory /root/sk_tmp/backup-9.22.2016_13-38-35_xxxxxxxxxxxx
Get prefix...
I like your prefix, start working
Remove and move some files..
Get user: xxxxxxxxxxxx
Generate random password for xxxxxxxxxxxx and create Vestacp Account ...
Get databases
Fix some files
Working whit db...
Get mysql passwords..
Start Importing Mysql Databases and Users...
Importing database xxxxxxxxxxxx_shopwpress ...
1 databases imported!
Start working whit web sites / files / domains / subdomains
Converting addons domains, subdomains and some orther fun
Start restoring domains
Restore main domain: xxxxxxxxxxxx.com
Start Restoring Mailsiles
Create and restore mail account: [email protected]
Create and restore mail account: hostmasterxxxxxxxxxxxx.com
Create and restore mail account: [email protected]
Create and restore mail account: [email protected]
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 not posible restore it yet.
Check your new passwords runing: cat /root/sk_mail_password_xxxxxxxxxxxx-2016-09-22
##############################
[root@servidor12 ~]# ^C
[root@servidor12 ~]# cat /root/sk_mail_password_xxxxxxxxxxxx-2016-09-22
[email protected] | vRnEXXXBBy
hostmasterxxxxxxxxxxxx.com | CHXXXb4Kkn
[email protected] | ZNLXXXWuDN
[email protected] | 20wXXXOqeN
[root@servidor12 ~]#