restoring backups: how long does it takes ?

anarchoi

Registered
May 16, 2013
2
0
1
cPanel Access Level
Root Administrator
I always use cPanel "full backup" feature to download a full backup of my accounts in ZIP format. But i am worried about something : how long would it take for my server to restore an account from a ZIP file backup ?

I'm asking because i downloaded a 3gb backup of my account and tried extracting it on my computer. After over 50 hours, the extraction was only at 40% and WinRAR was saying there was at least 80 hours left...

So if something goes wrong on my server and i have to restore a backup, it will take me 1 week for each accounts ? wtf ?

BTW, my computer is an overclocked Core i7 2700k + 16gb ram + ssd + 1tb WD Black. So the CPU usage shouldn't be a problem. I'm pretty sure my web server is less powerful.
 

jpearl

Member
Oct 28, 2011
20
0
51
AZ
cPanel Access Level
Root Administrator
Sometimes a restore from a remote location can take hours. I do my backups per account daily on my server and then also backups to aws S3 buckets. The speed of your connection is also a big factor.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

The amount of time it takes to restore a backup archive varies. It can take anywhere from a few minutes to an hour for a 3G archive, depending on the hardware utilized by the server. In rare cases it can take longer, but that's typically only when there are some hardware issues on the server (E.g. disk I/O is high, server load is high).

Thank you.
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I always use cPanel "full backup" feature to download a full backup of my accounts in ZIP format. But i am worried about something : how long would it take for my server to restore an account from a ZIP file backup ?
Why is the Full Website Backup in zip format if I may ask? Normally the Full Website Backups are in .tar.gz format.

I'm asking because i downloaded a 3gb backup of my account and tried extracting it on my computer. After over 50 hours, the extraction was only at 40% and WinRAR was saying there was at least 80 hours left...
What happens when you try to extract the backup using Winzip?

So if something goes wrong on my server and i have to restore a backup, it will take me 1 week for each accounts ? wtf ?

BTW, my computer is an overclocked Core i7 2700k + 16gb ram + ssd + 1tb WD Black. So the CPU usage shouldn't be a problem. I'm pretty sure my web server is less powerful.
Extracting a backup on your Windows? computer, is not the same thing as restoring a backup on a Linux server exactly. Also, you don't want to restore any 3GB backup remotely, say by uploading that backup via the cPanel interface in an attempt to restore the account that way.

Also, if that is a windows rig, you might be wasting your time waiting for that backup to unpack. Long filenames, too many nested directories, and other issues will stall the process to a halt. Kill it and see if winrar gives you any clues in output at the end of the kill process.

The proper way to restore any Full Account Backup, is by uploading it to the server in the compressed archive it was created in, and then use the Restore a Full Backup/cpmove File from in WHM. There, you see this message:

This feature will restore full backups, cpanel backups and cpanel move files in one of the following formats:

cpmove-{USER}
cpmove-{USER}.tar
cpmove-{USER}.tar.gz
USER.tar
USER.tar.gz
backup-{BACKUP-DATE_TIME}_{USER}.tar
backup-{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
Do note that none of those options mentions zip files.

HTH!