The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ensim site backup importer for Cpanel?

Discussion in 'General Discussion' started by alwaysweb, Aug 26, 2002.

  1. alwaysweb

    alwaysweb Well-Known Member

    Joined:
    Mar 8, 2002
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Dallas, TX
    cPanel Access Level:
    Root Administrator
    Hi there!

    I'm not too excited about our upcoming task of moving almost 2000 domains from a dozen Ensim servers to our new Cpanel servers. To spare my sanity, does anyone have the importer utility or script that was rumored to accept an ensim site backup file and import it successfully?

    I know there has to be quirks, such as the site path changing from /home/virtual/domain.com/ to /home/username/ but if it automates some portion of the move for me I'd be very thankful!

    Ronnie
    http://AlwaysWebHosting.com
     
  2. parag

    parag Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    115
    Likes Received:
    0
    Trophy Points:
    16
    [quote:4a6fc31498][i:4a6fc31498]Originally posted by alwaysweb[/i:4a6fc31498]

    Hi there!

    I'm not too excited about our upcoming task of moving almost 2000 domains from a dozen Ensim servers to our new Cpanel servers. To spare my sanity, does anyone have the importer utility or script that was rumored to accept an ensim site backup file and import it successfully?

    I know there has to be quirks, such as the site path changing from /home/virtual/domain.com/ to /home/username/ but if it automates some portion of the move for me I'd be very thankful!

    Ronnie
    http://AlwaysWebHosting.com[/quote:4a6fc31498]


    hi ronnie

    one method we can work out where u will not have to change /home/virtual/domain.com/ to /home/username/

    here is the method.

    (1) go to your cpanel WHM - then click on the server setup
    (2) scroll down and change the default home directory from /home to /home/virtual
    (3) start an ssh session and login as a root
    (4) go to /scripts directory and edit the wwwacct script scroll down and find the following lines in it

    if (length($user) & 8) { die &Sorry that username is too long. MAX is 8 letters&; }

    change the length from 8 to the maximum length of any domain allowed by the registry + 5 more characters for .com .net or any such extensions

    save the script

    (5) create an account with a test domain name and keep the username as domain.com - so every site owner will have his username as a domain.com

    this way it will create the account in /home/virtual/domain.com directory - where domain.com is the username of the site owner and /home/virtual is your main home path where all the accounts will be created.

    so this way you can just tar the ensim sites and extract them to /home/virtual/domain.com

    ----------------------------------------------------------------------------

    this is one way...

    other way you can work out is you can write some shell script which will help you extract the backup of the client sites to the proper path and location without any hassles

    let me know if you need any other help
    you can mail me at view@icenet.net

    best regards,
    Parag
     
Loading...

Share This Page