cleanup
Remove runs of a sync configuration that are stuck in running (for example after a crash) or failed, from the LakeXpress DB. Completed runs are never removed. Exported files are not deleted.
usage: LakeXpress cleanup --auth_file AUTH_FILE --lxdb_auth_id ID
--sync_id SYNC_ID [--older-than DURATION]
[--status {running,failed}] [--dry-run]
[common options]
| Option | Description |
|---|---|
--sync_id ID | Required. Sync configuration to clean up |
--older-than DURATION | Only remove runs older than this, e.g. 7d, 24h, 30m, 60s |
--status STATUS | Only remove runs with this status: running or failed (default: both) |
--dry-run | Show what would be removed, without removing anything |
Also accepts the common options.