finlay
October 20, 2021, 12:51am
1
Hi, I need to move data from some projects from one server to another.
I was trying with ODK-Briefcase but looks like it wasn’t work and I can’t find references about how to migrate project data between servers… could you know how can I do the data migration?
Thanks,
Jonathan
1 Like
finlay
October 20, 2021, 2:15am
2
I find the solution for downloading data here:
Hi @wb_cjc ,
Please follows the steps as outlined below to download the data that is in the KoBoToolbox server using ODK Briefcase:
Pull>Configure (configure the ODK Briefcase by setting the URL, User Name & Password). URL is https://kc.kobotoolbox.org/user_name if you are using the HHI server and https://kc.humanitarianresponse.info/user_name if you are using the OCHA server. User Name is your KoBoToolbox User Account Name and the Password is the KoBoToolbox User Account Password.
Once you h…
Now I like to upload into the other server but ODK-Briefcase pull function show this error:
1 Like
finlay
October 20, 2021, 2:45am
3
The final steps are:
Download (Pull) the project and data from the source server
Download (Pull) the project from the destination server
Move the instances folder from source server ODK-Briefcase folder to destination server ODK-Briefcase folder
In a terminal change directory to destination server ODK-Briefcase folder and:
for f in `find . -name "submission.xml"`; do
sed -i 's/sourceFormID/destinationFormID/g' $f;
done
Finally upload (Push) data using ODK-Briefcase.
I put this here to help other in the same situation.
3 Likes
Thank you for sharing the solution with the entire community, @finlay ! It should be very helpful
@finlay , you should also be able to migrate projects from the source server to the destination server as outlined in the post discussed previously:
Hi @imran3may ,
You could migrate your KoboToolbox project from one server (from humanitarian to non-humanitarian or vice versa) to the other using ODK Briefcase as follows:
In this post, I will illustrate on how to migrate a survey project from a non-humanitarian server (Kobo server) to a humanitarian server (OCHA server).
At the moment, my non-humanitarian server (Kobo server) has a project with 5 submissions.
[Image 0_1]
I would wish to migrate this project to the humanitarian server (OC…