Results 1 to 2 of 2

Thread: Migration using cPanel scripts

  1. #1
    Member
    Join Date
    Mar 2012
    Posts
    6
    cPanel/WHM Access Level

    Root Administrator

    Default Migration using cPanel scripts

    Hi,

    I have crated a cpmove-test1.tar.gz file using the script at /scripts/pkgacct for the user test1(test1.com) in a server. Same User of test1 is having another account as test2(test2.com) in another server and want to move all his domains in test1 to test2. I have copied the cpmove-test1.tar.gz file to another server in which test2 resides. So my question is, Can i use the command /scripts/restorepkg test2 to copy all test1 websites to test2. I have used this before but at that time both had same username. But here it differs. Please help.

    Regards,
    G

  2. #2
    cPanel Support Manager
    Join Date
    Dec 2010
    Location
    Texas
    Posts
    99
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Migration using cPanel scripts

    /scripts/restorepkg does not support "merging" of accounts. Even if the username was the same, restorepkg would not be capable of "merging" a backup with an existing account. At best, you would be able to force a restore of a backup with the same username as an existing account. Such an action would be a force overwrite of any conflicting data, though, not a "merge" of the accounts.

    If you want to merge the account data from two different accounts (regardless if the usernames are the same or different), there's no automated method that we have available. You would have to perform this task manually by creating the domains by hand and then manually extracting the domain's data from the cpmove (like its public_html contents and databases) and restoring them in the correct locations.

    I do encourage you to use the Feature Request forum section, however, to share your desires for such a feature. The more support a given feature request receives, the more likely it is considered for future inclusion to the product.

Similar Threads

  1. Migration from CPanel (shared services) to CPanel (VPS): Best Practices ?
    By Astrocloud in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-28-2012, 12:36 AM
  2. e-mail migration scripts
    By ozerk in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-23-2007, 04:36 PM
  3. OS and cpanel migration
    By ramil in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-01-2006, 03:43 AM
  4. WHM and cPanel custom scripts - PWS Scripts Club
    By PWSowner in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 06-22-2004, 10:51 PM
  5. Replies: 1
    Last Post: 06-10-2004, 08:27 AM