# Add option to disable backup compression

**URL:** <https://meta.discourse.org/t/add-option-to-disable-backup-compression/37288>\
**Category:** Feature\
**Created:** [December 30, 2015, 10:43pm UTC](https://meta.discourse.org/t/add-option-to-disable-backup-compression/37288 "2015-12-30T22:43:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [January 11, 2016, 5:24am UTC](https://meta.discourse.org/t/add-option-to-disable-backup-compression/37288/9 "2016-01-11T05:24:56Z")

</div>

I completed a quick test to see the possible impact of this change for the largest Discourse instance I have to hand.

```plaintext
root@forum:/var/discourse/shared/standalone/backups/default# time -p sh -c "gzip -cd example-com-2016-01-11-033541.tar.gz | gzip > example-com-2016-01-11-033541-recompressed-nochange.tar.gz"
real 671.66
user 637.36
sys 60.42
root@forum:/var/discourse/shared/standalone/backups/default# time -p sh -c "gzip -cd example-com-2016-01-11-033541.tar.gz | gzip --rsyncable > example-com-2016-01-11-033541-recompressed-resyncable.tar.gz"
real 748.85
user 716.44
sys 61.82
root@forum:/var/discourse/shared/standalone/backups/default# ls -l
-rw-r--r-- 1 root root 8712395243 Jan 11 00:01 example-com-2016-01-11-033541-recompressed-nochange.tar.gz
-rw-r--r-- 1 root root 8726238790 Jan 11 00:14 example-com-2016-01-11-033541-recompressed-resyncable.tar.gz
-rw-r--r-- 1 1000 www-data 8712395272 Jan 10 22:41 example-com-2016-01-11-033541.tar.gz

```

By adding `--rsyncable` it took an **additional 77.19 seconds** to compress the file and **increased output file size** by 13,843,547 bytes or approximately **13.84 MB** for no real gain for me.

Perhaps not worrisome as this is background process - just thought is was worth testing.

---

_[View the full topic](https://meta.discourse.org/t/add-option-to-disable-backup-compression/37288)._
