icon by mikifluffs!
she/they, 1993, WA. Ask me about card games!

warning: I reblog 18+ content here. filter it if you want.


things that tar, the standard unix tape archive utility, does not do:

  • detect the start or end of a continuous data stream (such as one being read from tape)
  • add redundancy or error correction (such as you would use when archiving files)
  • skip over corrupted blocks of data (instead it just gives up at the first sign of difficulty)

things tar does:

  • puts a bunch of files into one big file and remembers their original filenames for you (you could do this trivially with like 10 lines of code in the scripting tool of your choice)
  • compresses files, wait no I lied it actually just uses external utilities to do this anyway, which you could trivially just do yourself with this amazing tool called "piping"

You must log in to comment.

in reply to @nycki's post:

Reminds me of an early job, when we couldn't restore our database backups. We got on a call with the database vendor, and after hours of arguing with the tech insisting that there was nothing wrong, I started inspecting the actual backups, and - mostly talking to myself in astonishment - I said "the backup is just a tar file?" The line went silent for a minute or two, and the tech finally asked "...who told you that?"

Turned out that they released a restore script that changed the un-tar parameters to something incorrect.

Anyway, nothing to do with your issues, but you already figured those out, so it would've been a waste of time to suggest that.