npg(1)

npg1

Usage

npg [options] [file.sql]

NAME npg

npg - NetDisco Postgres shell

Overview

Specify an SQL file to be run in batch mode, or don't give any arguments to launch the psql shell.

Options

 -b                        -- Batch mode, no override protection
 -d /usr/lib/netdisco      -- Path to netdisco "Home Directory" (can be ignored)
 -c /path/to/netdisco.conf -- Netdisco Config file to use
 -u pgsql                  -- Database UNIX user
 -p /path/to/psql          -- psql cli executable
 -i                        -- Init all tables (Will delete all existing data!)
 --back                    -- Create Backup of database

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

Author

Max Baker

From netdisco-backend 1.0-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.