Synopsis
Commands
| Command | Description |
|---|---|
export <workspace> | Export workspace as ZIP archive |
import <source> | Import workspace from file or URL |
list | List available snapshots |
snapshot export
Export a workspace as a compressed ZIP archive.Flags
| Flag | Description |
|---|---|
-o, --output <path> | Custom output path |
Examples
Output
Contents
The ZIP archive includes:- All workspace files and directories
- Database records (assets, vulnerabilities, runs)
- Workflow state files
snapshot import
Import a workspace from a ZIP archive or URL.Flags
| Flag | Description |
|---|---|
-f, --force | Overwrite existing workspace |
--skip-db | Import files only (no database) |
Sources
- Local file path
- HTTP/HTTPS URL
Examples
Output
Conflict Handling
Without--force:
--force:
snapshot list
List available snapshots.ls
Output
Snapshot Location
Default location:~/osmedeus-base/snapshots/
Naming convention: {workspace}-{date}-{time}.zip
Use Cases
Backup Before Major Scan
Share Results
Migrate to Another Machine
Restore from Backup
API Equivalent
Notes
- Snapshots include both files and database records
- Use
--skip-dbto import files only - Large workspaces may take time to compress/decompress
- URL imports download to temp location first