I want to copy everything in root /
to my external hard disk before I upgrade my OS so I'll have everything just in case something goes wrong. Is the following the most appropriate command for it?
username@machine:/$ sudo cp -r . /media/username/TOSHIBA EXT/root_copy/