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

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


Hi @fanta,

This is something we’re actively working on, you can track the progress here. 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