Provide Compression Arguments to 'webgisdr' Backup Utility

716
1
02-05-2021 03:01 PM
Status: Open
BlairDeaver3
Occasional Contributor

I would love for the Enterprise software engineering team to consider adding a compression switch to the 'webgisdr' backup utility.  Having the full directory compressed down to a single .zip or .tar file rather than a series of directories would help when configuring AWS S3 lifecycle rules to move Portal/Enterprise backups to Glacier etc.  One file is easier to manage versus a number of directories.  It would also potentially reduce the size of data moving over the wire.  Thank you for your consideration.

1 Comment
JonathanQuinn

@BlairDeaver3is it feasible to write to the FileSystem and then you upload the backup manually using the AWS CLI? The reason why we don't compress the file when we upload is I don't believe there's a direct way to inspect the contents of a compressed file when it's in S3 storage like there is if the file was on the file system. This means we can't do some validation and other checks before actually downloading the backup.