mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Write hashes from log out
This commit is contained in:
parent
f7a1ec367e
commit
75eb9c7695
@ -500,6 +500,15 @@ function logs_export {
|
|||||||
echo_stat
|
echo_stat
|
||||||
echo -e $(date) "[${TASKTYPE}]" >> ${LOG_PATH}/${SYNCING_LOG}
|
echo -e $(date) "[${TASKTYPE}]" >> ${LOG_PATH}/${SYNCING_LOG}
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
|
MESSAGE="Saving File Hashes"
|
||||||
|
echo_stat
|
||||||
|
rm -f backup/gravity-sync.md5
|
||||||
|
echo -e ${primaryDBMD5} >> backup/gravity-sync.md5
|
||||||
|
echo -e ${secondDBMD5} >> backup/gravity-sync.md5
|
||||||
|
echo -e ${primaryCLMD5} >> backup/gravity-sync.md5
|
||||||
|
echo -e ${secondCLMD5} >> backup/gravity-sync.md5
|
||||||
|
error_validate
|
||||||
}
|
}
|
||||||
|
|
||||||
### Output Sync Logs
|
### Output Sync Logs
|
||||||
|
Loading…
Reference in New Issue
Block a user