BlueForge Docs

forge move

Move resources between hosts.

Command

forge move <resource-type> <id> --target <host>

Arguments

NameTypeRequiredNotes
resource-type
stringyesType of resource to move
id
stringyesResource ID

Flags

FlagTypeRequiredDefaultNotes
--target
stringyesTarget host name

Examples

Move a resource:

forge move database db_xxxxx --target hetzner-prod-2

Errors

Exit codeMeaning
0Move triggered successfully
1Failed to move

Pitfalls

  • Target validation — the target host must exist and have sufficient capacity.
  • Resource types — supported types include
    database
    ,
    app
    , and
    storage
    .

See also

{auto-injected}

Tested against

{auto-injected}