Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

spacedevin/cpanel-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Cpanel account importer

The purpose of this script is to import cpanel backups into a system that uses no cpanel. Run this script from root.

This script currently only supports:

  • creation of users and assigning to a group

  • creation of apache2 host file and symlinking it to active

  • moving of all homedir files

  • creationg of log directories

  • creation of mysql dbs and users


Usage ----- Usage: cpanel-import.php file [options] Ex: cpanel-import.php devin.tar.gz --ip=100.100.100.100 --forceuser

--username - Import as a different username.

--password - Overwrite the users password.

--ip - The IP to bind the vhost to.

--mysql-user - The root or super admin for mysql.

--mysql-pass - The root or super admin password for mysql.

--source - Where to find the file.

--dest - Where to find put the user.

--ignore - Comma separate list of files to ignore in homedir.

--httpd - Apache path.

--debug - Show commands.

--verbose - Show additional info.

--forceuser - If the user exists, keep going, and delete their home directory.

About

Import cpanel backups into a simple lamp setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages