mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 13:18:35 -06:00
Improved logging
This commit is contained in:
parent
e6c0713c56
commit
fd1d98f80f
1 changed files with 5 additions and 5 deletions
10
impfilesbk
10
impfilesbk
|
@ -10,31 +10,31 @@ echo `date` "| Backing up Documents..." | tee -a $HMDIR/TempStorage/impfilesbk.l
|
|||
rsync -aAXH --delete --stats $HMDIR/Documents/ $BKDIR/Documents/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
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 Academics..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
rsync -aAXH --delete --stats $HMDIR/Academics/ $BKDIR/Academics/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
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 Pictures..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
rsync -aAXH --delete --stats $HMDIR/Pictures/ $BKDIR/Pictures/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
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 "--------------------------------------------------" | 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
|
||||
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 some config files and stuff..." | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
rsync -aAXH --delete --stats $HMDIR/.config/ $BKDIR/config/[dot]config/ | tee -a $HMDIR/TempStorage/impfilesbk.log
|
||||
|
|
Loading…
Reference in a new issue