0
Answered

Cannot restore websites from Backup

Phyllis Austin 4 months ago updated by Jesse Owens (Community Manager) 4 months ago 1

Dear Boldgrid,

Four of my sites went down.   I was able to restore 2 of them with backup.  However, I cannot restore the other 2.    

With one Bolgrid Backup the compressed file reads invalid.   It is sitting in the boldgrid backup folder, on google and downloaded on my computer.  I can't ftp it or upload it through CP because I can't unzip it and the zip is invalid.  It cannot be unzipped even when I click on the file for extraction in the boldgrid backup folder. 4 GB

The other one is 1.91 GB.  It will unzip but it throws an error on restoration.   Two files seems to be corrupt:  a php.config and a tmp  file.

I will give more information about the websites when I hear from you.  FYI one  in a National Organization (non-profit)  and the other is a Global Ministry.   


FYI:  The 2 restored were small files under 1 GB each.    The hosting company didn't back up the sites because my account is nearly 50 GB.    

We need your assistance.

Answer

Answer
Answered

Hello,

Thanks for the great questions. I'm sorry you're having trouble restoring your backup files.

For backups that large, especially if you're on a shared hosting plan, I suspect that you might be running into limits for your server's Disk I/O. Most shared servers limit the amount of data written into and read out of the hard disk (I/O meaning input and output). 

Since your backup ZIP files are corrupt, your best bet will be to try to repair them. Here's an article I found that has some ZIP repair utilities, some free and others that are paid.

If your Web Server is Linux-based, you can also try logging into your server with SSH and using the following commands (if your backup directory is set to the default value of boldgrid_backup, otherwise replace the directory name in the cd command):

cd ~/boldgrid_backup
zip -FF boldgrid-backup-[abc123]-corrupt.zip --out new-repaired-boldgrid-backup-[abc123].zip

For a zip file over 4GB in size, this might take a considerable amount of time to run, and any files that are too corrupted may be lost.

Make sure that your new ZIP filename contains the strings "boldgrid-backup-" and your unique BoldGrid Backup ID, which is a 6-character random string. Then you should be able to restore the backup from your Dashboard.

I hope this helps! If you need additional assistance one-one-one, you can file a private ticket via BoldGrid Central -> My Account -> Premium Support so that we can help you out further.

Answer
Answered

Hello,

Thanks for the great questions. I'm sorry you're having trouble restoring your backup files.

For backups that large, especially if you're on a shared hosting plan, I suspect that you might be running into limits for your server's Disk I/O. Most shared servers limit the amount of data written into and read out of the hard disk (I/O meaning input and output). 

Since your backup ZIP files are corrupt, your best bet will be to try to repair them. Here's an article I found that has some ZIP repair utilities, some free and others that are paid.

If your Web Server is Linux-based, you can also try logging into your server with SSH and using the following commands (if your backup directory is set to the default value of boldgrid_backup, otherwise replace the directory name in the cd command):

cd ~/boldgrid_backup
zip -FF boldgrid-backup-[abc123]-corrupt.zip --out new-repaired-boldgrid-backup-[abc123].zip

For a zip file over 4GB in size, this might take a considerable amount of time to run, and any files that are too corrupted may be lost.

Make sure that your new ZIP filename contains the strings "boldgrid-backup-" and your unique BoldGrid Backup ID, which is a 6-character random string. Then you should be able to restore the backup from your Dashboard.

I hope this helps! If you need additional assistance one-one-one, you can file a private ticket via BoldGrid Central -> My Account -> Premium Support so that we can help you out further.