Question

restore droplet backup

I’m running a ubuntu / Apache system

I did some server maintenance just running the regular maintenance commands. sudo apt-get update sudo apt-get upgrade sudo reboot

After the reboot Apache didn’t start. And all the websites are down. I wasn’t sure what the problem was so I restored a droplet backup from the previous day.

This didn’t seem to work right away. (even though the restore process appeared to be finished) An hour later, I saw my sites were loading again. So I assumed restoring the backup had rolled back the problems caused by the updates. This morning however all the sites are now down again and apache is not able to start.

I thought that restoring the backup would have rolled back any of the server maintenance updates?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
July 31, 2023

Hello @danielflorido

One possible reason could be that a package that Apache depends on was altered during the update and upgrade process. It happens sometimes that a new version of a vital package introduces a bug that makes Apache unable to start.

Your decision to restore from a backup was a good one, however, automatic updates could have reinstated the faulty package. To prevent this, you might consider disabling automatic updates momentarily until you can identify and fix the problem.

Here’s the steps to check why Apache is not starting:

  • Check Apache’s error logs. You can find these generally at /var/log/apache2/error.log.
  • Type sudo systemctl start apache2 command into your terminal and see if there are any error messages.
  • If you still can’t identify the problem, you can check the status of Apache by inputting sudo systemctl status apache2 into your terminal.

These steps should lead you towards the specific error that is preventing Apache from starting.

Once you’ve identified the error, please refer to this DigitalOcean tutorial on troubleshooting common site issues on a Linux server for a range of potential solutions.

Hope that this helps!

Sri Charan Madhavapeddi
DigitalOcean Employee
DigitalOcean Employee badge
July 31, 2023

Hello,

We understand that you have few queries on Drolpet backup:

You can also restore an existing Droplet to one of its backups, replacing the original Droplet with one based on the backup image. This is useful if you want to completely revert a Droplet to an older point in time, but you will lose any changes on the Droplet from after the backup was taken.

https://docs.digitalocean.com/products/images/backups/how-to/create-and-restore/

Regarding the Apache issue, we request you to open a support ticket, where we have better insights on your Droplet and the backend stuff.

Cheers, Sri Charan

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel