skamasle / sk-import-cpanel-backup-to-vestacp Goto Github PK
View Code? Open in Web Editor NEWImport cPanel backup in vestacp
Import cPanel backup in 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
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?
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?
Hi,
Could you add some options which allow us to choose types of data to restore: email, database, homedir,...
thank you!
Hello!
Seems that the generate_password was deleted, thus the script is broken!
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.