I am using Gentoo at work and I f***** it up multiple times by now. I have second hard disk which is not in use in my computer. Is there any way to backup whole hard disk in use onto a second and then if needed restore it. Of course if it's possible to automate it to backup every time I log in that would be awesome.
1 Answer
You can buy disk-cloning hardware. Pull your hard-drive and plug it in as source. Put your extra one in as the target and push the button.
dd
but it will be a pain to recover individual files, and it will be slow (you are basically copying the whole disk each time, so a 1TB HDD is about 3 hours, and a SSD could wear out) or backup files (rsync or else) which is a lot faster (only the changed files are copied) but you won't restore a bootable image from that. Two really different uses. Personally, I have erased more files by mistake than lost complete drives.