What is the best way to duplicate a droplet on your local machine?

June 22, 2015 3.6k views
Ubuntu Linux Basics Configuration Management

What is the best way to ensure that my local environment on my development machine exactly matches my production environment on my DO Droplet? I’m using a LAMP stack with Ubuntu.

I’m currently using XAMPP on my local machine but running into random environment issues because it doesn’t exactly match my DO droplet setup.

Any help anyone can provide would be greatly appreciated. :)

1 Answer

DO uses minimal installation images so create a virtual machine in your local system using minimal, like Ubuntu Server (CLI)..

Then use rsync to sync files between your droplet and local server !!

Have another answer? Share your knowledge.