mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 13:18:35 -06:00
Add backup for photoprism index
This commit is contained in:
parent
e06f6ecc93
commit
e6c0713c56
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ echo $'\n'`date` "| Done!" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
|
||||||
echo "----------" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
echo "----------" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
|
||||||
|
echo `date` "| Backing up PhotoPrism index..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
rsync -aAXH --delete --stats $HMDIR/PhotoPrism/storage/index-backup.sql $BKDIR/Programs/photoprism-backup.sql | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
echo $'\n'`date` "| Done!" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
|
||||||
|
echo "----------" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
|
||||||
echo `date` "| Backing up Zotero..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
echo `date` "| Backing up Zotero..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
rsync -aAXH --delete --stats $HMDIR/Zotero/ $BKDIR/Zotero/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
rsync -aAXH --delete --stats $HMDIR/Zotero/ $BKDIR/Zotero/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
echo $'\n'`date` "| Done!" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
echo $'\n'`date` "| Done!" | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||||
|
|
Loading…
Reference in a new issue