If you are an Acquia Cloud Enterprise customer and are trying to copy files from your staging or production environments to one of your CDEs and you get an error like -
[07:23:27] [07:23:27] Started [07:23:43] [2019-11-06 07:23:28] Measuring disk usage for site testsite-name... [2019-10-16 07:23:28] Destination site quota is: 5242880 KB. [2019-10-16 07:23:43] Disk usage for site testsite-name is 56450028 KB. [2019-10-16 07:23:43] WARN: Disk quota exceeded zlib(finalizer): the stream was freed prematurely.
This can be due to the task exceeding the fixed 5GB file storage for CDEs as described here - https://docs.acquia.com/acquia-cloud/cd/resource/
If your files are less than the 5GB limit and this error is still occurring, it can be due to the task trying to copy the database backups from under filesystem along with the files.
Some ways to work around this can be:
- Use the Stage file proxy module
- Manually import the files if they are less than 5GB