1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-04-19 17:20:00 -05:00

Compare commits

...

2 commits

2 changed files with 7 additions and 1 deletions

View file

@ -54,7 +54,7 @@ echo $'\n'$(date) "| Done!" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo "--------------------------------------------------" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up some dotfiles..." | tee -a "$LGDIR/TempStorage/impfilesbk.log" echo $(date) "| Backing up some dotfiles..." | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats --quiet --no-links --exclude={'*cache*','*Cache*','*autosave*','chromium','Code','Code - OSS','discord','vivaldi','Ferdium/Partitions'} \ rsync -aAXH --delete --stats --quiet --no-links --exclude={'*cache*','*Cache*','*autosave*','Signal','chromium','Code','Code - OSS','discord','vivaldi','Ferdium/Partitions'} \
--delete-excluded "$HMDIR/.config/" "$BKDIR_HDD/dotfiles/[dot]config/" | tee -a "$LGDIR/TempStorage/impfilesbk.log" --delete-excluded "$HMDIR/.config/" "$BKDIR_HDD/dotfiles/[dot]config/" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/.profile" "$BKDIR_HDD/dotfiles/[dot]profile" | tee -a "$LGDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$HMDIR/.profile" "$BKDIR_HDD/dotfiles/[dot]profile" | tee -a "$LGDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/.bashrc" "$BKDIR_HDD/dotfiles/[dot]bashrc" | tee -a "$LGDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$HMDIR/.bashrc" "$BKDIR_HDD/dotfiles/[dot]bashrc" | tee -a "$LGDIR/TempStorage/impfilesbk.log"

View file

@ -54,6 +54,12 @@ echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log" echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up Navidrome db..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/navidrome/data/navidrome.db" "$BKDIR/Programs/Docker/navidrome.db" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up Jellyfin config..." | tee -a "$BKDIR/TempStorage/impfilesbk.log" echo $(date) "| Backing up Jellyfin config..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/jellyfin/config/" "$BKDIR/Programs/Docker/jellyfin-config/" | tee -a "$BKDIR/TempStorage/impfilesbk.log" rsync -aAXH --delete --stats "$HMDIR/Docker/jellyfin/config/" "$BKDIR/Programs/Docker/jellyfin-config/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log" echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"