https://github.com/tomoyanakano/redash-loader
Redash backuper CLI tool made with Node.js + Typescript
https://github.com/tomoyanakano/redash-loader
cli nodejs redash typescript
Last synced: 3 months ago
JSON representation
Redash backuper CLI tool made with Node.js + Typescript
- Host: GitHub
- URL: https://github.com/tomoyanakano/redash-loader
- Owner: tomoyanakano
- License: mit
- Created: 2022-03-18T07:37:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T06:11:53.000Z (over 3 years ago)
- Last Synced: 2025-06-27T06:05:26.696Z (4 months ago)
- Topics: cli, nodejs, redash, typescript
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/redash-loader
- Size: 401 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redash Loader
`redash-loader` is command line tool make it possible to fetch redash content(query and dashboard) from your Redash.
## Usage
### install
Execute below command and install package.
```
install -g redash-loader
```Download your Redash content.
```
redash-loader load --api-key=YOUR_REDASH_USER_API_KEY --redash-url=YOUR_REDASH_URL
```
※ type would be `query`, `dashboard` or `all`.Download redash content in current directory like below.
```
--current
|-query
| |-query_${id}
| | |-query_${id}.sql //sql file
| | |-query_${id}.json //json object
| |-...
|-dashboard
| |-dashboard_${id}
| | |-dashboard_${id}.json //json object
| |-...
```## How it helps
It is useful if you would like to control the versions of Redash queries or dashboards, and also like to backup those.
Running it continuously with cron or github actions makes it possible.## Contribution
please feel free to add issue and create pull request!!