
Originally Posted by
impload
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