this post was submitted on 06 Feb 2024
127 points (94.4% liked)

Ask Lemmy

26980 readers
1263 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] neidu2@feddit.nl 16 points 9 months ago* (last edited 9 months ago) (2 children)

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_@lemmy.world 4 points 9 months ago

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

[–] droning_in_my_ears@lemmy.world 1 points 9 months ago (1 children)

I don't know. Maybe. I don't know much about how either works. I got my info from this answer

[–] moonpiedumplings@programming.dev 1 points 9 months ago* (last edited 9 months ago) (1 children)

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@lemmy.world 1 points 9 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.