Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2009
    Posts
    16

    Default Need some qucik help with cpmove

    Hi so I am trying to restore a cpmove but It says this:

    This feature will restore full backups, cpanel backups and cpanel move files in the format of: cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz

    The files must be in one of these directories on the server: /home, /home2, /home3, /root, /usr, /usr/home, /web

    You must upload the file to one of the above locations before using this feature.

    I know I need to move the cpmove file to /home through ssh but i am not familiar with it so can someone show mehow to do that? Please and thanks guys

  2. #2
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    At your command prompt type

    man cp

    to learn about copying files, or

    man mv

    to learn about moving files

    Ron

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by impload View Post
    did that but im still lost...im new to this. can someone tell me exactly what i should type into the command line ssh and an example?
    Where is the full account backup currently located?

    Is it already located on the new server that you need to restore (extract) it on?

  4. #4
    Member
    Join Date
    Nov 2009
    Posts
    16

    Default

    did that but im still lost...im new to this. can someone tell me exactly what i should type into the command line ssh and an example?

  5. #5
    Member
    Join Date
    Nov 2009
    Posts
    16

    Default

    Quote Originally Posted by cPanelDon View Post
    Where is the full account backup currently located?

    Is it already located on the new server that you need to restore (extract) it on?

    Hello thanks for the reply.
    Yes the file is on the server i want to restore it on already.

    It is here /home2/impload/public_html/CPMOVEFILE

    What command do i need to do to make it be at /home2/CPMOVEFILE


  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by impload View Post
    Hello thanks for the reply.
    Yes the file is on the server i want to restore it on already.

    It is here /home2/impload/public_html/CPMOVEFILE

    What command do i need to do to make it be at /home2/CPMOVEFILE

    To accomplish either copying the file, or moving the file, either of the following two commands could be used:

    To copy the file:
    Code:
    # cp -pv /home2/impload/public_html/CPMOVEFILE /home2/CPMOVEFILE
    To move the file:
    Code:
    # mv -v /home2/impload/public_html/CPMOVEFILE /home2/CPMOVEFILE

    Instead of relocating the cpmove file and using WHM, there is another option that can be used to skip copying or moving the file, in case you would like to restore via root SSH access; this can be accomplished using the "restorepkg" script, as seen below
    Code:
    # /scripts/restorepkg /home2/impload/public_html/CPMOVEFILE
    To see available command-line options (CLI switches) for the restorepkg script, you may also execute it without any arguments, such as the following example:
    Code:
    # /scripts/restorepkg

Similar Threads & Tags
Similar threads

  1. Cpmove migration
    By bitpt in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-15-2009, 05:00 AM
  2. cpmove question.
    By leftie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-19-2008, 02:29 PM
  3. cpmove problem
    By Akubens in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 07-30-2007, 09:23 PM
  4. cpmove file
    By randynov in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-05-2003, 08:01 AM
  5. cpmove
    By c4host in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-26-2003, 02:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube