Update backup-bap

pull/476/head
SpudGunMan 2022-10-20 17:44:08 -07:00
rodzic 528a35e147
commit 77c22ae2ce
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -31,6 +31,11 @@ day=$(date +%A)
hostname=$(hostname -s)
archive_file="BAP-Backup-$hostname-$day.tgz"
#make some extra backup notes abnout the repo we have currently
echo -e "\n\nBAP Backup Log for $($BACKUP_PATH/$archive_file)"
echo -e "$(cd pi-build/ && git branch)\n" >> ${HOME}/BAP-backup-log.txt
echo -e "$(git show --pretty=medium | head -7)\n" >> >> ${HOME}/BAP-backup-log.txt
# Print start status message.
echo -e "\nBacking up $backup_files to $BACKUP_PATH/$archive_file \n\n"
date