GithubHelp home page GithubHelp logo

Comments (5)

barsk avatar barsk commented on September 26, 2024

+1 on this feature request. The current support for ZIP export is nice but to complete the cycle a way to import zip archives would be a great improvement. Gzip is not a container as ZIP is so it should be much easier to implement I think. At least it is really easy in Java, hopefully in Delphi as well.

from heidisql.

ansgarbecker avatar ansgarbecker commented on September 26, 2024

No, ZIP is easier to implement in Delphi, as there is a native wrapper for that, even with large file support. Perhaps because ZIP is more spread in the Windows world, and Delphi's tradition is also Windows. Saving GZ files requires some 3rd party library.

from heidisql.

barsk avatar barsk commented on September 26, 2024

I can live fine with ZIP import! :)

from heidisql.

ansgarbecker avatar ansgarbecker commented on September 26, 2024

Everything I find for Delphi is a GZ decompressor which does everything in memory, which may be ok for small files, but not for large database backups.

To my surprise I just found my Windows 11 has a tar.exe available on the command line. Unfortunately, this version seems not to be able to decompress my gzipped .sql file:

PS C:\backups> tar -xvzf database.sql.gz
tar.exe: Error opening archive: Unrecognized archive format

Same error with bsdtar.
So I tend to think using a separate 7-zip installed by the user may be a good idea.

from heidisql.

Dwza avatar Dwza commented on September 26, 2024

I mean this could be a dependance... the option is deactivated, if you try to activate it, it should try to search for 7-zip. If not installed msgbox or such thing.

from heidisql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.