5 ms·
According to this article, Docker is a way to save your work after configuring your server. Can't I do that with rsync -a /etc /whatever backupserver:/back
by leephillips 11y ago
According to this article, Docker is a way to save your work after configuring your server. Can't I do that with
rsync -a /etc /whatever backupserver:/backups/server1
?
- superuser2 11y agoThat won't get your application and its dependencies installed and running.
- fragmede 11y agoFirst 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.
- deleted 11y ago[deleted]