You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For backup the sqlite database I can use flipt export which pipes to STDOUT. In our k8s environment this looks so: kubectl exec -it <name of flipt pod> -- /bin/sh -c './flipt export' > export.yaml
... and works like a charm :-)
But now I wonder how to import the the backup since flipt import wants to read from a file, not from STDIN. I've tried a lot of variants, all ended in Error: requires a file argument :-(
So it would be great, if I can do a flipt import to read from STDIN for restoring backups in a docker or k8s environment.
The text was updated successfully, but these errors were encountered:
Little update of my idea:
Why not provide API endpoints for export and import the data?
And once we have API endpoints, why not provide these maintenance feature from the admins frontend?
For backup the sqlite database I can use
flipt export
which pipes to STDOUT. In our k8s environment this looks so:kubectl exec -it <name of flipt pod> -- /bin/sh -c './flipt export' > export.yaml
... and works like a charm :-)
But now I wonder how to import the the backup since
flipt import
wants to read from a file, not from STDIN. I've tried a lot of variants, all ended inError: requires a file argument
:-(So it would be great, if I can do a
flipt import
to read from STDIN for restoring backups in a docker or k8s environment.The text was updated successfully, but these errors were encountered: