mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#rsync

3 posts3 participants0 posts today

My media storage is using #BTRFS. And there is not that much movement here. Sometimes I add 2 or 3 things, sometimes I remove 2 or 3 things. But from time to time, #rsnapshot (so #rsync) decides that the whole set of files has changed and should be copied from scratch. This also happens on the "application" storage (still using BTRFS) where things only change when I update applications.

Source and destination storage all being different, I don't expect the media to be faulty. So I wonder if BTRFS doesn't do backend stuff (self-healing, defrag, etc) that fools rsync into thinking the content has changed. 🤔

🏠 Homelab Backup Evolution! 🏠

Following the "3-2-1 is the minimum" rule, I've expanded my VPS container backup strategy:

✅ Hetzner Cloud (Borg) → Offsite long-term storage
✅ Synology NAS (rsync) → Local fast recovery

The new setup does nightly automated syncs of all /opt/containers/ data to my Synology - with deduplication and all the bells and whistles! 📦

Particularly clever: hardlinks for space-efficient snapshots and morning email reports. Now I know right with my coffee ☕ whether all backups ran cleanly.

Lesson learned: Cloud-only is good, but having a local NAS mirror for quick restores is pure gold! 💪

How do you solve this in your setups? Also multi-tier or everything to cloud?

Just spent some hours writing down an #ansible playbook to deploy a custom image of #docker-volume-backup, properly built by my (self-hosted) #gitlab_ci , to backup the three persistent volumes required by my (self-hosted) #passbolt instance, sending the backup to a remote #rsync server, where underlying #zfs will take care to snapshot and keep safely.

Bonus: during backup, required containers are stopped, and started afterwords.

...and (incredibly/amazingly!) it worked!

Time to relax :-)

Replied in thread

@343max Ich nutze für fast alles dieses RSync Skript. Die Dateien liegen klar im Backup Ziel und mehrere Versionen werden beibehalten. Auch nett, um mal schnell ein Backup auf einer externen Festplatte zu machen. Was hilft das tollste Backup, wenn man nix wieder raus bekommt. Unter macOS allerdings mit Homebrew "rsync" installieren, weil Apple da letztens was vermurkst hat. Verschlüsseln kann es allerdings nicht.

github.com/laurent22/rsync-tim

Как я делаю бекапы домашней системы Linux: простой пример инкрементального rsync + btrfs с zstd сжатием

Статья покажет простой rsync скрипт для инкрементального бекапа (с использованием хардлинков из предыдущего бекапа) и про использование btrfs сжатия в zstd.

habr.com/ru/articles/929182/

ХабрКак я делаю бекапы домашней системы Linux: простой пример инкрементального rsync + btrfs с zstd сжатиемБекапы делать важно - пожалуйста делайте бекапы, иначе потеряете данные. Многие люди уже потеряли данные, а вы будьте умнее. Мой скрипт : # Start this script from the git folder of this script # This...
#rsync#btrfs#zstd
Replied in thread

@freya shit like this is why I mandate that all #Software Packages for @OS1337 be statically compiled, because I'm not gonna bother dealing with #dependencies and if a program can't be shipped as a tarball to unpack & drop in then maybe it shouldn't exist on OS/1337

OS/1337 Package Repository. Contribute to OS-1337/pkgs development by creating an account on GitHub.
GitHubGitHub - OS-1337/pkgs: OS/1337 Package RepositoryOS/1337 Package Repository. Contribute to OS-1337/pkgs development by creating an account on GitHub.

Mal eine Frage an Leute, die ihr Linux an mehreren PCs bzw PC und Laptop nutzen:

Synct ihr Eure dotfiles also was sich so unter /home/user/. befindet?

Falls ja, wie?

Manchmal ärgere ich mich, wenn ich zum Beispiel in der Konsole auf A einen Befehl habe, aber auf System B nicht und ich kann mich daran dann auch nicht mehr erinnern, weil ich eigentlich sehr viel mit Pfeil-nach-oben arbeite.

Oder alleine schon aliasse oder Hyprland settings syncen usw - sowas fehlt mir irgendwie und ich überlege das die Files per sync auf nen lokalen Server zu pushen und ggfs abzuholen

#linux #sync #rsync #dotfiles #desktopenvironment #hyprland

Replied in thread

@effken_von_nebenan @rootsandcalluses

Gute Option mal aufzuräumen ;)

Für #Linux gibt es super viele Tools zum #Backups machen. #Freefilesync ist super simpel, #rsync ist das Äquivalent über die Kommandozeile. Finde ich am einfachsten weil man einfach Dateien kopiert anstatt irgendwelche Backup-Archive zu machen, die man dann nur mit dem Programm lesen kann.

Bei #Windows auch mal im Appdata Ordner schauen, Browserprofil oder so. Ansonsten #Firefox account oder datenexport