I want to backup my whole system. I am wondering if the dd command is a good choice for that.
dd if=/dev/sda of=/dev/sdb
For example: /dev/sda is my system partition (partition is on a ssd if that information is important) and /dev/sdb is my external usb hdd. Is it possible to clone the whole system to a specific directory on my external hdd? Like this:
dd if=/dev/sda of=/dev/sdb/directory
I thought of the possibility to write my own backup-script, which makes a weekly backup of my system using the 'dd' command. Beyond that i want to encrypt my backup directory. What is a good choice for doing that? (I thought of EncFS for example).