Restore from transfer failed backup cpmove file

magj

Active Member
Dec 20, 2013
35
0
6
Germany
cPanel Access Level
Root Administrator
Hi

I have a special scenario:
I had to transfer some accounts in emergency from one of my servers.

I had to transfer like 100 accounts which the "transfer" has succeeded on all accounts and the restore process has started and restored like 90 accounts ans stuck for 3days which has failed after pausing the process.

As the transfer process has completed I have the cpmove.....part. files on my /home and do not have access to the original sever now:

How is it possible to restore from these files as those accounts are not listed in "Restore a Full Backup/cpmove File" Section.

(EDIT)

I can read folders with
cpanelpkgrestore.TMP.work.(RANDOMCODE) on /home for the accounts which has fully failed to restore.
Is this supported :
1.GZip the content of the folder
2.Use standard backup restore process?

Best
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @magj,

Restoring the accounts from the temporary directory setup as part of the account restoration process when using WHM >> Transfer Tool isn't a reliable method of restoring an account. The fact that the restore didn't complete successfully on the initial transfer attempt suggests the temporary directory you are referring to could be incomplete. You could manually create the accounts using WHM >> Create a New Account and then try manually move the extracted data in place where possible.

Thank you.
 
  • Like
Reactions: magj

magj

Active Member
Dec 20, 2013
35
0
6
Germany
cPanel Access Level
Root Administrator
Hello @magj,

Restoring the accounts from the temporary directory setup as part of the account restoration process when using WHM >> Transfer Tool isn't a reliable method of restoring an account. The fact that the restore didn't complete successfully on the initial transfer attempt suggests the temporary directory you are referring to could be incomplete. You could manually create the accounts using WHM >> Create a New Account and then try manually move the extracted data in place where possible.

Thank you.
Thanks but as I inspected the folder i could read the database folder and other information.

The question is: IF the folder information is complete (as I hope so) how may I restore it as my last option?

Best
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
The question is: IF the folder information is complete (as I hope so) how may I restore it as my last option?
Hello,

You should be able to restore the account using the path to the directory. EX:

Code:
/scripts/restorepkg /home/extracted-contents/
Thank you.
 
  • Like
Reactions: magj