Without checking the docs I would imagine you could do a little hack where you restore from pgbackrest into a clean postgres 14 cluster.