1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 21:18:36 -06:00

Add backup for photoprism index

This commit is contained in:
Sayantan Santra 2022-07-20 18:31:02 -05:00
parent e06f6ecc93
commit e6c0713c56

View file

@ -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