Update README.md

This commit is contained in:
Dave Conroy
2020-04-22 05:36:03 -07:00
parent f8bab5f045
commit 6113bf64b2
2 changed files with 5 additions and 3 deletions

View File

@@ -137,10 +137,10 @@ $ cat post-script.sh
## $7=FILESIZE (Filesize of backup)
## $8=MD5_RESULT (MD5Sum if enabled)
echo "${1} Backup Completed on ${2} for ${3} on ${4} ${5}. Filename: ${5} Size: ${6} MD5: ${7}"
echo "${1} Backup Completed on ${2} for ${3} on ${4} ${5}. Filename: ${6} Size: ${7} bytes MD5: ${8}"
````
Outputs the following on the console:
`mysql Backup Completed on example-db for example on 2020-04-22 05:19:10. Filename: mysql_example_example-db_20200422-051910.sql.bz2 Size: 7795 bytes MD5: 952fbaafa30437494fdf3989a662cd40`
If you wish to change the size value from bytes to megabytes set environment variable `SIZE_VALUE=megabytes`
If you wish to change the size value from bytes to megabytes set environment variable `SIZE_VALUE=megabytes`