«

»

May 22 2013

Print this Post

Garmin Edge raw data FIT file backups

Garmin Connect is a great system of storing your GPS data, and being stored on the internet you can rest assured that Garmin would maintain a high standard of redundancy in the event of a data server failure.

But, do you really want to lock yourself into using Garmin Connect? If in a few years time a new service opens for business that performs better data analysis, you may wish to switch. Garmin Connect won’t implement the ability to bulk export data in a universal format to other providers because they want to lock you in. Logically it’d be part of their business strategy to do so.

I’ve previously posted a method that allows you to bulk export data from Garmin Connect, because as it is, Garmin only allow you to export one data file at a time. As someone that has 2 to 3 data file per day (2 commutes, and a training ride), it was a massive pain to have to export all my Garmin Connect data when I wanted to upload old data to Strava.

Up until recently, I’ve always used Garmin Forerunner devices which used the Garmin Ant Agent to wirelessly transfer the .FIT files from the device to my computer, and then from the computer to Garmin Connect. I notice now using the Garmin Edge device, with the USB connection to the computer, Garmin Connect skips the step of copying to the computer first the Ant Agent did, and uploads directly to Garmin Connect. Likewise if uploading using the smartphone connection ‘instant upload’ instead of USB to your computer. The result being that with Garmin Edge devices, the raw data is only stored on your device. (Note that the data is on Garmin Connect, but is converted from the raw .FIT format to the .TCX format, and not all software on the market will ever necessarily flawlessly support TCX files, if at all – why would they?) When (if) your Edge device becomes full, it will delete old data automatically in order to accommodate new data. You *could* store the activity files on the SD Card, but current Garmin Connect has a bug which doesn’t allow uploading activities from Garmin Connect (presumably this will be resolved shortly). It’s also possible your Edge device may break, or get stolen. My point being, your .FIT files are at risk of being lost forever! Oh no!

Fear not, there is a simple solution to automate the process of backing up your .FIT files from Garmin Edge devices if you’re prepared to plug the USB into your computer every so often. Follow this procedure to set it up on your computer that I’ve prove to work with my Edge 810 on a Windows 8 machine:

Notice

You can use this script for backing up data from your Forerunner 310XT, 910XT, or any other Garmin device that copies data to Garmin Connect using the Ant Agent. You’ll find the .FIT files are copied to the following directory on your computer on a Windows 7 or Windows 8 machine, but you’ll probably have to enable hidden folders to see the AppData folder. There may be slight variances to your computer, if this doesn’t find your directory then simple just search your hard drives for ‘Garmin’ or ‘*.FIT’. The ******** should be substituted with the device number, which is a series of digits, and ‘Tom’ should be substituted with your Windows username.
c:\Users\Tom\Appdata\Roaming\Garmin\Devices\**********\Activities\

batfile
  1. Connect your Edge to your computer via the USB
  2. Note the drive and folder that your activity .FIT files are stored in (be careful not to mix up the drive of the internal storage with the drive of the SD Card, if you’re using one).
  3. Create a folder on your computer that you wish to store your data files in. I like to keep data from my previous Garmin devices separated, because each device has different quirks, so I used an additional sub folder. (I also used a variation of this process to copy .FIT files from my old Forerunner 310XT and 910XT directories which were located in an illogical hidden directory for data backup purposes (refer note at end).
  4. Open up a text editor, i.e. Notepad, and copy the following two lines of text:
    xcopy "I:\Garmin\Activities\*.*" "E:\Garmin Data\810 Activities\" /D /E /V /F /Y
    pause
    The first directory is where my .FIT files are stored, and the second directory is where I’m copying them to. To learn about what the ‘switches’ mean after the destination file path, go to the command prompt by holding the Windows Start button and pressing ‘r’ at the same time. Then type cmd, and hit enter. This will bring up the command prompt. Then type ‘xcopy /?’ to bring up an explanation of all the available switches. You can adjust them to suit yourself if you’re comfortable with what you’re doing. The second line of text, ‘pause’, just keeps the window open so that you can see what files have actually been copied across, and you can check whether the script it working or not. Once you’ve verified it’s all working, you could simply remove the pause command if it annoys you after a while.
  5. In Notepad, go to ‘Save As’, and in the drop-down menu of the file type, change it to ‘All Files’ instead of ‘*.TXT’ files. Then when you save the file, save it as whatever you’d like your batch file to be called, with the filename extension of .BAT. For example, I saved my file as:
    E:\Garmin Data\810 Activities\810 backup script.BAT
  6. Then any time you have your device plugged in and double click this BAT file, it’ll copy over your data. Run it now to check.
  7. Having checked it works, you may wish to create a shortcut to this BAT file to your desktop to remind you to do it.
  8. You can also assign a shortcut key combination, such as Ctrl+Shift+G to make this easier to do every time you plug in your device. To do this, right click on the shortcut, go to properties, and in the ‘Shortcut key’ field, press your combination of keys to assign, and click Apply. You can also change the icon to something a little more attention seeking to help it stand out on your desktop and remind you to do it every so often.
  9. Optionally, you should have your ‘Garmin Data’ directory on your computer backed up to cloud storage, in case your hard drive fails and you no longer have your Garmin device. This has happened to me so I know the pain of having run multiple marathons and then not having the GPS data to prove your times to the world.

Important!

Hot tip: I strongly suggest SugarSync as a cloud storage/backup solution. If you setup a free 5GB account using this referral link, we’ll both be rewarded with extra 500MB, so you’ll end up with a free 5.5 GB account.

That’s it, you’re done! It might be a good idea to check that it’s all working from time to time, and please let me know if you run into any problems or have a better suggestion. Thanks!

Notice

You may also wish to consider backing up other data from your Garmin device. For example when upgrading your Edge 810 firmware from version 2.20 upwards, Garmin require deleting profile data from the device for whatever reason. It’s also going to potentially save you time should your device fail and you buy a new one, you can just copy it back again after upgrading to the same firmware. I can cover more detail on this, but basically just substitute “”I:\Garmin\Activities\*.*” to remove the Activities subfolder.

About the author

Tom Bammann

Tom has a history of competitive marathon running around Australia. Thanks to encouragement from Nick he fortunately reignited his passion for mountain biking again, and became involved with Team Bobby Dazzlers. Extreme motivation, dedication, and passion, has seen Tom's ability progress to a level he only ever dreamed of.

Permanent link to this article: http://teambobbydazzlers.com/2013/05/garmin-edge-raw-data-fit-file-backups/

2 comments

1 ping

  1. Raul Veldhuizen/The Netherlands

    Very nice you’ve looked into this!
    Some remarks/questions:
    310XT still does copy the files to the computer.
    810 indeed doesn’t.
    But the 800 did. But I cannot find the folder anymore, nor info on where it should be. (not even Garmin US can tell me, says something about the knowledge level) Was it in a folder called ‘roaming’?)
    I would say there’s an aspect of contempt by Garmin for us sportsmen. We are the owners of our registrations aren’t we?
    What I would like to have: a method of only backing up the ‘special’ regs. Races, big rides etc.
    If necessary with the help of GC, by working with the ‘star’ qualification….????

  2. Raul Veldhuizen/The Netherlands

    By the way: I just discovered a tool that let’s you create a Google map with more than 1 of your regs on it! Nice.

  1. Automatic backup of Garmin Edge 510/810 settings » Team Bobby Dazzlers

    [...] « Garmin Edge raw data FIT file backups [...]

Leave a Reply

Follow

Get every new post delivered to your Inbox

Join other followers:

%d bloggers like this: