Backup and restore in HELM

Is there a way to create a backup of redash running in Kubernetes with helm and restore it in automated way using helm too in another kubernetes cluster?

I was able to do this by creating an script that does this on the fly while running the helm scripts

cat backup_redash_postgres.sql | kubectl exec -it redash-postgresql-0 – env PGPASSWORD= psql -U redash redash