Updated backup-fun excludes

This commit is contained in:
Eric Renfro 2024-11-04 19:48:58 -05:00
parent c9779a8b3f
commit 85278c4c27
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -67,19 +67,24 @@ function backup-home() {
mkdir -p "${target}/${archive}/${hostname}" mkdir -p "${target}/${archive}/${hostname}"
pushd /home &>/dev/null pushd /home &>/dev/null
tar --exclude=psi-jack/.local/share/Steam \ tar \
--exclude=psi-jack/.local/share/Trash \
--exclude=psi-jack/.local/share/Steam \
--exclude=psi-jack/.local/share/bottles \ --exclude=psi-jack/.local/share/bottles \
--exclude=psi-jack/.local/share/lutris \ --exclude=psi-jack/.local/share/lutris \
--exclude=psi-jack/Games \
--exclude=psi-jack/Downloads \ --exclude=psi-jack/Downloads \
--exclude=psi-jack/Games \
--exclude=psi-jack/"GOG Games" \ --exclude=psi-jack/"GOG Games" \
--exclude=psi-jack/ISO \ --exclude=psi-jack/ISO \
--exclude=psi-jack/Libation \
--exclude=psi-jack/Music \ --exclude=psi-jack/Music \
--exclude=psi-jack/Vaults \ --exclude=psi-jack/Vaults \
--exclude=psi-jack/tmp \ --exclude=psi-jack/tmp \
--exclude=psi-jack/.alchemynext/cache
--exclude=psi-jack/.cache \ --exclude=psi-jack/.cache \
--exclude=psi-jack/.firestorm_x64/cache \ --exclude=psi-jack/.firestorm_x64/cache \
--exclude=psi-jack/.thunderbird \ --exclude=psi-jack/.thunderbird \
--exclude=psi-jack/.steam \
--exclude=psi-jack/.var \ --exclude=psi-jack/.var \
-cvvf "${target}/${archive}/${hostname}/${hostname}-${date}_home.tar" \ -cvvf "${target}/${archive}/${hostname}/${hostname}-${date}_home.tar" \
psi-jack psi-jack