I have an Ubuntu 18.04 installed on a 2 TB Seagate drive.
I have another 2 TB Western Digital drive formatted ext4.
I would like to copy the Ubuntu OS on the seagate drive (sda) to the Western Digital drive (sdb).
Every so often I can boot to the western digital drive and run updates and all that.
The western digital will be a backup drive.
With 2 different drives I did not think anything would have to be changed but then I read something about the UUID. I read I would have to unplug the Western Digital drive because of the UUID??? I do not want to have to plug in and unplug a drive depending of the drives usage.
I understand I can use
dd to copy drive sda to sdb.
I am asking whether I have to change something, the UUID or something like that, to be able to boot to the new OS on drive sdb.
How do I change the UUID or whatever it is I need to change? Thanks for your help!
dd, you could use
rsyncto copy the content. This also alows you to only copy changes at second and following backups.