1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 12:58:35 -06:00

new: Backup Caddyfile

This commit is contained in:
Sayantan Santra 2023-09-10 20:09:28 -05:00
parent b02f065be7
commit a7b49e8330
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -34,8 +34,8 @@ echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up SearXNG config..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/searxng/searxng/" "$BKDIR/Programs/Docker/searxng-config/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $(date) "| Backing up Caddyfile..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
rsync -aAXH --delete --stats "$HMDIR/Docker/caddy/Caddyfile" "$BKDIR/Programs/Docker/Caddyfile" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"