GithubHelp home page GithubHelp logo

sk-import-cpanel-backup-to-vestacp's People

Contributors

alpersakarya avatar coriaweb avatar dpeca avatar nebadom avatar skamasle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sk-import-cpanel-backup-to-vestacp's Issues

can't import cpanel backup into vestacp

hi
I downloaded this script
https://github.com/Skamasle/sk-import-cpanel-backup-to-vestacp
But it fails to import the backup

# bash sk-cpanel-importer-05.sh cpanel-backup.tar.gz
sk-cpanel-importer-05.sh: line 45: /usr/local/vesta/func/main.sh: No such file or directory
Checking provided file...
OK - Gziped File
Creating tmp..
Extracting backup...
Backup extracted without errors...
Access tmp directory /root/sk_tmp/cpmove-p16n3iv1
Get prefix...
I like your prefix, start working
Get user: p16n3iv1
sk-cpanel-importer-05.sh: line 115: /usr/local/vesta/bin/v-list-users: No such file or directory
Generate random password for p16n3iv1 and create Vestacp Account ...
sk-cpanel-importer-05.sh: line 126: generate_password: command not found
sk-cpanel-importer-05.sh: line 127: /usr/local/vesta/bin/v-add-user: No such file or directory
Stop Working... Cant create user...if is fresh install of vestacp try reboot or reopen session check bug https://bugs.vestacp.com/issues/138

Error Path Hestia

Hi!

When I import from CWP to Hestia, the directories aren't created correctly. The content should be uploaded to the path:

/home/user/web/domain/public_html

but it gets uploaded like this:

/home/user/web/domain/public_html/public_html

Do you know how to fix it?

Exiting after grep your /etc/passwd

Hi, I'm trying to use your script to import a cPanel backup.

root@ubuntu-server1:~# bash sk_importer_beta0.5.sh backup-1.31.2018_03-55-08_fusion.tar.gz
Checking provided file...
OK - Gziped File
Creating tmp..
Extracting backup...
Backup extracted without errors...
Access tmp directory /root/sk_tmp/backup-1.31.2018_03-55-08_fusion
Get prefix...
I like your prefix, start working
Get user: fusion
/usr/local/vesta/bin/v-list-users: line 93: /data/users/admin/user.conf: No such file or directory
/usr/local/vesta/bin/v-list-users: line 93: /data/users/jrdev/user.conf: No such file or directory
/usr/local/vesta/bin/v-list-users: line 93: /data/users/fusion/user.conf: No such file or directory
User alredy exist on your server, maybe on vestacp or in your /etc/passwd
**
Grep your /etc/passwd
**
Stop Working, clening...

I've created the user 'fusion' already and added the website too. Any ideas?

Options to migrate type of data

Hi,

Could you add some options which allow us to choose types of data to restore: email, database, homedir,...

thank you!

Error restoring the backup

On a freshly installed server I get below errror
/usr/local/vesta/bin/v-list-users: line 93: /data/users/admin/user.conf: No such file or directory
Generate random password for user and create Vestacp Account ...
/usr/local/vesta/bin/v-add-user: line 21: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-user: line 22: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-user: line 36: check_args: command not found
/usr/local/vesta/bin/v-add-user: line 37: is_format_valid: command not found
/usr/local/vesta/bin/v-add-user: line 39: is_format_valid: command not found
/usr/local/vesta/bin/v-add-user: line 42: is_password_valid: command not found
/usr/local/vesta/bin/v-add-user: line 43: is_package_valid: command not found
cat: /data/packages/default.pkg: No such file or directory
/usr/local/vesta/bin/v-add-user: line 59: check_result: command not found
/usr/local/vesta/bin/v-add-user: line 122: /data/queue/disk.pipe: No such file or directory
/usr/local/vesta/bin/v-add-user: line 143: /v-list-user-ips: No such file or directory
/usr/local/vesta/bin/v-add-user: line 188: generate_password: command not found
/usr/local/vesta/bin/v-add-user: line 198: increase_user_value: command not found
/usr/local/vesta/bin/v-add-user: line 212: log_history: command not found
/usr/local/vesta/bin/v-add-user: line 213: log_event: command not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.