Answer the question
In order to leave comments, you need to log in
How to clone server data?
Good day to all.
1. I have a server on digitalocean, Ubuntu 20.10 x64
2. There is limited testing of the application on it, but development needs to continue.
3. I want to make a subdomain dev.***.*** and clone all content including users, ssh keys, BDs, etc.
What is the best way to do this?
Answer the question
In order to leave comments, you need to log in
As always, there are several options. The first and most stupid one is to create a new vps and stupidly copy it. The option is more difficult. Set up virtual hosts, copy the base, set up the development environment, prod, stage, dev. Learn what git flow is and start using it. Third option. Wrap everything in the docker that was in option 2 and set up CI. The options are no worse, no better, they are just for different projects.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question