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
4 comments
How about for Mac users? There's no input given here to do this on MacOS.
The directions above are wrong, at least for windows 10 - 11. What you need to do is:
1) Download zstd (who thought of that name???) https://github.com/libarchive/libarchive/releases
2) Place zstd.exe from archive above inside the same directory where your .tzst - tzstxxx files are
3) Open a command prompt of windows and cd to that directory
4) merge the files if you have more than one. To do this you need to run:
copy /b/y backup_xxxxxx_xxxxxx.tzst + backup_xxxxxx_xxxxxx.tzst1 + backup_xxxxxx_xxxxxx.tzst2 + backup_xxxxxx_xxxxxx.tzstxxx finalbackupfile.tzst
5) Run tar -xvf backup_xxxxxx_xxxxxx.tzst
Thats it, your files will exctract at the same directory
Christian User
Try Keka : https://www.keka.io/
Christian User
You can use brew to install zstd
and then run
This gives you a native tar file which you can extract by running
Please sign in to leave a comment.