ReferenceCLIProject

nevia project branch

Branch every computer and database into a new project

nevia project branch [--wait] [--timeout <DURATION>] <ARGS>…

Each one is branched as nevia branch or nevia pg branch would, all at once, into a new project that gets a copy of the source's grants. A branch that would pass the computer and database limit is refused before anything is created. A member that cannot be branched fails with its own error and the others are still branched, so check the project.branch operation before treating the new project as a full copy.

Arguments

  • <PROJECT> - Project ID or name to branch
  • [NAME] - Name of the new project (default: the source's name plus a branch number)
  • [WS] - Workspace ID or name (the selected workspace if omitted)

Options

  • --wait - Wait until the work finishes or fails

  • --timeout <DURATION> - How long --wait waits before exiting 6 (e.g. 10m, 300s)

    Default: 10m

  • -h, --help - Print help

On this page