Flows and dashboards get ids: the store is addressed by id with a key index, the first start gives every document its key as id, fluksio store migrate --dry-run and ls; the rename routes are gone
This commit is contained in:
@@ -130,6 +130,21 @@ FLUKSIO_WORKER_TOKEN=your-token fluksio worker \
|
||||
Create the worker token on the engine first. See [Remote workers](workers.md)
|
||||
for token creation, interpreter selection and labels.
|
||||
|
||||
## `fluksio store`
|
||||
|
||||
```sh
|
||||
fluksio store ls ~/.fluksio/flows
|
||||
fluksio store migrate --dry-run ./flows-copy
|
||||
```
|
||||
|
||||
Both read a flow store directory and change nothing. `ls` lists its flows and
|
||||
dashboards by id, key and kind, which helps when reading a backup.
|
||||
|
||||
`migrate --dry-run` runs the check the engine makes when it starts and prints
|
||||
what the start would migrate, or why it would refuse to start. It exits with 1
|
||||
on a refusal. Point it at a copy of the store. The engine migrates the store
|
||||
itself, on its next start.
|
||||
|
||||
## Talking to an engine
|
||||
|
||||
Client commands use the nearest `.fluksio/client.json`, or the global
|
||||
|
||||
Reference in New Issue
Block a user