dbpm resume
Re-run the deployment script for a package whose Core deployment status is R (running) or F (failed). Preserves the existing application registration and any data already written — this is the roll-forward path after a partial or failed deployment.
Syntax
Section titled “Syntax”dbpm resume source [--env ENV] [--approve] [--dry-run] [--package NAME] [--registry-url URL] [--connect STRING] [--runner EXEC]EBNF diagram
Section titled “EBNF diagram”flowchart LR command["command"] --> dbpm["dbpm"] dbpm --> resume["resume"] resume --> source["source"] source --> options["{ option }"] options --> end_node(("end"))
options -. expands to .-> option["option"] option --> env["--env ENV"] option --> approve["--approve"] option --> dry_run["--dry-run"] option --> package["--package NAME"] option --> registry_url["--registry-url URL"] option --> connect["--connect STRING"] option --> runner["--runner EXEC"]
package -. only when source is a workspace root .-> package_note["selects workspace package"] registry_url -. only for registry sources .-> registry_note["sets registry base URL"] dry_run -. changes execution .-> dry_run_note["prints plan without executing"]Arguments
Section titled “Arguments”| Argument | Default | Description |
|---|---|---|
source | required | Package source. See source types. |
--env | development | Target environment name. |
--approve | false | Approve policy-gated actions. |
--dry-run | false | Print the deployment plan as JSON without executing. |
--package | none | Package name or application name to select when source is a workspace root. |
--registry-url | DBPM_REGISTRY_URL or https://registry.dbpm.io | Registry base URL for registry: sources. |
--connect | DBPM_CONNECT | Connect string. |
--runner | DBPM_SQL_RUNNER or sqlplus | SQL runner executable. |
Preflight checks
Section titled “Preflight checks”dbpm fails before running any script if:
- The package is not installed → use
dbpm install. - The package has a complete (
C) deployment status → no resume needed. - The package has a status other than
RorF.
When to use resume
Section titled “When to use resume”| Scenario | Command |
|---|---|
| Deployment script failed partway through | dbpm resume |
Deployment was interrupted (status R) | dbpm resume |
| Package is not yet installed | dbpm install |
| Want a clean-slate reinstall | dbpm reinstall |
Examples
Section titled “Examples”Resume after a failed deployment:
dbpm resume ~/repos/utl_interval --connect user/pass@dbResume from GitHub Packages:
dbpm resume \ gh-maven:512itconsulting/utl_interval:com.512itconsulting.database:utl_interval:1.0.0 \ --connect user/pass@dbPreview the resume plan:
dbpm resume ~/repos/utl_interval --dry-run --connect user/pass@dbresumere-runs the full deployment script from the beginning. Deployment scripts should be idempotent — safe to re-run after a partial execution.resumedoes not callpkg_application.delete_application_p. Application registration and data are preserved.- For upgrade failures,
resumere-runs all upgrade steps from step 1 (including chain steps). The same idempotency requirement applies.
Source: docs/commands/resume.md