ZSTD Compression

Sorry to bumpt his thread but...

Missing an entry:
zstd=1 or 0 in the documentation.

@scriptkitty Can you add this?
because at this moment only the backup_gzip optionis mentioned in there.

On the other hand @smtalk why are 2 setting needed for the same thing? Why is there a zstd=1 when backup_gzip=2 gives the same choice?
 
UPDATED:
The correct is zstd off=0 on=1
My understanding was 0 is for no zstd at all and 1 is for email only.

The backup_gzip controls the backup part

backup_gzip​

backup_gzip=1


Option which controls what file type a backup archive will be (i.e., what type of compression will be used).

ValueComment
0.tar file will be created as a backup
1.tar.gz file will be created as a backup
2.zstd file will be created as a backup

the email part is controlled here

Email compression is here

Customizing Dovecot | Directadmin Docs

You are right I don't see it in the documentation..
 
Last edited:
Thank you. That only leaves the mentioning of the explanation of zstd in the docs to complete things.
 
I am facing some problem with zst backup files. I cannot see the content of the zst file when i open or extract using 7zip,
The file size is very high, approx 300mb, but extract or browse via 7zip shows nothing but only themes folder of wordpress and a single font file.
What could be wrong?
 
Hello,

I have tried both
Code:
backup_gzip=0
and
Code:
backup_gzip=2
with
Code:
zstd=1
, however DirectAdmin still uses gzip to compress backups. How to fix this behavior? Thanks!

P.S. I am using /evo/admin/system-backup/basic
 
To enable zstd backups the options should read:
backup_gzip=2
and
zstd=1
to work correctly.

Don't forget to restart the directadmin service after making these changes to the directadmin.conf file.

Also be sure that zstd is installed.
By default it uses the /usr/bin/zstdmt location. If that is different on your OS, then you can change the path via this setting in the directadmin.conf file:
zstd_bin=/usr/bin/zstdmt
change to the correct path if your OS uses another path.

Next to that... I'm not sure if system backups also will use zstd. It might be possible this is only for admin, reseller and account backups. I haven't tried this yet on system backups, so I can't say anything for sure about that.
 
To enable zstd backups the options should read:
backup_gzip=2
and
zstd=1
to work correctly.

Don't forget to restart the directadmin service after making these changes to the directadmin.conf file.

Also be sure that zstd is installed.
By default it uses the /usr/bin/zstdmt location. If that is different on your OS, then you can change the path via this setting in the directadmin.conf file:
zstd_bin=/usr/bin/zstdmt
change to the correct path if your OS uses another path.
Yeah, I already did all that.

Next to that... I'm not sure if system backups also will use zstd. It might be possible this is only for admin, reseller and account backups. I haven't tried this yet on system backups, so I can't say anything for sure about that.
Yes, it looks like system backups are not influenced with backup_gzip setting. Using /evo/admin/backups/scheduled solved this issue, thanks!
 
Back
Top