2 ms·
First off, rsync -a / backupserver:/backups/server1 would be a better comparison; full server state never properly stays in /etc. Do you actually do that
by fragmede 11y ago
First off,
rsync -a / backupserver:/backups/server1
would be a better comparison; full server state never properly stays in /etc.
Do you actually do that though? Multiple times a day? How easy is it to roll back to a previous state?
Given Dockerfiles, a better comparison would be rsnapshot, since intermediate steps are important, and maybe that last "yum upgrade/apt-get update/whatever" broke something (on dev, of course) and you want to roll back.
How do you compare two related file system images? Is there something more advanced than "diff -u"? How does that handle binaries? Will that map backwards and say what command resulted in changed binaries? Can I submit a code review for the changes between the two states like I could for a Dockerfile which is plain text?
Docker isn't quite a configuration management system like Chef or Puppet, but there's a lot of overlap.