Decompressing Backups and Logs

Last updated: 2021-02-09 10:17:16

    For the sake of compression performance and ratio, backup files and log files (binlog files) of TencentDB for MariaDB are compressed with LZ4 (Extremely Fast Compression Algorithm). You can use LZ4 for decompression. This document describes how to use this tool.

    Windows

    Installing LZ4

    If the tool is only used to decompress TencentDB for MariaDB files, the check box in the last step of the installation wizard can be deselected.

    Decompressing files

    Right click the LZ4 file to be decompressed and select Decode with LZ4.

    Linux

    Installing LZ4

    There is an LZ4 component in the yum repository of CVM. Log in to your CVM instance and run the following command to install it.
    $ yum install lz4
    The installation is successful if the result is returned as shown below after you execute lz4.

    Decompressing files

    Execute the following command to decompress a file.
    $ lz4 -d xxx.lz4

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help