Script can run only once a day
Closed this issue · 4 comments
hirbod commented
Because of the filename. I added
date=$(date +%F-%H_%M_%S)
instead of single %F, to be able running more backups a day (without overwriting the file everytime)
Would that be fine for you to change that?
samwilson commented
This makes sense, and wouldn't interfere with people still only running it once a day (I think).
VEINHORN commented
@quickshiftin @hirbod @samwilson I have sent pull request #15. So now you can put DATE_FORMAT
property to the mysqlbkup.config
and specify date format what you like.
For example:
DATE_FORMAT=+%F_%H:%M:%S
Or just use default +%F
format.
quickshiftin commented
Thanks @VEINHORN , I saw one small issue w/ the PR, please take a look and I can get it merged.
quickshiftin commented
Having merged the PR from @VEINHORN I am closing this issue.