跳到主要内容

Compress backups generated by the upgrade routine, clean up old backups? - 反馈 / 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.

添加一条评论

请登录或注册以提交评论。

是否需要密码提醒?