How to mIgrate Nexus Repository manager 3 installation to Kubernetes

Hi folks, we have Nexus Repository Manager 3.36 installed in AWS. Since we’ve been migrating everything to our kubernetes clusters I was wondering if there is a way to migrate all repo, users etc. configurations + data to kubernetes nexus deployment? Found this page but it seems outdated as our file structure doesn’t look like the one mentioned on that page. Tried to rsync /opt/sonatype/nexus/etc/ directory from AWS Nexus locally but then I couldn’t copy the files to nexus kubernetes POD as I got errors “tar: fabric: Cannot mkdir: Permission denied” or Directory exists.