Fix backup for arr apps

This commit is contained in:
Sayantan Santra 2022-12-14 18:04:26 -06:00
parent db2832f4c2
commit 6813711170
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,9 @@ echo $'\n'`date` "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo `date` "| Backing up Sonarr index..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/sonarr+prowlarr+bazarr/config_sonarr/Backups/" "$BKDIR/Programs/Docker/sonarr-backups/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo `date` "| Backing up arr index..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/arr/config_sonarr/Backups/" "$BKDIR/Programs/Docker/arr-backups/sonarr/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/arr/config_prowlarr/Backups/" "$BKDIR/Programs/Docker/arr-backups/prowlarr/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $'\n'`date` "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"