fly postgres import

Imports database from a specified Postgres URI

Usage

fly postgres import <source-uri> [flags]

Options

-a,  --app         Application name 
     --clean       Drop database objects prior to creating them. 
-c,  --config      Path to application configuration file 
     --create      Begin by creating the database itself and reconnecting to it. If --clean is also specified, the script drops and recreates the target database before reconnecting to it. 
     --data-only   Dump only the data, not the schema (data definitions). 
     --image       Path to public image containing custom migration process 
     --no-owner    Do not set ownership of objects to match the original database. Makes dump restorable by any user. 
     --region      Region to provision migration machine 
     --vm-size     the size of the VM 

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output