Skip to content
Snippets Groups Projects
To find the state of this project's repository at the time of any of these versions, check out the tags.

Changelog

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.

[1.2.0] - 2021-10-11

  • Publish to PyPi

[1.111] - 2021-10-04

  • Option to pause and unpause alerts

[1.110] - 2021-09-02

Added

  • Option to save and restore snapshots
  • Option to save dashboard versions (restore isn't really possible with the API)
  • Option to save and restore annotations

[1.1.9] - 2021-06-27

Added

  • c6b6f681 Create python-publish.yml
  • #100 GCS support

Changed

  • #92 better error message when the user specifies a bad S3 key
  • #135 Update main organization instead of creating a new one
  • #133 Creating the docker container without these packages didn't work
  • #139 windows env var fix

Removed

[1.1.8] - 2021-04-14

Added

Changed

  • #124 fixed #123
  • #121 multi arch docker support
  • #127 add azure storage support

Removed

[1.1.7] - 2021-01-13

Added

Changed

  • #123 fixed Crash on save_folders.py

Removed

[1.1.6] - 2020-12-28

Added

Changed

  • #94 Key Error in api_checks.py (ensure compat with hide_version Grafana setting)
  • #117 replace api version check with specific feature checks

Removed

[1.1.5] - 2020-12-13

Added

Changed

  • #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

Removed

  • #110 remove useless cleanup method within tempfile

[1.1.4] - 2020-10-25

Added

Changed

  • #102 add AWS_ENDPOINT_URL config option

Removed

[1.1.3] - 2020-08-24

Added

  • #57 Backup users, organizations

Changed

  • #83 Fix tarfile options for python2
  • #64 Remove empty folders when backup file (.tar.gz) created.

[1.1.2] - 2020-08-14

Added

Changed

  • #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

Removed

[1.1.0] - 2020-07-28

Added

  • boto3 added to package dependencies
  • environment variables and configuration for native AWS S3 support
  • s3_upload.py
  • s3_download.py

Changed

Removed

[1.0.0] - 2020-07-23

Added

  • add setup.py
  • add Makefile (docker build)
  • add grafanaSettings.json
  • add constants.py
  • add archive.py

Changed

  • 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

Removed

  • delete Pipenv
  • delete docker_entry.sh
  • delete requirements.txt

0.1.0 - 2019-05-22

Initial release, tentative.

Added

  • this CHANGELOG.md
  • requirements.txt and Pipfile for better packaging hygiene

Changed

  • reorganize code layout, move all python into src/
  • update README.md to reflect changes

Removed

  • delete boilerplate restore_SOMETHING.sh scripts