Add Backup Script
This commit is contained in:
parent
1a4f0fbf24
commit
98033d9a8b
1 changed files with 34 additions and 0 deletions
34
tools/backup.sh
Executable file
34
tools/backup.sh
Executable 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 \
|
||||||
|
/
|
Loading…
Reference in a new issue