[3.4.0.24] Backup file is not compressed any more

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 3.4.0.24
HARDWARE (Jolla1, Tablet, XA2,…): Jolla1
UI LANGUAGE: Dutch
REGRESSION: (compared to previous public release: Yes, No, ?): Yes

DESCRIPTION:

Making a backup creates a file that is no longer gzip compressed.

PRECONDITIONS:

None

STEPS TO REPRODUCE:

  1. Create manual backup to SD card

  2. UI says compressing data

  3. Check backup: sailfish_backup_2020-10-21T07-55-05Z.tar (100M)

  4. Note lack of .gz extension and size of archive

  5. Create manual backup to Nextcloud

  6. Check backup: sailfish_backup_2020-10-21T07-56-05Z.tar.gz (34M)

  7. $ file sailfish_backup_2020-10-21T07-56-05Z.tar.gz
    sailfish_backup_2020-10-21T07-56-05Z.tar.gz: POSIX tar archive (GNU)

  8. Uncompressed size: 34M, manual compression with gzip yields ~6M

Note: backup to Nextcloud does not contain photo’s from main storage, hence the difference in size there.

EXPECTED RESULT:

A compressed backup file.

ACTUAL RESULT:

An uncompressed backup file.

ADDITIONAL INFORMATION:

None.

1 Like

Additionally, please consider the use of zstandard instead gzip for compression, as it is better on all fronts (speed and/or compression level, at your discretion).