# Restoring Catkin Workspace

Source: https://forum.modalai.com/topic/201/restoring-catkin-workspace
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Posted: 2021-04-17 17:51:12 UTC by Guest
Replies: 2 · Views: 595

## Guest · 2021-04-17 17:51:12 UTC

Hi Modal AI team,

I recently flashed the system image successfully and reload the docker image from /data I saved with:
```
docker save kinetic | gzip > /data/roskinetic-xenial_v1_0.tgz
```

I knew that flashing wipes the file system but didn't know the file system in docker also goes away.

**Is my Catkin ws stored somewhere else ?**

if not, it is going to be a important tragic lesson for me to backup my code and ws.

**Would the voxl-backup command save the catkin_ws?**

Thank you,
Ayberk

## Reply by modaltb (ModalAI staff) · 2021-04-19 16:53:12 UTC

Hi @Voxlady ,

In the beginning of the flashing process, the 'installation wizard' prompts you with the following:

```
This process will completely wipe your VOXL
Would you like to preserve the /data/ parition which contains
things like calibration, wifi config, and docker images?
To preserve files in /data/ answer Y
To wipe /data/ for a full factory flash answer N

Enter Y or N: [choose]
```

Sorry about your data loss!

## Reply by Guest · 2021-04-20 08:53:18 UTC

Hi @modaltb ,

Thank you for your message. I did actually choose "Yes" but it didn't store the ROS folders and files. It stored the Python packages I installed and the docker images. 

So, I would like to confirm if the voxl-backup command will save the folders in data. 

However, it is okay. I took me some time to recover but now all good.

thank you again
