Central Backup and Restore with Change of Domain Names

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:



That was beautiful! I've been looking for a way to do it for a long time. Thank you so much.


In the script:


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!

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.