#Tar

Bradley M. Kühnbkuhn@copyleft.org
2025-12-29

Since 1993, I have favored #cpio archives for my personal data over #tar. When I used #Unix SYSVR3.2.3 on an AT&T 3B2/600, tar was buggy, and didn't preserve as much file details as cpio.

I was archiving up some old backup incrementals for posterity, and decided to just change to tar. It's gotta be the case that these 33 years later, & a dozen reimplementations of both tar & cpio, that tar is the better choice, no?

(I am using the #GNU versions of tar & cpio now, of course).

#Linux

aparatorulaparatorul
2025-12-25

Sfântul Chiril al Alexandriei: De gheenă să te temi și în împărăția cea de sus să te sârguiești a intra Vai mie, că am întinat casa Ta, Doamne, și Duhul Sfânt al Tău L-am scârbit. Dumnezeule, drepte sunt lucrurile și judecățile Tale! 👉 c.aparatorul.md/axtey 👈 ...
c.aparatorul.md/axtey

aparatorulaparatorul
2025-12-25

Sfântul Chiril al Alexandriei: De gheenă să te temi și în împărăția cea de sus să te sârguiești a intra Vai mie, că am întinat casa Ta, Doamne, și Duhul Sfânt al Tău L-am scârbit. Dumnezeule, drepte sunt lucrurile și judecățile Tale! 👉 c.aparatorul.md/6wuz1 👈 ...
c.aparatorul.md/6wuz1

2025-12-23

It's a *.tar.xz file, jxvf, Zxvf? Ahh, it's Jxvf.

2025-12-16

#itchio #devlog

in which I use #tar like it says on the cereal box to distribute a knowledgebase (the knowledge is how the #softwareIndividuals can put a message in emacs' minibuffer).

lispy-gopher-show.itch.io/leon

It is a little far from gamedev as such, but you can imagine that if you are playing dwarf fortress, getting the message that your master engraver has been struck by a fey mood put on your screen when it happens is an important feature for your fortress to keep you in the loop.

emacs slime repl partial screenshot of my leonardo system software individual using a downloaded knowledge archive.

ses.006) loadk announcer
Load-ef: announcer at ../../../demus/Time-announcement/announcer.leo

ses.007) (get announcer contents)
  => <announcer announce>

ses.008) tmsg
t

ses.009) tmsg
t

and the minibuffer shows
quarter to 21 o'clock, Dec 16, 2025.
2025-12-14

I found countless amounts of #rusted #iron pieces scattered all through the forest & there was lots on the beach below too. I thought it was bark at first but when I picked some up - found out it's iron & not from trees.

We were bummed to see this frozen #BlackTar pool, it was the largest one - amongst many smaller #TarPools & #tar puddles. You could smell the yucky #toxic scent before seeing them.

#VanIsle #AbandonedPlaces #ruins #Quatsino #PacificNorthwest #RoadTrips #PNW #ExploreMore #Backroads #OutdoorAdventures #BCMiningHistory #SilentSunday #InterestingPlaces #historical #rust #AbandonedMines #abandoned #IndustrialPollution #Environmental

My hand holding a large piece of weathered, jagged, dark brown rusted iron - textured with cracks and small holes, with a small twig across. My hand is wearing a blue, pink, and purple knitted fingerless glove, with a blurred natural forest floor background.A black tar pond partially covered in thin ice surrounded by trees, ferns, and forest foliage. The tar pond has a dark surface with small particles throughout and a clear icy layer forming around the edges.
KipJayChou :antiverified:admin@mstdn.feddit.social
2025-12-13

刚刚试着完成了Mastodon的备份 :neofinder:
参考了蜗牛哥的 eallion.com/mastodon-backup ,以及GPT的指示
了解了备份的基本流程,接下来就是变成脚本然后设置为定时任务

先配置rclone链接到Backblaze b2
rclone config
图方便就把Application Keys删了,重新生成了Master Application Key

Rclone除了协议、account、key意外都不需要什么额外的配置
~/.config/rclone/rclone.conf
[b2]
type = b2
account = $keyID$
key = $applicationKey$

rclone lsd b2:
查看buckt确认无误

基本备份流程:
备份 一些目录/文件 + 一个数据库 → 打包成带时间戳的 tar.gz → 用 rclone 传到多个云 → 清理本地

我需要备份的文件有:
compose.yaml
Dockerfile
.env.production
docker-compose.override.yml
mastodon.dump(数据库)

docker exec mastodon_dev_db \
pg_dump -Fc -U postgres postgres > mastodon.dump

我需要备份的目录有:
/home/jay/docker/social/mastodon/main/overrides

不需要备份的目录:
/home/jay/docker/social/mastodon/main/public(我的文件都在R2,本地无文件)
/home/jay/docker/social/mastodon/main/elasticsearch(索引可以重建)
/home/jay/docker/social/mastodon/main/redis (不是权威数据源)

接下来上传到backblaze
ts=$(date +"%Y%m%d-%H%M%S") (打上时间戳)
tar -czf mastodon-dev-backup-${ts}.tar.gz \
compose.yaml \
Dockerfile \
.env.production \
docker-compose.override.yml \
mastodon.dump \
overrides
(打包为tar.gz)

rclone copy mastodon-dev-backup-${ts}.tar.gz b2:Hostdzire-SFO-Backup/ (上传到Backblaz的Hostdzire-SFO-Backup桶下)

验证上传:
rclone ls b2:Hostdzire-SFO-Backup | tail(输出文件)

删掉临时文件和本地备份:
rm -f mastodon.dump
rm -f mastodon-dev-backup-${ts}.tar.gz

#b2 #backblaze #rclone #backup #备份 #docker #tar #打包 #mastodon

backblaze b2
2025-12-06

10k run today to celebrate the 108/10 years of independence of Finland.

The artillery fired ten times this morning at the Castle Island (Linnansaari) near city centre. To the surprise of tourists and those recently moved in the city.

Behind the artillery men in the photo the Oulu river delta and the Island of Pitch (Pikisaari). The city was a major hub of tar trade in the age of wooden sail ships.

Pitch is material made by distilling tar. It was used to treat the outside of wooden ships to protect them from sea water and creatures. Long time ago, before the independence, Englishmen came and burned the tar warehouses down due to some stupid war. Too bad they had already paid for the tar to be delivered to them…

☁️ 1°C no snow unfortunately.

#independenceday #finland #running #tar

Artillery men waiting for the command to fire to celebrate the Independence Day of Finland today December 6th. Men have white camouflage overcoats. Birch trees in the foreground.
2025-12-05

Archivierung und Kompression mit tar: Grundlagen, Optionen und Beispiele

tar (Tape Archiver) ist das Standard-Archivierungswerkzeug unter Linux, das mehrere Dateien und Ordner zu einem einzigen Archiv bündelt. Im Gegensatz zu gzip, bzip2 und xz komprimiert tar nicht selbst, sondern arbeitet mit Kompressionstools zusammen (z, j, J). Es erhält vollständige Metadaten inklusive Berechtigungen und SELinux-Kontexte. Wichtige Optionen von tar -c (create) : Erstellt ein neues Archiv. -f (file name). : Gibt den Dateinamen des Archivs an. # Einen Ordner […]

andreas-moor.de/archivierung-u

2025-12-05

Kompression mit zip: Grundlagen, Optionen und Beispiele

zip ist das universellste Archivierungs- und Kompressionswerkzeug, das unter Linux, Windows und macOS funktioniert. Es kombiniert Archivierung und Kompression in einem Schritt und kann Ordner direkt verarbeiten – im Gegensatz zu gzip, bzip2 und xz. Ideal für plattformübergreifenden Dateiaustausch. Wichtige Optionen von zip -r : Rekursiv: Komprimiert Ordner und alle Unterordner (einzigartig bei zip). zip -r backup.zip ordner/ -d oder unzip : Entpackt eine .zip-Datei. unzip ist ein […]

andreas-moor.de/kompression-mi

2025-12-05

Kompression mit bzip2 Linux: Grundlagen, Optionen und Beispiele

bzip2 ist ein leistungsstarkes Kompressionswerkzeug unter Linux, das den Burrows-Wheeler-Algorithmus nutzt. Es erreicht eine deutlich bessere Kompressionsrate als gzip, benötigt dafür aber mehr Rechenzeit. Ideal für Speicherplatz-kritische Szenarien wie große Textdateien oder Logs. Wichtige Optionen von bzip2 -k : Originaldatei nach Kompression behalten. Standardmäßig wird die Eingabedatei gelöscht. bzip2 -k datei.txt -d oder bunzip2 (Alias) : Dekomprimiert eine .bz2-Datei. bunzip2 […]

andreas-moor.de/kompression-mi

2025-12-05

Kompression mit gzip: Grundlagen, Optionen und Beispiele

gzip ist eines der meistgenutzten Kompressionswerkzeuge unter Linux, das einzelne Dateien mit dem schnellen DEFLATE-Algorithmus komprimiert. Es ist besonders nützlich für alltägliche Kompressionsaufgaben, bei denen Geschwindigkeit wichtiger ist als maximale Speicherersparnis. Wichtige Optionen von gzip -k : Originaldatei nach Kompression behalten. Standardmäßig entfernt gzip die Eingabedatei nach Kompression. gzip -k datei.txt -d oder gunzip (Alias): Dekomprimiert eine .gz-Datei. […]

andreas-moor.de/kompression-mi

2025-12-05

Vergleich von Archivierung und Kompression unter Linux: tar/star, gzip, bzip2, xz und zip

Archivierungs- und Kompressionstechniken sind wichtige Werkzeuge, um Dateien und Verzeichnisse unter Linux effizient zu speichern. Dabei unterscheidet man zwischen der Archivierung, bei der mehrere Dateien zu einer Einheit gebündelt werden, und der Kompression, bei der die Datenmenge verkleinert wird. Archivierung und Kompression: tar als Pflicht für Ordner tar ist das Standardwerkzeug für die Archivierung von Ordnern unter Linux. Es bündelt Dateien und Verzeichnisse in einem Archiv, […]

andreas-moor.de/vergleich-von-

2025-12-02

Anyone know why the parameter for the file where verbose output is written to for the #gnu #TAR utility is called "--index-file"?

Even with "--verbose --index-file=test.idx --block-number" it doesn't create a proper tar index file.

How exactly is this intended to be used?!?

#Linux

2025-12-01

به نظرتون خطر نزدیکه؟
🤦🏻‍♂️⚠️
از دست این مایلو امنیت نداریم!

#cat #cats #catofmastodon #katze #catstodon #CatsOfFediverse #CatsOfMastodon #catsofPixelFed #catlovers #meow #گربه
#گوربه #tar

Sir Milo the Cat & the Tar(persian music instrument)
2025-11-29

There's something a bit funny about Tar on Windows, when ran from a Github worker.

When I run it locally with the -acvf flags, I get a zip archive that the Windows shell can open, no problem.

When I use the same arguments from a GitHub worker, I get a Windows error when opening saying there's something wrong with the archive.

7Zip still opens it fine, so it's not broken, the archive explorer in Windows shell doesn't like it.

#tar #zip #github #windows

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst