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.

How to migrate accounts

Discussion in 'General Discussion' started by robert.mena, Jan 10, 2008.

  1. robert.mena

    robert.mena Member

    Joined:
    Apr 25, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I'd like to know if there is a sample script that I could customize in order to migrate my domains/email accounts.

    My virtual domains use a translation table to sotre the emails.

    example. user@foo.com
    pop3 user: userfoo

    My passwords are stored in DES or MD5 so I'd like to have an automated way to insert those accounts without having to reset the password or change the username.

    I am not worried about migratin the domain/web but changing the password or manually crating all email accounts is overkill.

    Regards.
     
  2. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hello

    To transfer domains between two server please follow these commands


    Commands to run on "Old Server"

    /scripts/pkgacct (user name)
    Change permmissions to 755 (of tar file)
    Change owner to nobody.nobody (of tar file)
    move tar file to /usr/local/apache/htdocs

    Commands to run on "New Server"
    ---------------------------------------------

    wget http://old server IP/(name of tar file)
    /scripts/restorepkg (user name)



    Please let me know if you have any questions
     
    #2 mohd_007, Feb 9, 2008
    Last edited: Feb 9, 2008
Loading...

Share This Page