Report this

What is the reason for this report?

Using Power cycle for restart my droplet

Posted on November 1, 2015

If i restart my droplet, whether my database will be lost?



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!

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.

@jtittle would killall command shut down all running process then would be safe to reboot?

Use reboot through SSH to give it a soft reboot.

@hasayoume141 - The best way to issue a restart/reboot is to do so through the CLI. You can use reboot or the shutdown command to perform this task. You won’t lose your database as a result of a restart/reboot, though the potential for corruption exists, especially if there’s reading / writing taking place at the time of action (which can also result in incomplete writes). The best thing to do would be to shutdown services prior to shutting down or rebooting to ensure that reading & writing isn’t taking place at the time the system finally goes down as a result of the command.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.