I create local and remote restic backups (using Backrest). I just point to the docker mount points and run database export as a pre-hook.