Skip to main content

Compress backups generated by the upgrade routine, clean up old backups? - Community / Feature Request - Deskpro Support

23

Compress backups generated by the upgrade routine, clean up old backups? Collecting Feedback

Deskpro team - On most modern systems, running mysqldump through something like 'gzcat' (or the multithreaded 'pigz') has an insignificant hit to CPU, doesn't increase the time the operation takes, and in many cases helps increase the throughput since less is being written to disk. Our mysql dump is ~6GB uncompressed, but comes down to about 500MB when it's run through gzcat.

Additionally, it would be nice if the upgrade process recognized if there was an older backup sitting around and removed them (or asked to remove them) before upgrading. I would think that a backup that stale isn't going to be very useful anyway, and leaving them sit around just has the potential to accidentally fill a disk.

Add a comment

Please log in or register to submit a comment.

Need a password reminder?