• @[email protected]
    link
    fedilink
    16
    edit-2
    8 months ago

    Tar is just concatenated data so that an entire file structure can be written to tape. This means that your archive is recoverable provided that it gunzips fine.

    I’ve used tar.gz for decades, and never had any dataloss because of it. Honestly, I think your issue is down to operator error, I’m afraid.

    • @RememberTheApollo_
      link
      48 months ago

      In case it isn’t obvious to readers, “tar” is literally shortened from “Tape ARchive”.

      • @[email protected]
        link
        fedilink
        1
        edit-2
        8 months ago

        This seems to be correct.

        But a downside of this is that zip archives will be larger, possibly much larger, since there is no compression across files.

        The actual lesson you should have learned was to use backups. If data isn’t backed up then you might as well pretend you don’t have it.

        • @droning_in_my_ears
          link
          18 months ago

          This archive was a backup :/ I was trying to restore the original after making some bad changes.

          The actual actual lesson I should have learned is wait for the full archive backup to extract successfully before deleting the original and declaring the restoration done.

          Still I will always have a (maybe irrational) fear of tar.gz now.