The goal of this fork is slightly different, this is a simple version for people who want to migrate their data from Garmin CN Server to Garmin International Server
- Download the file as zip format, unzip and find the backup.bat file
- Doule click backup.bat, it will ask for entering username and password.
- With the right username and password, it will fetch all activiest in Garmin CN Server. it might take a while if you have quite a bit of activities
- You can find all downloaded files in activities folder, which is under the same folder with batch file, upload your .fit files via Import data from Garmin page
- Enjoy your run :)
1.以zip文件格式下载代码,解压并找到backup.bat文件
2.双击运行backup.bat文件,输入账号密码(注意输入密码时光标不会显示任何东西),回车运行脚本
3.输入账号密码正确后,脚本会开始下载所有活动文件, 需等待一会(如果你的账号有非常多的活动)
4.你可以在跟bat文件同一目录下的activities文件夹下找到所有下载的文件, 通过Import Data上传对应活动文件到Garmin国际域名即可
5.冲就完事了 :)
我在上传数据的时候把所有下载的文件(.tcx, .fit or .gpx format)都上传了,我拿到了3份重复的数据
解决办法: 把新账号的活动全部移除,然后重新上传一次就好了
https://gist.github.com/shrayasr/8ba2f9f740dfdceb31834a0eb35cb4c2