Convert LZ to SQL

Turn LZ archives into SQL. The lzip layer is removed and the bytes inside are written as they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop LZ files on the dialor turn it to pick what to do

An SQL script, unpacked from lzip.The lzip layer comes off. The SQL inside is written as it was.

  1. What you get

    One SQL file. The conversion removes the lzip compression and writes the bytes inside exactly as they were, so a database dump comes out as the same text any SQL tool can read or replay.

    Nothing is rewritten, reformatted or converted along the way. Only the compression is taken off.

  2. Ask for what is inside

    Choose SQL only when you know the file inside the LZ is SQL. Any other target for the contents is refused.

    If the file holds something the target cannot carry, the conversion stops with unsupported_elements. If the file cannot be parsed, it stops with input_corrupted.

  3. Going back

    To pack a script again, use SQL to LZ. For other conversions, see every LZ conversion.

LZ and SQL.What each format is.

The formats

From · LZ

Lzip

A single file compressed with lzip, an LZMA format built for long-term archiving.

Extensions
.lz
MIME type
application/x-lzip
Kind
Archives
To · SQL

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 LZ to SQL conversion through the API, for your app or your agent.

terminal
$ cv convert archive.lz archive.sql
$ cv convert archive.lz archive.sql

Questions.What people ask about LZ to SQL.

01OF 04

No. The bytes inside are written as they were. Only the lzip compression is taken off.

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 in that case.

No. This conversion has no options, and it gives you one file.

More conversions.Other ways in and out of LZ and SQL.