Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > aa0a0c745bf74bd0c70c4944117a40d3 > files > 64

gnugk-2.3.1-1mdv2010.1.x86_64.rpm

#!/bin/bash
#
# This script extracts data from the database.
# Compressed dump is sent to stdout. Use restore.sh script to restore
# data from a generated dump file.
# IMPORTANT: This scripts dumps DATA ONLY. Schema is not saved, so in order
# to perform full database restoration, you need first to create the schema
# and then run restore.sh to fill it with data.
#
# Usage:
#   dumpdata > dump

DBUSER=gkradius
DBSERVER=localhost
DBEXTRAOPTS=
DUMPTYPE="-a -Fc -Z 9 -v"

pg_dump $DUMPTYPE -U $DBUSER -h $DBSERVER $DBEXTRAOPTS voipdb