sudo gitlab-backup create COMPRESS_CMD="gzip -c --best"

Category: GitLab

sudo gitlab-backup create COMPRESS_CMD="gzip -c --best"

Back up with a custom compression command

Overrides the default compressor with gzip at its best level, trading speed for a smaller tarball. The command must read input on stdin and write compressed output to stdout. Pair with DECOMPRESS_CMD on restore so the formats match.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.