mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
new: Backup Caddyfile
This commit is contained in:
parent
b02f065be7
commit
a7b49e8330
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ 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 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/searxng/searxng/" "$BKDIR/Programs/Docker/searxng-config/" | 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 $'\n'$(date) "| Done!" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||||
|
|
||||||
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
echo "--------------------------------------------------" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||||
|
|
Loading…
Reference in a new issue