mxgross / EasyBackupBundle

Kimai 2 Plugin for easier backups
MIT License
24 stars 6 forks source link

include database dump in backup, write manifest json instead of readm… #9

Closed kevinpapst closed 4 years ago

kevinpapst commented 4 years ago

My last PR for now ;-)

  1. Previously the database dump was not included in the ZIP (even if it says so in the readme), but the database dump sql file was available in the overview. And it was always overwritten, so you had only the last backup available.

Now the file is included in the ZIP and deleted after the ZIP was created (so it doesn't show up in the overview).

  1. Replaced the readme.txt with a machine readable manifest.json. Maybe we want to implement a "recover" feature later on, this should be easier now.

  2. Fetch Kimai version from the Constants file instead of bin/console (Fixes #3) - better for FTP users.

kevinpapst commented 4 years ago

Thanks for merging again!