longhornctl_export.md
July 16, 2026 ยท View on GitHub
longhornctl export
Export Longhorn resources
Options
-h, --help help for export
--image string Image containing longhornctl-local (default "longhornio/longhorn-cli:v1.13.0-dev")
--image-pull-secret string Secret with registry credentials for pulling images
--image-registry string Registry to apply to all images (CLI, engine, pause, BCI, etc.), replacing any registry already specified in those images.
--kubeconfig string Kubernetes config (kubeconfig) path
-l, --log-level string Log level (default "info")
--namespace string The namespace to run DaemonSet pods. (default "longhorn-system")
--node-selector string Comma-separated list of key=value pairs to match against node labels, selecting the nodes the DaemonSet will run on (e.g. env=prod,zone=us-west).
Options inherited from parent commands
--tolerations string Semicolon-separated list of tolerations for DaemonSet pods (e.g. key=value:NoSchedule;:NoExecute).
SEE ALSO
- longhornctl - Command-line interface for Longhorn.
- longhornctl export replica - Export data from a Longhorn replica