Skip to main content

export_org_data

Function export_org_data 

Source
pub fn export_org_data(
    pool: &ConnPool,
    org_id: &str,
    org_name: &str,
    node: &str,
    dest_path: &Path,
) -> BackupResult<OrgExportMeta>
Expand description

Export all data for an org into a JSON file.

Scans known org-scoped tables, extracts rows matching the org_id, and writes a self-describing JSON bundle to dest_path.