mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
new: Backup ryot postgres storage
This commit is contained in:
parent
ee5d584b1c
commit
fc47f61ec3
1 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,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 Caddyfile..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||||
|
rsync -aAXH --delete --stats "$HMDIR/Docker/ryot/postgres_storage/" "$BKDIR/Programs/Docker/ryot_postgres_storage/" | 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 Caddyfile..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
echo $(date) "| Backing up Caddyfile..." | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
||||||
rsync -aAXH --delete --stats "$HMDIR/Docker/cloudflared/config/" "$BKDIR/Programs/Docker/cloudflared-config/" | tee -a "$BKDIR/TempStorage/impfilesbk.log"
|
rsync -aAXH --delete --stats "$HMDIR/Docker/cloudflared/config/" "$BKDIR/Programs/Docker/cloudflared-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"
|
||||||
|
|
Loading…
Reference in a new issue