I am pretty new in Linux. I am configuring my Raspberry that use Raspbian.
Before to perform 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 image of the SD card that contains my actual system state (so it have to contains the 2 used partitions and the file system).
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)? If yes, what have I to do?