Effective February 15, 2021, the CodeGuard support center will be merging with the Sectigo support center. This means that support emails will come from support@codeguard.com, and the knowledge base will be hosted on sectigo.com. There will be no interruption of our services, and you will continue to receive top of the line support during and after this transition.

How do I download large zip files from CodeGuard?

With CodeGuard, you can always download a full copy of your website backup at any time. Of course, if you do not need your entire backup, you can use our Selective Download feature to retrieve only the content you need - whether that be a single file or a set of files and directories.

While we do compress these archives as much as possible for the zip format, their size can vary depending on the content included in your website backup. When file sizes exceed 1GB, we have experienced intermittent issues with modern browsers that can lead to incomplete file downloads. This does not mean that your backups within CodeGuard are in any way incomplete or incorrect. It simply means that there was a network issue that prevented this large backup from being successfully transferred from our Amazon S3 storage location to your computer. Reattempting the transfer may yield a successful download, but there are other tools available that are better suited for this kind of operation.

For that reason, we suggest using alternate methods for downloading large zip archives. Specifically, the cURL and Wget utilities are time-tested download programs which are available on all major platforms. Instructions for obtaining and using these tools to download your CodeGuard archives can be found below.


Wget

To download a CodeGuard zip file using Wget, do the following:
 

  1. Copy the download link from the CodeGuard application or CodeGuard notification email.
  2. Open a terminal or command prompt session.
  3. Execute the command below substituting “backup.zip” with the desired name of your downloaded file and the URL in quotes with the link you copied in step 1.


wget -O backup.zip "https://cg-zips.s3.amazonaws.com/backup.zip?AWSAccessKeyId=AAAGF&Expires=98765&Signature=AjxuqO"

Note: Be sure to include the quotes around the URL in your command. Otherwise, it may be interpreted as an invalid URL.


cURL

To download a CodeGuard zip file using cURL, do the following:
 

  1. Copy the download link from the CodeGuard application or CodeGuard notification email.
  2. Open a terminal or command prompt session.
  3. Execute the command below substituting “backup.zip” with the desired name of your downloaded file and the URL in quotes with the link you copied in step 1.


curl -o backup.zip "https://cg-zips.s3.amazonaws.com/backup.zip?AWSAccessKeyId=AAAGF&Expires=98765&Signature=AjxuqO"

Note: Be sure to include the quotes around the URL in your command. Otherwise, it may be interpreted as an invalid URL.


cURL and Wget Download Instructions

Windows
Wget - http://gnuwin32.sourceforge.net/packages/wget.htm
cURL - http://curl.haxx.se/download.html

MacOS
Wget - Available with Xcode Command Line Tools (http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/) or the Homebrew package manager (http://brew.sh/)
cURL - Included in base installation.

Linux
Both wget and cURL are available from your package manager.

 

To properly copy the download link, you need to right click the link in the "Restore" tab and click "Copy link address". The link will be much longer than what is used in the example above.

zip.png



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request