What to do first if you re manually editing files directly on a production server with no backups

0 votes
You've been hired on to a web development team that is lacking every sort of "best practice" in their environment. There's no version control, no backups, development is done using a basic text editor.

My problem is that I can't seem to find any resources to reference that can tell me what to do if I was in this scenario. Should I first take a backup of the database? Version control? Check for security holes? What comes next?
Jul 11, 2018 in DevOps Tools by Nilesh
• 7,060 points
1,290 views

1 answer to this question.

0 votes

 Make sure production is being backed up regurally and there's a DR plan in place. Database, web site(s), any dependencies - everything you need to get the application(s) running on a new server. Secure off-site backups would be ideal.

Set up a stage environment on a new server. If you feel the DB instance should be on its own server (not web facing), put that on its own server.

Implement any version control system, load your code into it, and deploy it to the new stage environment. I believe Visual Studio Team Services is free for up to 5 users. If your team is larger than 5 people, get your company to spend the money.

Wipe out the old production server and use that as stage.

No matter how bad the environment, it can be fixed. It will take time and will be painful for everyone involved. But that just makes it so much more gratifying when you're done.

answered Jul 11, 2018 by Kalgi
• 2,680 points

Related Questions In DevOps Tools

0 votes
1 answer

How do you manage builds for a monorepo in Jenkins with multiple services? Can you share a Jenkinsfile to target specific folders or services?

The build management in Jenkins for a monorepo requires pipelines that can ...READ MORE

answered Nov 25 in DevOps Tools by Gagana
52 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
+2 votes
1 answer
0 votes
1 answer

Can I use Bluemix devops services with a dedicated Bluemix?

DevOps services isn't currently working in dedicated. READ MORE

answered Jul 11, 2018 in DevOps Tools by Kalgi
• 2,680 points
795 views
0 votes
1 answer

How to connect to Vault server

You need to configure the back end ...READ MORE

answered Jul 12, 2018 in DevOps Tools by Kalgi
• 2,680 points
3,378 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP