Just discovered this group as I am searching for answers, so that is great!
I am fairly new to deploying apps in Kubernetes with Helm and really the entire ecosystem.
We have an existing instance of Bitbucket Server running in Kubernetes that was deployed with community-provided Helm charts I believe.
After upgrading to the Data Center edition, I deployed it as a completely separate app using the official Atlassian Data Center Helm charts on GitHub using a newer Docker image as well. Everything seems to be running just fine, but I am at a bit of a loss as to the best way to migrate the data (projects, repositories, etc) from our old Bitbucket instance to the new one.
Database: AWS RDS Postgresql
Filesystem: AWS EFS (I am aware of the issues of using EFS with BB, but that shouldn't be related to migrating data.)
Thanks for the response, Dylan.
I was able to successfully restore the existing database into the new one. It appears that it really only populated the "Projects" data in the app. I am still lacking all of the repositories. I tried to use the 'kubectl cp' command to transfer the repositories data from one pod to the other. The data transferred just fine in the pods, but it had no effect on showing the repos in the app UI even after restarting the pod. I will have to look into AWS DataSync. Our existing instance isn't using EFS as the filesystem, so I am not sure whether I can still use that method or not.
Hey @Lucas Rodriguez
BB stores its repos in the shared filesystem (shared-home) which is why you probably cannot seem them for your new instance. I believe DataSync should work with any shared file system service that AWS supports, so unless you're using something else it should be able to assist.