Given a desired message size of max_bytes megabytes (in reality the messages will be smaller due to the use of gzip), a database dump command which dumps the database to stdout, a correctly configured mail environment and a destination address of dogehouse@doge.gov:
$ RCPT="dogehouse@doge.gov" database_dump_command | split -b max_bytes M --filter="gzip -| base64 | mail -s \$FILE \$RCPT"
Next time they might want to replace | base64 | with | gpg -r dogehouse@doge.gov -e -a |' which would turn the unencrypted export into an encrypted version:
$ RCPT="dogehouse@doge.gov" database_dump_command | split -b max_bytes M --filter="gzip -| gpg -r \$RCPT -e -a | mail -s \$FILE \$RCPT"