How to migrate hosts the easy way
Here’s how you can migrate your entire server configuration from an old host to a new one:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scp root@oldhost:/root/.bash_history /tmp/migrate.sh | |
sudo sh /tmp/migrate.sh |
No need to futz about with Ansible, Jenkins, Docker or any of that other crap.