Trying to migrate my ODK deployment and its data from AWS to Digital Ocean - #2 by yanokwa has guidance on how to move data from one server to another server.
The above link assumes you aren't changing hostnames. If you are, the process is a lot more complicated because you'll have to find and replace the hostnames in the Redis databases that Enketo uses.