You could use the following command

dd if=/device/to/backup status=progress | gzip -c > /path/to/image/file.gz

Here /device/to/backup should be replaced with the partition you would want to backup, e.g. /dev/sda1 and /path/to/image/file.gz should be replaced with the path to the image file. You could also consider using different compression program, e.g. zstd.

Please note that to avoid potential problems with data integrity, the partition shouldn't be mounted during the backup process.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence