7 years, 10 months ago.

Zip archive backup

I cannot see the 'zip archive' option among the list of file formats that could be exported. How do I backup the code?

1 Answer

7 years, 10 months ago.

This is no longer an option, as it takes too long. You can use mbed cli to clone the repository locally though.

Here is an mbed-cli quickstart video

Here is the relevant documentation about its usage: https://github.com/ARMmbed/mbed-cli#importing-an-existing-program

Hey Sarah, I use Mac OS X Yosemite and am unable to download any of the code that I have written with its URL. The steps seem to suggest that only non secure repositories can be cloned locally. I have downloaded and installed python, git, mercurial, gcc and the mbed cli. Could you please help me if there is a way to locally backup the programs that I have written?

posted by Nikhil Prabhu 19 Feb 2017

Nikhil, is there an error when you try to use 'mbed import'? That is the method, as documented here https://github.com/ARMmbed/mbed-cli#importing-an-existing-program

posted by Sarah Marsh 20 Mar 2017

Sarah, there is an entire series of errors and it ends with the following - AttributeError: 'statichttprepository' object has no attribute '_wlockref' [mbed] ERROR: Unable to clone repository (https://developer.mbed.org/compiler/#nav:/STIM_EXP_R1/STIM_EXP_R1.cpp)

posted by Nikhil Prabhu 27 Mar 2017