All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- #123 fixed Crash on save_folders.py
- #94 Key Error in api_checks.py (ensure compat with hide_version Grafana setting)
- #117 replace api version check with specific feature checks
- #104 added python2 support to restore functions
- #105 add configuration attribute to set backup file name
- #112 changed restore_functions to ordered dict
- #113 [Fixed] Dashboards with same name in different folders not restored
- #110 remove useless cleanup method within tempfile
- #102 add AWS_ENDPOINT_URL config option
- #57 Backup users, organizations
- #83 Fix tarfile options for python2
- #64 Remove empty folders when backup file (.tar.gz) created.
- #70 Fix parameters for get_folder_id_from_old_folder_url
- #74 Fixed Bug folders.txt does not contain all folders
- #75 Introduces the settings option client_cert
- #76 require api checks to succeed before save or restore
- #78 fixed issue #77 TypeError: health_check
- boto3 added to package dependencies
- environment variables and configuration for native AWS S3 support
- s3_upload.py
- s3_download.py
- add setup.py
- add Makefile (docker build)
- add grafanaSettings.json
- add constants.py
- add archive.py
- rename src directory -> grafana_backup
- refactor Dockerfile
- switched to alpine base
- use CMD instead of ENTRYPOINT
- run as non-root user
- README.md updates
- implemented cli "console script" using docopt
- added "save" command
- added "restore" command
- refactored variable passing
- removed global variable passing in favor of positional arguments
- all code lives inside functions now, no need for globalized code
- refactored grafanaSettings module
- grafanaSettings can now be parameterized via an external json config file (~/.grafana-backup.json)
- refactored backup/restore shell scripts
- individual components can be backed up and restored using console_script
- archiving of backup can now be skipped using --no-archive
- delete Pipenv
- delete docker_entry.sh
- delete requirements.txt
0.1.0 - 2019-05-22
Initial release, tentative.
- this
CHANGELOG.md
requirements.txt
andPipfile
for better packaging hygiene
- reorganize code layout, move all python into
src/
- update README.md to reflect changes
- delete boilerplate
restore_SOMETHING.sh
scripts