Convert XZ to SQL
Turn XZ archives into SQL. The xz layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XZ files on the dialor turn it to pick what to do
A SQL script from an XZ file.The xz layer comes off and the SQL inside is written as it was.
What you get
One SQL file. The conversion removes the xz compression and writes the bytes inside exactly as they were, so the statements in your dump are the ones you get back.
Any SQL tool can read the result or replay it.
What it expects
Ask for the format you know is inside. If the XZ file holds something other than SQL, the conversion refuses it. It stops with
unsupported_elementswhen the file holds something the target cannot carry.A file that cannot be parsed as XZ stops with
input_corrupted.Options and related pages
This conversion has no options. There is nothing to set before you convert.
To go the other way, use SQL to XZ. For other archive conversions, see every XZ conversion.
XZ and SQL.What each format is.
The formats
XZ
A single file compressed with xz, the LZMA format of most Linux distributions.
- Extensions
- .xz
- MIME type
- application
/x -xz - Kind
- Archives
SQL Script
SQL statements as text. A database dump that any SQL tool can read or replay.
- Extensions
- .sql
- MIME type
- application
/sql - Kind
- Text and data
In your code.The same XZ to SQL conversion through the API, for your app or your agent.
$ cv convert archive.xz archive.sql$ cv convert archive.xz archive.sqlQuestions.What people ask about XZ to SQL.
No. The xz layer is removed and the bytes inside are written as they were.
The conversion is refused. Ask for the format you know is inside the file.
The file could not be parsed. The conversion stops with input_corrupted when that happens.
One file. The output is a single SQL file.