Skip to main content

How to bring your Rust server back after a power cut

Automatic recovery has two parts. The host must power on when power returns, and the operating system must start your server when it boots.

Set what the host does when power returns

Check the manual for your host or its motherboard for its power recovery setting. Some hosts offer a choice such as power on or restore the last power state. Choose the behaviour you want for your dedicated host. If the host stays off after an outage, an operating system startup task has no chance to run.

Check Rust starts before anyone logs in

Use one startup method that launches the intended server. On Windows, use a Task Scheduler boot trigger if you use a scheduled task. On a Linux host using systemd, enable the configured server service. Run a planned reboot while you can reach the host. Leave it at the sign-in screen and have a client connect to the expected world.

A planned reboot checks the server startup part. Separately, check the firmware behaviour during planned downtime on a spare host with similar hardware if available. Avoid pulling power during a live game just to test recovery.

Sources

Analytics settings

Analytics are off.

Help improve RustSC with page counts and performance measurements. Privacy details