I was looking for an answer for few hours, but I am still not sure how to compare two Linux Systems with each other. I have an access to them via ssh.
What I was trying: Previously I thought that the best idea of comparing two systems is make an image of those system using dd and then compare them (but I don't know how, yet). Making a copy of the first system took a few minutes, but when i tried to do the same on the second machine - well, I was waiting 24 h and then I killed the process. Sth went wrong.
Command:
ssh -v -i /path/to/key ubuntu@ipAddress "sudo dd if=/dev/sda | gzip -1 -" | pv | sudo dd of=image.gz
(-v was unnecessarily, my mistake) showed me:
debug1: Sending command: sudo dd if=/dev/sda | gzip -1 -
and a day later aftyer kill
debug1: channel 0: free: client-session, nchannels 1
64.0KiB 22:03:20 [ 845miB/s] [<=> ]
debug1: fd 1 clearing O_NONBLOCK
Killed by signal 2.
Did I something wrong?
Ok, that was the first problem, but the thing is, that I want to compare two systems and I am not even sure if this method is correct. Can I compare two .gz files/images? Any software for that?