Restoring account backup (Home Directory) issue

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
Hello,
I would like to restore a backup for Home Directory (.tar.gz)
After the process completed, I see a black page instead of the restoring details
Back file size: 3 GB
Uploading time: 45 seconds
I set max timeout to 90 seconds in php.ini file

Any help?
 

Attachments

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
HI @ImperialTrader


Do you receive any error messages and is anything added to the cPanel error logs during this time? If you don't have access to these I would suggest contacting your provider for more information.

Thanks!
 

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
HI @ImperialTrader

Do you receive any error messages and is anything added to the cPanel error logs during this time? If you don't have access to these I would suggest contacting your provider for more information.

Thanks!
No, I don't receive any error messages and there is no any file is added to the cPanel error logs.
I think there is an interruption happens while downloading the backup from cPanel, so I don't get all the files.
Check the screenshot and you will see that I downloaded 4 backups and each one with different size.
Is it same as if I downloaded this backup from FTP main root?
 

Attachments

Last edited:

Infopro

Well-Known Member
May 20, 2003
17,090
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I think there is an interruption happens while downloading the backup from cPanel, so I don't get all the files.
Downloading a backup and restoring a backup are two different things of course. Are you saying you downloaded a backup, are not sure its a complete backup, and now are attempting to restore the site, from that backup via your cPanel?

Assuming it's a valid backup, 3Gb is still a large backup. You might want to leave the backup on the account and let your Host move and restore it for you.
 
  • Like
Reactions: ImperialTrader

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
Downloading a backup and restoring a backup are two different things of course. Are you saying you downloaded a backup, are not sure its a complete backup, and now are attempting to restore the site, from that backup via your cPanel?

Assuming it's a valid backup, 3Gb is still a large backup. You might want to leave the backup on the account and let your Host move and restore it for you.
Sorry, it's 5 GB not 3 GB only :)
Yes, I'm trying to restore this backup from cPanel.
I have Reseller account not VPS, that's why I can't download Full backup and restore it via WHM (Check the screenshot).

What if I tried to restore this backup by uploading the files & folders to the FTP main root?
Note: I want to finish this task with myself without requesting any help from the hosting company


- Removed -
 
Last edited by a moderator:

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
Assuming that account's userrname is cptest, what happens when you try and restore if from that area you show in the screenshot?
I have Reseller account not VPS, that's why I can't download Full backup and restore it via WHM.
Because this WHM account is not mine, it's just screenshot I downloaded from google :)
 

Infopro

Well-Known Member
May 20, 2003
17,090
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
What if I tried to restore this backup by uploading the files & folders to the FTP main root?
Note: I want to finish this task with myself without requesting any help from the hosting company
You'll do best to contact your Hosting Provider to have them restore the account from backup.

If you don't want to do that, yes sure, you can upload the contents of the backup via FTP, as the cPanel user though, not root. 5GB backup is going to take you forvever uploading piece by piece.
 

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
You'll do best to contact your Hosting Provider to have them restore the account from backup.

If you don't want to do that, yes sure, you can upload the contents of the backup via FTP, as the cPanel user though, not root. 5GB backup is going to take you forvever uploading piece by piece.
Perfect, but I don't want to upload it piece by piece.
I will select all files and compress it then download the zipped file (Check the screenshot).
Then I will upload the zipped file to the new server and extract it so it will override automatic (Check the screenshot).

Do you think it's gonna restore all the files/folders of my website? without any missing files or email addresses!
 

Attachments

Infopro

Well-Known Member
May 20, 2003
17,090
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
That's going to get you the accounts files, but there are other system files that you don't have access to that you will not get when backing up the account that way.

What you might do instead is, download as much off of that account as possible, purge the bloat. Say you have GB's of images in a directory, back those up and remove them from the account. Anything you can remove, remove it. If you did that, how large is the backup when you do a proper backup using the cPanel Full Website Backup tool? Is it now small enough that you can download, upload that to restore account in the users new cPanel?

Under certain circumstances, trimming down as much as you can from an account in advance of backing it up to move it, is the best way to go. It's just takes longer. ;)
 
  • Like
Reactions: ImperialTrader

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
That's going to get you the accounts files, but there are other system files that you don't have access to that you will not get when backing up the account that way.

What you might do instead is, download as much off of that account as possible, purge the bloat. Say you have GB's of images in a directory, back those up and remove them from the account. Anything you can remove, remove it. If you did that, how large is the backup when you do a proper backup using the cPanel Full Website Backup tool? Is it now small enough that you can download, upload that to restore account in the users new cPanel?

Under certain circumstances, trimming down as much as you can from an account in advance of backing it up to move it, is the best way to go. It's just takes longer. ;)
Yea, it's nice idea :)
What if this website having SSL certificate, it will be restored by this way of backup?
 

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
That's going to get you the accounts files, but there are other system files that you don't have access to that you will not get when backing up the account that way.

What you might do instead is, download as much off of that account as possible, purge the bloat. Say you have GB's of images in a directory, back those up and remove them from the account. Anything you can remove, remove it. If you did that, how large is the backup when you do a proper backup using the cPanel Full Website Backup tool? Is it now small enough that you can download, upload that to restore account in the users new cPanel?

Under certain circumstances, trimming down as much as you can from an account in advance of backing it up to move it, is the best way to go. It's just takes longer. ;)

I did that now and I downloaded 4 GB (images/data) and I took an Home directory backup for 1 GB only.
Unfortunately, it failed to restore this 1 GB only too via cPanel :(

What if I uploaded this 1 GB backup to FTP main root then I extracted it? (Check the screenshot).
Do you think I could restore all the system files and all the account files will be restored? or I must restore it via cPanel?
 

Attachments

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
The answer is the same as earlier. There are system files you will not backup when you backup the home directory for that account they're not located in there. Do you have root access on the new server or no?
No, I don't have any root access on the new server too.

When I download a backup from (cPanel >> Backup Wizard >> Backup Home Directory), I always get all the data and files I need from the account except (sub-domains and databases) only and I don't need them from this backup!
Now, when I try to restore this backup by uploading the (file.tar.gz) to FTP main root and extract it, is it the same as restoring the backup from (cPanel >> Back Wizard >> Restore Home Directory) ?
 

Infopro

Well-Known Member
May 20, 2003
17,090
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Backing up the home directory is as the title says, the Home directory, a "partial backup". It is not a Full Website Backup.

FTP main root and extract it, is it the same as restoring the backup from
No. It's the same answer as when you asked this earlier.


...only and I don't need them from this backup!
You might want to delete them from the account if they're not needed.

Generating a Full Backup is the best way to get the entire account off of the server. And, as the message states there when you attempt a Full Backup:

A full backup will create an archive of all the files and configurations on your website. You can only use this to move your account to another server, or to keep a local copy of your files. You cannot restore full backups through your cPanel interface.
Without root access to restore the account, you're going to need to speak with your Hosting Provider.


GL with this.
 
  • Like
Reactions: ImperialTrader

ImperialTrader

Well-Known Member
Aug 31, 2014
174
20
68
Egypt
cPanel Access Level
Root Administrator
Backing up the home directory is as the title says, the Home directory, a "partial backup". It is not a Full Website Backup.

No. It's the same answer as when you asked this earlier.

You might want to delete them from the account if they're not needed.

Generating a Full Backup is the best way to get the entire account off of the server. And, as the message states there when you attempt a Full Backup:

Without root access to restore the account, you're going to need to speak with your Hosting Provider.

GL with this.
You are correct .. thanks so much for your effort :)
 
  • Like
Reactions: Infopro