SK-cPanel-Importer | Restore cPanel Backup on Vesta Topic is solved

Section with additional software for Vesta
skamasle
Collaborator
Posts: 360
Joined: Mon Feb 29, 2016 6:36 pm

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

Postby skamasle » Tue Feb 28, 2017 8:34 pm

mit19t wrote:Hola Skamasle, tengo centos 7 64 bits, pero me sale un error, tengo un servidor dedicado de ovh por cierto, tambien tengo varios vps, pero en los vps trabaja bien el script en su version 5, pero en mi dedicado no, me tira este error:
sk-cpanel-importer-05.sh: línea 7: error sintáctico cerca del elemento inesperado `newline'
sk-cpanel-importer-05.sh: línea 7: `<!DOCTYPE html>'

Que podría hacer amigo?
Saludos cordiales


He tenido problemas con el servidor

Intenta descargar el archivo nuevamente

http://mirror.skamasle.com/vestacp/skcp ... beta0.5.sh

Un saludo

mit19t
Posts: 5
Joined: Fri Dec 04, 2015 8:33 pm

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

Postby mit19t » Tue Feb 28, 2017 9:57 pm

Eres un genio hermano, eres el mejor, me ha funcionado sin problema, si se puede saber, tenia que ver con la sintaxis del script?

Saludos brother

skamasle wrote:
mit19t wrote:Hola Skamasle, tengo centos 7 64 bits, pero me sale un error, tengo un servidor dedicado de ovh por cierto, tambien tengo varios vps, pero en los vps trabaja bien el script en su version 5, pero en mi dedicado no, me tira este error:
sk-cpanel-importer-05.sh: línea 7: error sintáctico cerca del elemento inesperado `newline'
sk-cpanel-importer-05.sh: línea 7: `<!DOCTYPE html>'

Que podría hacer amigo?
Saludos cordiales


He tenido problemas con el servidor

Intenta descargar el archivo nuevamente

http://mirror.skamasle.com/vestacp/skcp ... beta0.5.sh

Un saludo

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

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

Postby skamasle » Wed Mar 01, 2017 8:24 am

mit19t wrote:Eres un genio hermano, eres el mejor, me ha funcionado sin problema, si se puede saber, tenia que ver con la sintaxis del script?

Saludos brother

skamasle wrote:
mit19t wrote:Hola Skamasle, tengo centos 7 64 bits, pero me sale un error, tengo un servidor dedicado de ovh por cierto, tambien tengo varios vps, pero en los vps trabaja bien el script en su version 5, pero en mi dedicado no, me tira este error:
sk-cpanel-importer-05.sh: línea 7: error sintáctico cerca del elemento inesperado `newline'
sk-cpanel-importer-05.sh: línea 7: `<!DOCTYPE html>'

Que podría hacer amigo?
Saludos cordiales


He tenido problemas con el servidor

Intenta descargar el archivo nuevamente

http://mirror.skamasle.com/vestacp/skcp ... beta0.5.sh

Un saludo


No, estaba enviando un HTML en vez del script

mit19t
Posts: 5
Joined: Fri Dec 04, 2015 8:33 pm

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

Postby mit19t » Wed Mar 01, 2017 3:42 pm

Vale, gracias bro, saludos
skamasle wrote:
mit19t wrote:Eres un genio hermano, eres el mejor, me ha funcionado sin problema, si se puede saber, tenia que ver con la sintaxis del script?

Saludos brother

skamasle wrote:
He tenido problemas con el servidor

Intenta descargar el archivo nuevamente

http://mirror.skamasle.com/vestacp/skcp ... beta0.5.sh

Un saludo


No, estaba enviando un HTML en vez del script

dpeca
Collaborator
Posts: 227
Joined: Wed Nov 25, 2015 7:30 pm
Location: Serbia

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

Postby dpeca » Mon Mar 13, 2017 1:49 am

Great job skamasle :)

By the way, people can download it directly from github:

Code: Select all

wget https://raw.githubusercontent.com/Skamasle/sk-import-cpanel-backup-to-vestacp/master/sk-cpanel-importer-05.sh


Cheers :)

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

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

Postby skamasle » Mon Mar 13, 2017 1:34 pm

Yeah, is posible, by default not offer that url because some time a go I not upload this to github or not update it frecuently just sincronice it whit my server :/

I will change all urls one of this days

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

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

Postby skamasle » Wed Mar 15, 2017 9:24 pm

Latest update in github:

- Restore cpanel user password
- Restore MX from cpanel DNSZONE

coreXL
Posts: 20
Joined: Fri Mar 24, 2017 1:32 am

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

Postby coreXL » Fri Mar 31, 2017 10:09 am

Thanks for this script, i have problems with importing DB.

My log:

Code: Select all

Start with Databases
 Create and restore localhost
sk_importer_beta0.5.sh: line 146: mysql/localhost.create: No such file or directory
sk_importer_beta0.5.sh: line 147: mysql/localhost.sql: No such file or directory
 Create and restore localhost
sk_importer_beta0.5.sh: line 146: mysql/localhost.create: No such file or direct ory
sk_importer_beta0.5.sh: line 147: mysql/localhost.sql: No such file or directory


The script is able to create the user and assign the password that had in the cPanel, but the database does not care to phpmyadmin.

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

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

Postby skamasle » Fri Mar 31, 2017 1:05 pm

coreXL wrote:Thanks for this script, i have problems with importing DB.

My log:

Code: Select all

Start with Databases
 Create and restore localhost
sk_importer_beta0.5.sh: line 146: mysql/localhost.create: No such file or directory
sk_importer_beta0.5.sh: line 147: mysql/localhost.sql: No such file or directory
 Create and restore localhost
sk_importer_beta0.5.sh: line 146: mysql/localhost.create: No such file or direct ory
sk_importer_beta0.5.sh: line 147: mysql/localhost.sql: No such file or directory


The script is able to create the user and assign the password that had in the cPanel, but the database does not care to phpmyadmin.


This happen with all databases or just with one called localhost.create ?

From what cpanel version your transfer ?
Is standard cpanel backup ?

In any case try with version 4.5 or 3.5

Maybe works for you

Never see this error, no body report it, more than 500 accounts restored ( as I know )

coreXL
Posts: 20
Joined: Fri Mar 24, 2017 1:32 am

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

Postby coreXL » Sat Apr 01, 2017 4:24 pm

Yes, I use the latest version of cPanel and I have migrated around 15 sites and in all accounts I migrated everything but the database.sql

And that's why I was curious because the database was never restored in phpMyAdmin, so I did it manually.
The backup is the cPanel standard, ie the one generated by the system itself.

The database is named %cpanelUser%_databasename.sql


Return to “3rd Party Software”



Who is online

Users browsing this forum: No registered users and 5 guests