# How can I make an image from SD, that Etcher can then restore to the SD?

**URL:** <https://forums.balena.io/t/how-can-i-make-an-image-from-sd-that-etcher-can-then-restore-to-the-sd/56049>\
**Category:** balenaEtcher\
**Created:** [January 10, 2020, 5:51pm UTC](https://forums.balena.io/t/how-can-i-make-an-image-from-sd-that-etcher-can-then-restore-to-the-sd/56049 "2020-01-10T17:51:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fanta](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/fanta/32/2950_2.png) [@fanta](https://forums.balena.io/u/fanta)\
**Post date:** [January 10, 2020, 5:51pm UTC](https://forums.balena.io/t/how-can-i-make-an-image-from-sd-that-etcher-can-then-restore-to-the-sd/56049/1 "2020-01-10T17:51:06Z")

</div>

How can I take the image of an SD card, such that it is then possible to later flash the image back to a card? E.g. under Ubuntu could I use something like

`sudo dd if=/dev/sdg of=./file_name.img`

?

---

<div class="post-metadata">

**Author:** ![ntzovanis](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ntzovanis/32/1150_2.png) [@ntzovanis](https://forums.balena.io/u/ntzovanis)\
**Post date:** [January 10, 2020, 6:12pm UTC](https://forums.balena.io/t/how-can-i-make-an-image-from-sd-that-etcher-can-then-restore-to-the-sd/56049/3 "2020-01-10T18:12:08Z")

</div>

Hi @fanta,

This is something we’re actively working on, you can track the progress [here](https://github.com/balena-io/etcher/issues/266). In the meantime, the command you shared, will work just fine under Ubuntu (same for other linux distributions and OSX).  
You just need to make sure that `/dev/sdg` is the drive you’re targeting. You can get more info on the devices with `df -h`

Cheers,  
Nico.
