I recently backed up ODK Central and restored it on a different server. The new server was to use a new domain name.
I documented the process and you can check it out here:
https://dev.to/kagundajm/odk-central-domain-change-a-painless-backup-and-restore-tutorial-4gpk
3 Likes
lv
2
That was beautiful! I've been looking for a way to do it for a long time. Thank you so much.
Note:
In the script:
cache-odk-domains.sh
I had to add the port too at the keys, otherwise it was trying to connect to 6379
The line:
keys=$(redis-cli -p 6380 KEYS "*")
Thanks again!
1 Like
Thank you for the kind words!
I'm pleased to hear that the article provided the solution you've been looking for.
I will update the article to reflect the port number for the cache-odk-domains.sh file.
1 Like