#!/bin/sh su - pgsql -c "~/bin/pg_dump -C syshost > /user/dump/pgsql_`date +%Y%m%d`.sql"