I am pretty new to Linux.
I am configuring my RaspBerry that use RaspBian (that is a minimalistic Debian distribution).
Before changing some settings I want to have a backup of my entire system in the current state.
What can I do to save the entire system on a backup file (or something like it). I want create an immage of the SD card that contains my actual system (so it have to contains the 2 used partitions and the file system). I want to do this in such a way that if I do some error I can restore my system.
To write RaspBian on the SD card I used the Linux dd command, can I do the same operation in the opposite direction (copy the actual state of my SD card on a backup file)?