Windows & Linux

CLI release

Coming January 2027. The dbHydrate command-line tool isn't available yet. These preview docs describe the planned first release; commands and options may change.
Browse CLI documentation

Troubleshooting

Common problems and how to fix them. The exact error messages will be listed here at launch.

On this page

Files and passphrases

File problems and fixes
ProblemCauseFix
The file can’t be openedWrong passphrase, or the source and target need different onesCheck DBHYDRATE_CONN_PASSPHRASE, or set the source and target passphrases separately.
The file is refused as changedThe file was edited or damagedExport it again from the desktop app.
The file has expiredIt passed the lifetime chosen at exportExport a new file.
The file was revokedSomeone revoked it in the dbHydrate accountAsk your account owner, then export a new file.
Files from different seatsThe source and target were exported by different seats or accountsExport both from the same seat.

Licensing and seats

Licensing problems and fixes
ProblemCauseFix
Exit code 4: seat busyAnother run on the same seat is in progressAdd --wait 10m, or queue jobs with your CI concurrency setting.
Seat stays busy after a crashThe crashed run’s lease hasn’t expired yetWait about 10 minutes, or ask your account owner to check active runs.
apply refusedDBHYDRATE_LICENSE_KEY is missing or belongs to another seatUse the key of the seat that exported the file. If the key was replaced, update the secret.
apply or dry-run refusedTrials can’t apply; expired licenses run compare onlyBuy or renew a license at pricing.
Refused for this engineThe license is for a different productUse a license that covers the target’s database engine.
Too many runsMore than the fair-use limit of run starts per hourSpace out scheduled jobs.
Asked to updateThe CLI version is too oldDownload the current version.

Network and connections

Network problems and fixes
ProblemCauseFix
Can’t reach the licensing serviceNo outbound HTTPS, or a proxy is requiredAllow api.dbhydrate.com on port 443, or set HTTPS_PROXY.
TLS errors through a proxyThe proxy replaces certificatesAllow api.dbhydrate.com through without inspection. Answers are signed and checked by the CLI.
Can’t connect to the databaseThe runner can’t reach the database hostUse a runner inside your network, or an SSH tunnel saved in the file.
Password neededThe file was exported without a passwordSet DBHYDRATE_SOURCE_PASSWORD or DBHYDRATE_TARGET_PASSWORD.
Authentication failedThe password in the secret store is out of dateUpdate the secret, or re-export the file if it includes the password.

Targets and results

Target problems and fixes
ProblemCauseFix
apply asks for confirmation--confirm-target is missing or doesn’t matchPass the target database’s exact name.
Target refusedThe connection is marked read-onlyUse it as a source, or export a connection that allows changes.
SQL Server source refusedA High-protection source whose login can writeUse a login that can only read.
Comparison incompleteThe login can’t read part of the schemaGrant read access to the schema metadata, or narrow the profile.
Dry run fails but the change looks rightThe target’s data or permissions block a stepRead the step’s database error in the report, fix the data or permission, and run the dry run again.
SQL Server connection can’t be exportedIt uses Windows authenticationUse a SQL Server login.