Results 1 to 2 of 2

Thread: Will this work?

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    2
    cPanel/WHM Access Level

    Website Owner

    Default Will this work?

    Hello,

    My host doesn't allow me to produce a full CPMOVE file for my account as it's using a large amount of disk space and they claim the backup process crashes their server.

    I am able to generate a .tar file from the command line of my entire home directory (/home/jack) without causing too much load (using nice) and am able to email support and have an admin create me a cpmove file skipping the home directory.

    My question is how would I restore the account on another server should I ever move. Could I just create an account with the same user name on cPanel server, restore the cpmove file to it and then untar my .tar file? Would this work, keeping all email, SQL databases etc in place and working?

    Thank you

  2. #2
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,143
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Will this work?

    Totally speculative, but given you have:

    1. A cpmove tar ball containing everything except the home directory; and
    2. A tarball of your home directory

    then migrating to a different host or server should entail:

    1. Upload both tarballs to the new server
    2. As root execute /scripts/restorepkg with the path to the cpmove tarball as an argument (e.g. /scripts/restorepkg /root/cpmove-bitgeek.tar.gz )
    3. After the account is restored copy the home directory tarball to the home directory
    4. Ensure the owner and group of the tarball is the actual user
    5. As the user (not root) unpack the home directory tarball in your home directory

    That should give you a full account restore. I have no idea what problems, if any, could result from this.
    Kenneth
    Development
    cPanel, Inc.

Similar Threads

  1. www. doesnt work and http:// does work help me!
    By kingk in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-29-2008, 12:35 AM
  2. postmaster wont work and bash_history doesnt work either
    By darklord1 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 09-03-2006, 12:41 PM
  3. Replies: 0
    Last Post: 12-18-2005, 07:24 PM
  4. Webalizer work but AwStats stop to work before 15 days...?
    By x-man in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 11-09-2005, 10:30 AM
  5. mail problems ... username used to work now user@domain work
    By neXus in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-20-2001, 06:34 AM