Skip to main content
Version: 0.4 (Latest)

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]
OptionDescription
--sync_id IDRequired. Sync configuration to clean up
--older-than DURATIONOnly remove runs older than this, e.g. 7d, 24h, 30m, 60s
--status STATUSOnly remove runs with this status: running or failed (default: both)
--dry-runShow what would be removed, without removing anything

Also accepts the common options.

Copyright © 2026 Architecture & Performance.