grafana-backup


Namegrafana-backup JSON
Version 1.4.2 PyPI version JSON
download
home_pagehttps://github.com/ysde/grafana-backup-tool
SummaryA Python-based application to backup Grafana settings using the Grafana API
upload_time2023-11-02 02:46:55
maintainer
docs_urlNone
authorauthor
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Grafana Backup Tool

A Python-based application to backup Grafana settings using the [Grafana API](https://grafana.com/docs/grafana/latest/http_api/).

The aim of this tool is to:
1. Easily backup and restore Grafana.
2. Have versioned backups`(date and time in file name)` for restoring and saving to cloud storage providers. Currently support
   1. `Amazon S3`
   2. `Azure Storage`
   3. `GCP Cloud Storage` (Use service-account's credential file, [see here](https://cloud.google.com/storage/docs/reference/libraries#linux-or-macos))

## Supported components
* Folder
* Folder Permissions
* Library Elements (doesn't work with Grafana 8.0.0 but 8.4.3)
* Dashboard (contains Alert)
* Datasource
* Alert Channel
* Alert Rules (Supported in version 9.4.0 of grafana and up.)
* Teams
* Team Members (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))
    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`
    * Or Sets this ENV of the Grafana server `GF_USERS_ALLOW_ORG_CREATE=true`. see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#create-organization)
* Organization (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))
    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`
    * Or Sets this ENV of the Grafana server `GF_USERS_ALLOW_ORG_CREATE=true`. see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#create-organization)
* User (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))
    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`
    * Grafana's api doesn't provide user's password when backing up, so the `default_user_password` in `grafanaSettings.json`, or in ENV `DEFAULT_USER_PASSWORD`, E.g `export DEFAULT_USER_PASSWORD=supersecret` will be used when restoring. 
* Snapshots
* Dashboard Versions (only backup, no restore)
* Annotations

**NOTE** The only supported `orgId` right now is `1`, the default organization will be backed up only!

## Requirements
* Bash
* Python 2.7 or Python 3.x
* Access to a Grafana API server.
* A `Token` of an `Admin` role (see `Configuration` section below for more info)

## Configuration
There are three ways to setup the configuration:

1. Use `environment variables` to define the variables for connecting to a Grafana server.
2. Use `hard-coded settings` in `conf/grafanaSettings.json` (this is the default settings file if not specified otherwise).
3. Use `~/.grafana-backup.json` to define variables in json format.

### Example Config
* Copy [grafanaSettings.example.json](examples/grafanaSettings.example.json) and modify it for you to use, remove `azure`, `aws`, `gcp`, `influxdb` blocks (but keep the ones you used).
* Check out the [examples](examples) folder for more configuration details.

**NOTE** If you use `environment variables`, you need to add the following to your `.bashrc` or execute once before using the tool (please change variables according to your setup):

(`GRAFANA_HEADERS` is optional, use it if necessary. please see [#45](https://github.com/ysde/grafana-backup-tool/issues/45))

```bash
### Do not use a trailing slash on GRAFANA_URL
export GRAFANA_URL=http://some.host.org:3000
export GRAFANA_TOKEN=eyJrIjoidUhaU2ZQQndrWFN3RRVkUnVfrT56a1JoaG9KWFFObEgiLCJuIjoiYWRtaW4iLCJpZCI6MX0=

# GRAFANA_HEADERS is optional
export GRAFANA_HEADERS=Host:some.host.org
```

To create and obtain a `Token` for your Grafana server, please refer to the [official documentation](https://grafana.com/docs/grafana/latest/http_api/auth/).

**NOTE** that you need to generate a `Token` with an `Admin` role for the backup to succeed, otherwise you will have potential permission issues.

## Installation
### Virtual environment (optional but recommended)
Create a virtualenv, you could using something like `pyenv` if you'd prefer
```
virtualenv -p $(which python3) venv
source venv/bin/activate
```

### Installation using pypi
```
pip install grafana-backup
```

### Installation using this repo
First clone this repo
```
git clone https://github.com/ysde/grafana-backup-tool.git
cd grafana-backup-tool
```
Installation works best using `pip`
```
pip install .
```

## How to Use
* First perform the **Configuration** and **Installation** sections as described above.
* Use the `grafana-backup save` command to backup all your folders, dashboards, datasources and alert channels to the `_OUTPUT_` subdirectory of the current directory.

***Example:***

```bash
$ grafana-backup save
$ tree _OUTPUT_
_OUTPUT_/
└── 202006272027.tar.gz
```

* Use the `grafana-backup restore <archive_file>` command with a path to a previous backup to restore everything.

**NOTE** this *may* result in data loss, by overwriting data on the server.

***Example:***

```bash
$ grafana-backup restore _OUTPUT_/202006272027.tar.gz
```

## Docker
Replace variables below to use the Docker version of this tool
* `{YOUR_GRAFANA_TOKEN}`: Your Grafana site `Token`.
* `{YOUR_GRAFANA_URL}`: Your Grafana site `URL`.
* `{YOUR_BACKUP_FOLDER_ON_THE_HOST}`: The `backup folder` on the Grafana host machine.

## Kubernetes
Check out the CronJob in [examples](examples) for a simple example of how grafana-backup-tool
can be ran within a Kubernetes environment

### Backup

If you decide to use a volume (-v) then you'll need to create the volume first with 1337 uid/gid ownership first, example:
```
mkdir /tmp/backup
sudo chown 1337:1337 /tmp/backup
```

```
docker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \
           -e GRAFANA_TOKEN={YOUR_GRAFANA_TOKEN} \
           -e GRAFANA_URL={YOUR_GRAFANA_URL} \
           -e GRAFANA_ADMIN_ACCOUNT={YOUR_GRAFANA_ADMIN_ACCOUNT} \
           -e GRAFANA_ADMIN_PASSWORD={YOUR_GRAFANA_ADMIN_PASSWORD} \
           -e VERIFY_SSL={True/False} \
           -v {YOUR_BACKUP_FOLDER_ON_THE_HOST}:/opt/grafana-backup-tool/_OUTPUT_  \
           ysde/docker-grafana-backup-tool
```

***Example:***

```
docker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \
           -e GRAFANA_TOKEN="eyJrIjoiNGZqTDEyeXNaY0RsMXNhbkNTSnlKN2M3bE1VeHdqVTEiLCJuIjoiZ3JhZmFuYS1iYWNrdXAiLCJpZCI6MX0=" \
           -e GRAFANA_URL=http://192.168.0.79:3000 \
           -e GRAFANA_ADMIN_ACCOUNT=admin \
           -e GRAFANA_ADMIN_PASSWORD=adminpassword \
           -e VERIFY_SSL=False \
           -v /tmp/backup/:/opt/grafana-backup-tool/_OUTPUT_ \
           ysde/docker-grafana-backup-tool
```

***S3 Example:*** Set S3 configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))
```
           -e AWS_S3_BUCKET_NAME="my-backups-bucket" \
           -e AWS_S3_BUCKET_KEY="grafana-backup-folder" \
           -e AWS_DEFAULT_REGION="us-east-1" \
           -e AWS_ACCESS_KEY_ID="secret" \
           -e AWS_SECRET_ACCESS_KEY="secret" \
```

***Azure Example:*** Set Azure configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))
```
		   -e AZURE_STORAGE_CONTAINER_NAME="azure-storage-container-name" \
		   -e AZURE_STORAGE_CONNECTION_STRING="azure-storage-connection-string"
```

***GCS Example:*** Set GCS configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))
```
		   -e GCS_BUCKET_NAME="bucket-name" \
		   -e GCLOUD_PROJECT="gcp-project-name" \
		   -e GOOGLE_APPLICATION_CREDENTIALS="credential-file-path"
```


### Restore

```
docker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \
           -e GRAFANA_TOKEN={YOUR_GRAFANA_TOKEN} \
           -e GRAFANA_URL={YOUR_GRAFANA_URL} \
           -e GRAFANA_ADMIN_ACCOUNT={YOUR_GRAFANA_ADMIN_ACCOUNT} \
           -e GRAFANA_ADMIN_PASSWORD={YOUR_GRAFANA_ADMIN_PASSWORD} \
           -e VERIFY_SSL={True/False} \
           -e RESTORE="true" \
           -e ARCHIVE_FILE={THE_ARCHIVED_FILE_NAME} \
           -v {YOUR_BACKUP_FOLDER_ON_THE_HOST}:/opt/grafana-backup-tool/_OUTPUT_  \
           ysde/docker-grafana-backup-tool
```

***Example:***

```
docker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \
           -e GRAFANA_TOKEN="eyJrIjoiNGZqTDEyeXNaY0RsMXNhbkNTSnlKN2M3bE1VeHdqVTEiLCJuIjoiZ3JhZmFuYS1iYWNrdXAiLCJpZCI6MX0=" \
           -e GRAFANA_URL=http://192.168.0.79:3000 \
           -e GRAFANA_ADMIN_ACCOUNT=admin \
           -e GRAFANA_ADMIN_PASSWORD=adminpassword \
           -e VERIFY_SSL=False \
           -e RESTORE="true" \
           -e ARCHIVE_FILE="202006280247.tar.gz" \
           -v /tmp/backup/:/opt/grafana-backup-tool/_OUTPUT_ \
           ysde/docker-grafana-backup-tool
```

### Building
You can build the docker image simply by executing `make` in the root of this repo. The image will get tagged as `ysde:grafana-backup`

### Monitoring
InfluxDB support has been added and Prometheus push gateway support will be added in the future.

In order to monitor successful backups with InfluxDB simply configure `grafana-backup` InfluxDB settings using this [example](examples) configuration.
Or if you prefer to use environment variables you can instead set `INFLUXDB_HOST`, `INFLUXDB_PORT`, `INFLUXDB_MEASUREMENT`, `INFLUXDB_USERNAME` and `INFLUXDB_PASSWORD`.

Once configured `grafana-backup` will automatically enter a `1` in your defined timeseries measurement upon each successful backup.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ysde/grafana-backup-tool",
    "name": "grafana-backup",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "author",
    "author_email": "ysde108@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/46/b6/8695ecb72b6b3dbed635e272938dd1a18ec96dbbdb48e7de22fa101d66a5/grafana-backup-1.4.2.tar.gz",
    "platform": null,
    "description": "# Grafana Backup Tool\n\nA Python-based application to backup Grafana settings using the [Grafana API](https://grafana.com/docs/grafana/latest/http_api/).\n\nThe aim of this tool is to:\n1. Easily backup and restore Grafana.\n2. Have versioned backups`(date and time in file name)` for restoring and saving to cloud storage providers. Currently support\n   1. `Amazon S3`\n   2. `Azure Storage`\n   3. `GCP Cloud Storage` (Use service-account's credential file, [see here](https://cloud.google.com/storage/docs/reference/libraries#linux-or-macos))\n\n## Supported components\n* Folder\n* Folder Permissions\n* Library Elements (doesn't work with Grafana 8.0.0 but 8.4.3)\n* Dashboard (contains Alert)\n* Datasource\n* Alert Channel\n* Alert Rules (Supported in version 9.4.0 of grafana and up.)\n* Teams\n* Team Members (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))\n    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`\n    * Or Sets this ENV of the Grafana server `GF_USERS_ALLOW_ORG_CREATE=true`. see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#create-organization)\n* Organization (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))\n    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`\n    * Or Sets this ENV of the Grafana server `GF_USERS_ALLOW_ORG_CREATE=true`. see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#create-organization)\n* User (Needs Basic Authentication (username and password, see [grafana doc](https://grafana.com/docs/grafana/latest/http_api/org/#admin-organizations-api))\n    * You need to set `Admin's account and password` in `grafanaSettings.json`, or set the base64 encoded `admin account and password` in ENV `GRAFANA_BASIC_AUTH`. E.g `export GRAFANA_BASIC_AUTH=YWRtaW46YWRtaW4=`\n    * Grafana's api doesn't provide user's password when backing up, so the `default_user_password` in `grafanaSettings.json`, or in ENV `DEFAULT_USER_PASSWORD`, E.g `export DEFAULT_USER_PASSWORD=supersecret` will be used when restoring. \n* Snapshots\n* Dashboard Versions (only backup, no restore)\n* Annotations\n\n**NOTE** The only supported `orgId` right now is `1`, the default organization will be backed up only!\n\n## Requirements\n* Bash\n* Python 2.7 or Python 3.x\n* Access to a Grafana API server.\n* A `Token` of an `Admin` role (see `Configuration` section below for more info)\n\n## Configuration\nThere are three ways to setup the configuration:\n\n1. Use `environment variables` to define the variables for connecting to a Grafana server.\n2. Use `hard-coded settings` in `conf/grafanaSettings.json` (this is the default settings file if not specified otherwise).\n3. Use `~/.grafana-backup.json` to define variables in json format.\n\n### Example Config\n* Copy [grafanaSettings.example.json](examples/grafanaSettings.example.json) and modify it for you to use, remove `azure`, `aws`, `gcp`, `influxdb` blocks (but keep the ones you used).\n* Check out the [examples](examples) folder for more configuration details.\n\n**NOTE** If you use `environment variables`, you need to add the following to your `.bashrc` or execute once before using the tool (please change variables according to your setup):\n\n(`GRAFANA_HEADERS` is optional, use it if necessary. please see [#45](https://github.com/ysde/grafana-backup-tool/issues/45))\n\n```bash\n### Do not use a trailing slash on GRAFANA_URL\nexport GRAFANA_URL=http://some.host.org:3000\nexport GRAFANA_TOKEN=eyJrIjoidUhaU2ZQQndrWFN3RRVkUnVfrT56a1JoaG9KWFFObEgiLCJuIjoiYWRtaW4iLCJpZCI6MX0=\n\n# GRAFANA_HEADERS is optional\nexport GRAFANA_HEADERS=Host:some.host.org\n```\n\nTo create and obtain a `Token` for your Grafana server, please refer to the [official documentation](https://grafana.com/docs/grafana/latest/http_api/auth/).\n\n**NOTE** that you need to generate a `Token` with an `Admin` role for the backup to succeed, otherwise you will have potential permission issues.\n\n## Installation\n### Virtual environment (optional but recommended)\nCreate a virtualenv, you could using something like `pyenv` if you'd prefer\n```\nvirtualenv -p $(which python3) venv\nsource venv/bin/activate\n```\n\n### Installation using pypi\n```\npip install grafana-backup\n```\n\n### Installation using this repo\nFirst clone this repo\n```\ngit clone https://github.com/ysde/grafana-backup-tool.git\ncd grafana-backup-tool\n```\nInstallation works best using `pip`\n```\npip install .\n```\n\n## How to Use\n* First perform the **Configuration** and **Installation** sections as described above.\n* Use the `grafana-backup save` command to backup all your folders, dashboards, datasources and alert channels to the `_OUTPUT_` subdirectory of the current directory.\n\n***Example:***\n\n```bash\n$ grafana-backup save\n$ tree _OUTPUT_\n_OUTPUT_/\n\u2514\u2500\u2500 202006272027.tar.gz\n```\n\n* Use the `grafana-backup restore <archive_file>` command with a path to a previous backup to restore everything.\n\n**NOTE** this *may* result in data loss, by overwriting data on the server.\n\n***Example:***\n\n```bash\n$ grafana-backup restore _OUTPUT_/202006272027.tar.gz\n```\n\n## Docker\nReplace variables below to use the Docker version of this tool\n* `{YOUR_GRAFANA_TOKEN}`: Your Grafana site `Token`.\n* `{YOUR_GRAFANA_URL}`: Your Grafana site `URL`.\n* `{YOUR_BACKUP_FOLDER_ON_THE_HOST}`: The `backup folder` on the Grafana host machine.\n\n## Kubernetes\nCheck out the CronJob in [examples](examples) for a simple example of how grafana-backup-tool\ncan be ran within a Kubernetes environment\n\n### Backup\n\nIf you decide to use a volume (-v) then you'll need to create the volume first with 1337 uid/gid ownership first, example:\n```\nmkdir /tmp/backup\nsudo chown 1337:1337 /tmp/backup\n```\n\n```\ndocker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \\\n           -e GRAFANA_TOKEN={YOUR_GRAFANA_TOKEN} \\\n           -e GRAFANA_URL={YOUR_GRAFANA_URL} \\\n           -e GRAFANA_ADMIN_ACCOUNT={YOUR_GRAFANA_ADMIN_ACCOUNT} \\\n           -e GRAFANA_ADMIN_PASSWORD={YOUR_GRAFANA_ADMIN_PASSWORD} \\\n           -e VERIFY_SSL={True/False} \\\n           -v {YOUR_BACKUP_FOLDER_ON_THE_HOST}:/opt/grafana-backup-tool/_OUTPUT_  \\\n           ysde/docker-grafana-backup-tool\n```\n\n***Example:***\n\n```\ndocker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \\\n           -e GRAFANA_TOKEN=\"eyJrIjoiNGZqTDEyeXNaY0RsMXNhbkNTSnlKN2M3bE1VeHdqVTEiLCJuIjoiZ3JhZmFuYS1iYWNrdXAiLCJpZCI6MX0=\" \\\n           -e GRAFANA_URL=http://192.168.0.79:3000 \\\n           -e GRAFANA_ADMIN_ACCOUNT=admin \\\n           -e GRAFANA_ADMIN_PASSWORD=adminpassword \\\n           -e VERIFY_SSL=False \\\n           -v /tmp/backup/:/opt/grafana-backup-tool/_OUTPUT_ \\\n           ysde/docker-grafana-backup-tool\n```\n\n***S3 Example:*** Set S3 configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))\n```\n           -e AWS_S3_BUCKET_NAME=\"my-backups-bucket\" \\\n           -e AWS_S3_BUCKET_KEY=\"grafana-backup-folder\" \\\n           -e AWS_DEFAULT_REGION=\"us-east-1\" \\\n           -e AWS_ACCESS_KEY_ID=\"secret\" \\\n           -e AWS_SECRET_ACCESS_KEY=\"secret\" \\\n```\n\n***Azure Example:*** Set Azure configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))\n```\n\t\t   -e AZURE_STORAGE_CONTAINER_NAME=\"azure-storage-container-name\" \\\n\t\t   -e AZURE_STORAGE_CONNECTION_STRING=\"azure-storage-connection-string\"\n```\n\n***GCS Example:*** Set GCS configurations in `-e` or `grafanaSettings.json`([example](https://github.com/ysde/grafana-backup-tool/blob/master/examples/grafana-backup.example.json))\n```\n\t\t   -e GCS_BUCKET_NAME=\"bucket-name\" \\\n\t\t   -e GCLOUD_PROJECT=\"gcp-project-name\" \\\n\t\t   -e GOOGLE_APPLICATION_CREDENTIALS=\"credential-file-path\"\n```\n\n\n### Restore\n\n```\ndocker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \\\n           -e GRAFANA_TOKEN={YOUR_GRAFANA_TOKEN} \\\n           -e GRAFANA_URL={YOUR_GRAFANA_URL} \\\n           -e GRAFANA_ADMIN_ACCOUNT={YOUR_GRAFANA_ADMIN_ACCOUNT} \\\n           -e GRAFANA_ADMIN_PASSWORD={YOUR_GRAFANA_ADMIN_PASSWORD} \\\n           -e VERIFY_SSL={True/False} \\\n           -e RESTORE=\"true\" \\\n           -e ARCHIVE_FILE={THE_ARCHIVED_FILE_NAME} \\\n           -v {YOUR_BACKUP_FOLDER_ON_THE_HOST}:/opt/grafana-backup-tool/_OUTPUT_  \\\n           ysde/docker-grafana-backup-tool\n```\n\n***Example:***\n\n```\ndocker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool \\\n           -e GRAFANA_TOKEN=\"eyJrIjoiNGZqTDEyeXNaY0RsMXNhbkNTSnlKN2M3bE1VeHdqVTEiLCJuIjoiZ3JhZmFuYS1iYWNrdXAiLCJpZCI6MX0=\" \\\n           -e GRAFANA_URL=http://192.168.0.79:3000 \\\n           -e GRAFANA_ADMIN_ACCOUNT=admin \\\n           -e GRAFANA_ADMIN_PASSWORD=adminpassword \\\n           -e VERIFY_SSL=False \\\n           -e RESTORE=\"true\" \\\n           -e ARCHIVE_FILE=\"202006280247.tar.gz\" \\\n           -v /tmp/backup/:/opt/grafana-backup-tool/_OUTPUT_ \\\n           ysde/docker-grafana-backup-tool\n```\n\n### Building\nYou can build the docker image simply by executing `make` in the root of this repo. The image will get tagged as `ysde:grafana-backup`\n\n### Monitoring\nInfluxDB support has been added and Prometheus push gateway support will be added in the future.\n\nIn order to monitor successful backups with InfluxDB simply configure `grafana-backup` InfluxDB settings using this [example](examples) configuration.\nOr if you prefer to use environment variables you can instead set `INFLUXDB_HOST`, `INFLUXDB_PORT`, `INFLUXDB_MEASUREMENT`, `INFLUXDB_USERNAME` and `INFLUXDB_PASSWORD`.\n\nOnce configured `grafana-backup` will automatically enter a `1` in your defined timeseries measurement upon each successful backup.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python-based application to backup Grafana settings using the Grafana API",
    "version": "1.4.2",
    "project_urls": {
        "Homepage": "https://github.com/ysde/grafana-backup-tool"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "185fb454b73c7c6f646769b91a83466398b39b7b5c28db1860683c069a5a3fbf",
                "md5": "548c3bb2d0a50a4863e4d638ddc62358",
                "sha256": "527936720a0fae38f826d3569610c7b57154bca2f5a72bf6410a69e42b7e5f32"
            },
            "downloads": -1,
            "filename": "grafana_backup-1.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "548c3bb2d0a50a4863e4d638ddc62358",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 63303,
            "upload_time": "2023-11-02T02:46:54",
            "upload_time_iso_8601": "2023-11-02T02:46:54.662861Z",
            "url": "https://files.pythonhosted.org/packages/18/5f/b454b73c7c6f646769b91a83466398b39b7b5c28db1860683c069a5a3fbf/grafana_backup-1.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46b68695ecb72b6b3dbed635e272938dd1a18ec96dbbdb48e7de22fa101d66a5",
                "md5": "d2f315a7343bae7c8424d8cd9f7f352f",
                "sha256": "86a2a123d0f0fe01612e08354699cca0db5d4ac8d6a2d3f2bf02227f9329ef4e"
            },
            "downloads": -1,
            "filename": "grafana-backup-1.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d2f315a7343bae7c8424d8cd9f7f352f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 34133,
            "upload_time": "2023-11-02T02:46:55",
            "upload_time_iso_8601": "2023-11-02T02:46:55.879241Z",
            "url": "https://files.pythonhosted.org/packages/46/b6/8695ecb72b6b3dbed635e272938dd1a18ec96dbbdb48e7de22fa101d66a5/grafana-backup-1.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-02 02:46:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ysde",
    "github_project": "grafana-backup-tool",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "grafana-backup"
}
        
Elapsed time: 0.14482s