aptible db:restart

This command is used to restart or resize a Database.

Tip

If you want to restart your Database in place without resizing it, consider using aptible db:reload instead:.

aptible db:reload is slightly faster than aptible db:restart.

Examples

Resize the Container

aptible db:restart "$DB_HANDLE" \
        --container-size 2048

Resize the Disk

aptible db:restart "$DB_HANDLE" \
        --disk-size 120

Resize Container and Disk

aptible db:restart "$DB_HANDLE" \
        --container-size 2048 \
        --disk-size 120

Synopsis

Usage:
  aptible db:restart HANDLE [--container-size SIZE_MB] [--size SIZE_GB]

Options:
  [--environment=ENVIRONMENT]
  [--container-size=N]
  [--size=N]

Restart a database