# SIRF-Exercises update and backup instructions Please do *not* currently attempt to update a 3.1.0 VM. We feel you could benefit from a reset of your `SIRF-Exercises` notebooks to the most up-to-date version, as we encountered a few cases were people have different versions depending on when you joined the Cloud, or docker. In addition, we have made some fixes after the release of the VM. Please do this before you start with notebooks of Week 2. Note that `CIL-demos` have not been updated and we are not aware of a need to change anything. ## Step 1: Close any running notebooks in the usual way (File menu->"close and halt"). ## Step 2: Open a terminal via the Jupyter interface and change directory to where the exercises are: ``` cd /where/ever/SIRF-Exercises ``` (see below for location) and copy paste the following (potentially modify your email/name, but this actually doesn't matter as long as you don't `git push` anywhere else) ``` git config --global user.email you@example.com git config --global user.name "Your Name" cp -rp notebooks notebooks-week1 git checkout -b notebooks-week1 git add . git commit -m "my modifications" git checkout master git pull ``` (Note that to paste in a Jupyter terminal, you will likely have to right-click, or similar on MacOS. It is recommended to use "paste as plain text" if that's an option that appears for you.) Ater this, you should have a copy of your modified notebooks in `SIRF-Exercises/notebooks-week1`. You can also get back to them via the `git` command, but this is for advanced users only. ### where is `/where/ever/SIRF-Exercises`? - cloud: `~/SIRF-Exercises` - VM: `~/devel/SIRF-Exercises` - docker: `/devel/SIRF-Exercises` # Final note It is of course recommended to make some backups of your own notebooks to your local computer system. You can download notebooks via the Jupyter interface. Simply select a notebook and then you have the option to download: ![](https://i.imgur.com/30dHgbw.png)