this post was submitted on 07 Aug 2024
23 points (96.0% liked)

de_EDV

392 readers
6 users here now

Ableger von c/de_EDV auf feddit.org, welches wiederum ein Ableger von r/de_EDV auf feddit.de ist.

News, Diskussionen und Hilfestellung zu Hard- und Software

Diese Community dient als Anlaufstelle für alle IT-Interessierten, egal ob Profi oder blutiger Anfänger. Stellt eure Fragen und tauscht euch aus!

Ich würde das auf Anfrage jetzt erst mal hier eröffnen und schauen was sich tut.

founded 2 months ago
MODERATORS
 

Automaisiert? Mit zusätzlicher Software? Manuell? Auf einen Heimserver? Cloud?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 month ago
rsync -av --delete \
        "/" \
        --info=progress2 \
        --stats \
        --link-dest "${LATEST_LINK}" \
        --exclude=/{backups,dev,proc,sys,tmp,run,mnt,media,lost+found,var/{cache,log,lib/{libvirt/images,dhcpcd}},home/*/{.cache,.local/share/Trash,.cargo,games,pi,nextcloud,data}} \
        "${BACKUP_PATH}"

Das mit ein bisschen Skript drumherum, als systemd service, mit systemd timer und einem cleanup script in ExecStartPre. Das gleiche dann noch mal aber mit einem server als ziel, der physisch daneben steht. Das ganze dann verpackt, verschlüsselt und in GDrive und Hetzner.