mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +01:00
13 lines
262 B
Bash
13 lines
262 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -feu
|
||
|
|
||
|
cd "$(dirname "$0")"
|
||
|
|
||
|
. ../env.sh
|
||
|
|
||
|
# Export data. Delete environments since they can't be imported.
|
||
|
curl -H "Authorization: $PERF_AUTH_KEY" "$PERF_APP_URL/api/admin/state/export" \
|
||
|
| jq 'del(.environments)' \
|
||
|
> export.json
|