By hasayoume141
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!
@jtittle would killall command shut down all running process then would be safe to 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.