On 10/11/18 9:52 PM, Randy Barlow wrote:
On Wed, 2018-10-10 at 00:17 +0000, kevin(a)scrye.com wrote:
> +/usr/bin/pg_dump --exclude-table-data users --exclude-table-data
> tokens --exclude-table-data 'social*' --exclude-table-data sessions
> -C $DB | /usr/bin/pxz -T4 > /backups/$DB-public-$(date +%F).dump.xz
It might be good to add a comment over this line that explains that
it's excluding the data since it has personally identifiable info, so
that nobody removes it in the future not knowing what it was for.
Well, I could, but seems not worth another freeze break. :)
I can stash a commit for after freeze.
Thanks for the idea.
kevin