Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to unpack the contents of a Plesk backup?
Answer
Starting from Plesk Obsidian 18.0.40, GZIP compression used in the Plesk backups has been replaced with ZSTD compression to improve performance for backup and restore operations.
To unpack a TZST archive, follow these steps:
-
Connect to the Plesk server via SSH.
-
Create a directory where the backup is going to be extracted:
# mkdir /root/backup
-
Use the
--use-compress-program pzstd
option to unpack the archive:# tar -xvf /var/lib/psa/dumps/domains/example.com/backup_logs_2111250004_2111290004.tzst -C /root/backup/ --use-compress-program pzstd
Download and install the tzst compatible archive manager and use it to extract the files.
For example:
-
7-zip build with TZST support: https://github.com/mcmilk/7-Zip-zstd/releases/tag/v21.03-v1.5.0-R2
- WinRAR v6.x: https://www.win-rar.com
Comments
7 comments
1) The downloaded files are corrupt and needs to be repaired (e.g. WinRAR). PeaZip only generates errors.
2) The db backup zips use a "unknown" compression method, no ZIP tool (also not PeaZip) understands this format.
Please provide usefull information.
Archive are corrupt even if I open with 7-zip.
https://talk.plesk.com/threads/plesk-backups-corrupt.364715/
I can see from comments that I'm not the only one that find this issue.
Finally I done a full backup of Apache files and database manually with the dubt Plesk backup are bugged and made a broken backups. This can be mean in the case of need of restoring, Plesk backup seems to be corrupted. I never tried to restore but from Windows with 7zip files seems to be corrupted.
Hi Plesk Support team,
Please remove the link to PeaZip, it gives a lot of issues handling the new backup format.
The only way to decompress a ZSTD backup archive on Windows 10/11 is using:
More details: https://talk.plesk.com/threads/plesk-backups-corrupt.364715/post-908493
Thanks,
Maarten
Hi everyone!
Thank you for sharing additional details. We have updated the list of recommended archive managers for Windows.
Somehow this doesn't work on MacOS. Using 'zstd -d' and then 'tar -xvf' does the trick for me.
WinRAR v6.11 works nothing before this version.
Its the only thing in windows that seems to work properly.
I downloaded the file to a linux machine. trying to decompress locally
Please sign in to leave a comment.