Release notes
dlake v0.5.43
Backups arrive: dlake backup makes, lists, inspects and downloads restorable copies of your Data Lake's DLO schema, weekly by default and kept 30 days, with connector-fed and platform log tables backed up as schema only unless you choose otherwise. Every command after sign-in now goes through the MCP host, so the CLI needs no other Commercient host and no sign-in token is cached. Backups can also be portable (.bacpac), scoped per table, and consistent to a moment on servers that support snapshots.
npm install -g @commercient/dlakedlake skills install- New:
dlake backup. Restorable backups of your Data Lake’s DLO schema: a native SQL Server backup file of a database holding only DLO — tables and their data, views, functions, procedures, triggers, row-level security, sequences and synonyms.backup runmakes one now,backup listandbackup show <id>list and inspect them (object counts, warnings and the restore statement),backup download <id> [--out <path>]downloads one and checks its SHA-256, andbackup settings [--enabled on|off] [--schedule weekly|daily|off] [--include-sync-tables on|off]chooses whether and how often they are made, and what they hold. Weekly by default; backups are kept 30 days. - On shared SQL servers the temporary backup database is created, backed up and removed by a dedicated backup creator login that may create databases and nothing else; your Data Lake’s own login still makes the copy of your data, so the creator never reads it. An “insufficient rights” result now says which of the two logins is missing a right.
- Connector-fed tables are backed up as schema only by default. Tables a connector sync
writes are rebuilt from their source systems and are usually most of a Data Lake’s volume, so a
backup now keeps their structure (columns, keys, indexes, constraints) without their rows; your
own tables, views and procedures are backed up in full.
backup showlists the schema-only tables with the rows each held.backup settings --include-sync-tables onincludes their rows for a self-contained copy. - Platform log tables are always backed up as schema only. The platform’s own audit logs,
notifications, run history and event queues keep their structure in the backup but not their
rows, whatever
--include-sync-tablessays: they record what happened rather than hold your data, and they start empty after a restore.backup showlists them separately. - The pre-backup space check now counts only the data that will be copied, and a refusal shows what the room is for: the temporary database, the backup file and headroom, with the connector data and the platform log data left out reported as separate figures.
- Every command after sign-in now goes through the MCP host.
keys,projects,query,export,docs,s3,view,loginandstatusno longer need any other Commercient host, so the CLI works from any network.dlake loginchecks your key with one call before it saves anything: a key that is valid but not a full-scope Admin key is saved for the data plane, and a rejected key saves nothing. No sign-in token is cached any more; the old token cache is removed on first run. dlake s3anddlake view show|create|alter|dropnow need a full-scope key owned by an Admin user, asdlake keysanddlake projectsdo. Scoped keys and non-admin users can still usequery,export,docs,toolandview list. This is a temporary restriction fors3and the view changes, until they have data-plane equivalents.dlake view listnow lists the views exposed through the Data API that your key can see, with each one’s type and field count;dlake admin list_viewsstill lists every view for admins.- Document uploads are capped at 10 MB.
dlake docs uploadrefuses a larger file before sending anything. dlake s3 putanddlake s3 getmove files over 8 MB straight between your machine and your bucket through a short-lived link.dlake s3 lspages with--token.- Changed JSON output.
dlake status --json,dlake login --jsonanddlake profiles list --jsonno longer carryauthUrlorapiUrl.status --jsonreports the MCP host, the Registration host and whether your key was accepted and on which planes;profiles listshows each profile’s MCP URL.--auth-urland--api-urlondlake loginare accepted and ignored for this release. dlake watchchecks the MCP host, the sign-up catalog and the published downloads (plus, with--profile, a live query);--tenant-hostis accepted and ignored for this release.- Fixed:
-o <file>ondlake exportanddlake docs getnow writes to the file you name. - Portable backups.
backup settings --format portable|native|bothadds a portable package (a .bacpac) that restores onto any SQL Server 2016 or later, including Express and Azure SQL, while the native file stays exact for same-or-newer servers;backup showreports the formats a backup holds and the oldest server each restores to, andbackup download --formatpicks one. Withboth, a portable half that cannot be produced does not fail the backup: the native file is kept and the reason is recorded. - Choose what a backup holds.
backup scopesets, per table, full data, schema only or excluded, and switches code objects (views, procedures, functions, triggers) on or off; platform tables keep a protected floor. Portable packages take the tables their foreign keys need. - Backups are consistent to a moment. On SQL Server editions that support it, the copy is taken
from a database snapshot, so every table reflects the same instant;
backup showreportspoint-in-timeorper-tableand why. Only one backup runs per Data Lake at a time. - Upgrade:
npm install -g @commercient/dlake(ornpm install -g datalake), then rundlake skills installto refresh the bundled agent skills.