Add Backup Script

This commit is contained in:
Leon Grünewald 2022-12-20 14:26:58 +01:00
parent 1a4f0fbf24
commit 98033d9a8b

34
tools/backup.sh Executable file
View file

@ -0,0 +1,34 @@
#!/usr/bin/env bash
restic backup -r /run/media/dhalucario/Backup/Backups/LeonPC \
-e .cache \
-e .cargo \
-e .composer \
-e .config/discord \
-e .config/discordcanary \
-e .local \
-e .rustup \
-e .steam \
-e .tmp \
-e .wine \
-e /afs \
-e /bin \
-e /dev \
-e /docker \
-e /lib \
-e /lib64 \
-e /lost+found \
-e /media \
-e /mnt \
-e /opt \
-e /proc \
-e /root \
-e /run \
-e /sbin \
-e /sys \
-e /tmp \
-e /usr \
-e Cache \
-e Games \
-e cache \
/