crusoe diagnostics vm download
Download a completed diagnostic (bug report) file.
Pass the VM name or ID, along with the diagnostic ID. By default the file is written to the current directory as diagnostic-<diagnostic-id>.log.gz; use --output to choose a different path.
The diagnostic must have finished collecting. Check with crusoe diagnostics vm status, or use crusoe diagnostics vm latest to find the most recent completed report for a VM.
Usage
crusoe diagnostics vm download <vm-name/id> --diagnostic-id <diagnostic-id> [flags]
Flags
| Flag | Description |
|---|---|
--diagnostic-id string | [Required] Diagnostic ID |
-h, --help | Help for download |
-o, --output string | File path to write the downloaded diagnostic report to (default: diagnostic-<diagnostic-id>.log.gz in the current directory) |
--project-id string | Project ID. Optional if Project Name is set in CRUSOE_DEFAULT_PROJECT env variable or the config file |
--project-name string | Project Name. Optional if set in CRUSOE_DEFAULT_PROJECT env variable or the config file |
Examples
Download a completed diagnostic to the current directory:
crusoe diagnostics vm download np-9addff51-1 \
--diagnostic-id 4d96bc56-d3ea-4314-8aee-35373bbd9798
downloaded diagnostic report to diagnostic-4d96bc56-d3ea-4314-8aee-35373bbd9798.log.gz
Download to a specific path:
crusoe diagnostics vm download np-9addff51-1 \
--diagnostic-id 4d96bc56-d3ea-4314-8aee-35373bbd9798 \
--output ./bug-reports/np-9addff51-1.log.gz
What's Next
- Contact Support — Attach the diagnostic to a support ticket