I want to install mariadb in k8 and also want to enable backup using sidecar container

what are the doc need to follow and what need to take care on this also i want to access this mariadb rom out side and i want to enable bin to in case i need to do point in time restore