例如tar --sparse
从官方文档里就能看出tar相关的参数并不多,https://www.postgresql.org/docs/current/app-pgbasebackup.html 比如:
--gzip --compress
另外,您可以尝试备份到stdout,然后通过管道符传给tar,此时就可以使用其他参数。