You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'd like to migrate PVCs from one database to another. However, I don't want the DB process to start because it'll start joining my cluster or serving users. Beyond, I'd like to use it with other applications and only let them start when the data is fully migrated.
Is there a feature of the tool that allows this? Should I use something like an init container?
What do you guys normally do?
The text was updated successfully, but these errors were encountered:
This tool is completely agnostic to such cases, it simply copies the data over. If the source or destination PVC is already mounted to a pod, it fails explicitly, unless --ignore-mounted flag is set.
So what you would want to do is, scale the database workload (deployment/statefulset) to zero, do the migration and then scale it back up.
Also, to clarify, this tool's main use case is for one-off migrations, not sync'ing data continuously or so. So an init container etc. do not make much sense imo. But ofc, it always depends on what you need exactly.
Hi,
I'd like to migrate PVCs from one database to another. However, I don't want the DB process to start because it'll start joining my cluster or serving users. Beyond, I'd like to use it with other applications and only let them start when the data is fully migrated.
Is there a feature of the tool that allows this? Should I use something like an init container?
What do you guys normally do?
The text was updated successfully, but these errors were encountered: