pg_dumpでデータの中身は不要なテーブルをアレするオプション
${PG_PATH}/bin/pg_dump \
-h ${DB_SRV} \
-U postgres \
--schema public \
--create \
--no-unlogged-table-data \
-j 4 \
-Z 9 \
--verbose \
--no-tablespaces \
--exclude-table='tt_block_*' --exclude-table='tt_mute' \
--format=directory \
--file=${BAKDIR}/monthly/${DT} \
${BAKDB}
となってるわね。
思考の /dev/null