Re: [Freeze Break Request: ] Switch anitya backups to use --exclude-table-data rather than excluding entire tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/18 9:52 PM, Randy Barlow wrote:
> On Wed, 2018-10-10 at 00:17 +0000, kevin@xxxxxxxxx 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


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux