Hab mein PyHardLinkBackup komplett neu geschrieben. Ursprünglich 2015 gestartet und bis 2020 genutzt, schlief es jetzt fast 6 Jahre...

Aber als ich über alte damit erstellte backups gestolpert bin, hab ich mir gedacht, das Konzept ist doch ganz nützlich.

Also kompletter rewrite: https://github.com/jedie/PyHardLinkBackup

#backup #OpenSource #Python #deduplication #hardlinks

ln – Hard- und Soft-Links erstellen

Warum Links in der Systemadministration nutzen? Du solltest Links kennen, um Speicherplatz effizient zu nutzen, Dateizugriffe zu organisieren und Backups oder Systemwartung zu optimieren, ohne unnötige Duplikate zu erzeugen. Hard-Links eignen sich für identische Dateiinhalte auf demselben Dateisystem (z.B. Logs mit mehreren Zugriffspunkten), Soft-Links für flexible Pfadverweise auch über Dateisystemgrenzen (z.B. Konfigurationsdateien bei Migrationen), Kopien (cp) für unabhängige […]

https://andreas-moor.de/ln-hard-und-soft-links-erstellen/

I'm a dork.
I like #mpv. That's not why I'm a dork, but...

I just compared instances of mpv.conf in my home directory. I checked where each one stored watch_later data. For all the ones that were identical settings, I made them hard links with an extended attribute specifying the watch_later data location.

I know they could have been symlinks, I just think hard links are neat because each one "contains" the data. Also extended attributes!

#HardLinks #ExtendedAttributes #Linux

@patpro
Ouah ! Super intéressants (et poussés) tes posts de blog !

Je n'ai pas encore testés #Restic et #Kopia, j'ai l'a priori que c'est moins mâture et robuste que #Borg (même si ton expérience perso fait douter 😰).

Hélas, je ne sais toujours pas si je dois passer des #hardlinks par #Rsync à #borgbackup...

NB: avec Rsync+Hardlinks on peut aussi avoir de très mauvaises surprises si un inode s'altère...

@jenesaisquoidirehelp
Tu as quitté #borgbackup pour revenir à #Rsync + #hardlinks ?

À cause du KISS ?

@Beurt @bmarne

Ces performances étonnantes de #Borg me font douter du maintient de ma méthode de #backup actuelle (#Rsync + #Hardlinks)...

Ce qui me retient encore de tout passer à Borg c'est le #KISS (Keep It Simple, Stupid) du backup Rsync qui donne tout simplement des fichiers. Donc, on peut pas faire plus compatible et simple d'accès.

Côté Borg, il faut quand même monter avec borg mount ou restorer. Compliqué... S'il y a une cassure techno c'est plus incertain et moins KISS.

🤔Je doute... Et vous ?

#Borg c'est impressionnant !

Je fais mes #backups en #Rsync, avec des #hardlinks.

L'un de mes backups est gigantesque (environ 150To compressés par hardlinks en 5To). Le copier ailleurs est impossible (avec rsync, ce serait des mois, et surtout des To de RAM).

Le backup de ce backup avec #Borg prend moins de 2To et moins de 8 jours (il a cependant fallu découper en plusieurs archives car on dépasse vite le nombre de nodes).

Regret: lors d'une restauration, les hardlinks seront perdus.

Tight on disk space? I use `hadori` to hardlink duplicate system files on my Ubuntu server. It’s safe, fast, and saves hundreds of MB—automated monthly via cron. 🧱🔗 Full blog post: https://amedee.be/?p=1882 #Linux #SysAdmin #Hardlinks

https://amedee.be/%f0%9f%a7%b1-lets-get-hard-links-deduplicating-my-linux-filesystem-with-hadori/

🧱 Let’s Get Hard (Links): Deduplicating My Linux Filesystem with Hadori

File deduplication isn’t just for massive storage arrays or backup systems—it can be a practical tool for personal or server setups too. In this post, I’ll explain how I use hardlinking to reduce disk usage on my Linux system, which directories are safe (and unsafe) to link, why I’m OK with the trade-offs, and how I automated it with a simple monthly cron job using a neat tool called hadori.

🔗 What Is Hardlinking?

In a traditional filesystem, every file has an inode, which is […]

https://amedee.be/%f0%9f%a7%b1-lets-get-hard-links-deduplicating-my-linux-filesystem-with-hadori/

@_RyekDarkener_

Ich habe da 100 Mbit/s mit 1 Gbit/s verwechselt - wohl, weil das alte NAS trotz 1 Gbit-Nic so leistungsschwach ist, dass nie mehr als 5-10 Mbit/s übertragen wurden.

Bei den Daten ist nichts redundant bzw. nur in Form von
#Hardlinks von den mehrstufigen #Backups mit #BackInTime. Viel sind halt auch Medien (Bilder, Musik, Videos/PVR Aufnahmen).