I’m using basebackups for postgresdatabases.
In the file /usr/local/share/urbackup/scripts/postgresbase, there is the line:
su postgres -c “cd ~; pg_basebackup --format=tar --xlog -D -”
on never postgresql versions (I think after 10.x) it should be (It should also work with < 10.x versions, so it should be easy to change):
su postgres -c “cd ~; pg_basebackup --format=tar -X fetch -D -”
Obviosuly I can change that by hand. Unfortunately it will be overriden each time the urbackup client gets updated…