forge move
Move resources between hosts.
Command
forge move <resource-type> <id> --target <host>
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
| string | yes | Type of resource to move |
| string | yes | Resource ID |
Flags
| Flag | Type | Required | Default | Notes |
|---|---|---|---|---|
| string | yes | — | Target host name |
Examples
Move a resource:
forge move database db_xxxxx --target hetzner-prod-2
Errors
| Exit code | Meaning |
|---|---|
| 0 | Move triggered successfully |
| 1 | Failed to move |
Pitfalls
- Target validation — the target host must exist and have sufficient capacity.
- Resource types — supported types include
,database
, andapp
.storage
See also
{auto-injected}
Tested against
{auto-injected}