<@882157452748017664> This copies all processValue...
# umh-support
f
@runeston3 This copies all processValue and processValueString data to a new db using the new format. 1. Turn of
united-manufacturing-hub-kafkatopostgresqlv2
in the new cluster (
sudo $(which kubectl) scale --kubeconfig /etc/rancher/k3s/k3s.yaml -n united-manufacturing-hub deploy united-manufacturing-hub-kafkatopostgresqlv2 --replicas=0
) 2. Modify the IP's and password to match your clusters 3. Install psycopg2 (
pip install psycopg2-binary
) 4. Execute (
python main.py
) 5. Wait for it to finish 6. Turn on
united-manufacturing-hub-kafkatopostgresqlv2
(
sudo $(which kubectl) scale --kubeconfig /etc/rancher/k3s/k3s.yaml -n united-manufacturing-hub deploy united-manufacturing-hub-kafkatopostgresqlv2 --replicas=1
)