#!/bin/sh . lib.sh . common.opts load_opts "$1" DATE=$(date -Iseconds) jexec $POSTGRES_JAILNAME su postgres -c 'pg_dumpall' | xz > pgdump_$DATE.xz