keepcalculator

06 Numbers and Powers

Rust Server Management: Setup, Security, Backups

Card No. 06·30437 · Updated · Standard formula, shown below

This guide covers the core duties of a Rust server administrator: securing the server, keeping it updated, and backing it up so you can recover from failures. You will learn concrete steps for initial setup, hardening, update routines, and backup strategies, plus answers to frequent admin questions.

Why Server Management Matters in Rust

Running a Rust server is different from playing the game. As an admin, you are responsible for uptime, performance, and the safety of player data. A poorly managed server loses players to lag, crashes, or griefing. More seriously, an unsecured server can be compromised, leading to stolen files, deleted worlds, or malicious code being injected into your game. Backups are your safety net: without them, a corrupted save or a failed update can erase weeks of player progress permanently.

Initial Server Setup and Configuration

Before you add plugins or tweak settings, get the base server running correctly. Start by downloading the dedicated server tool from Steam (SteamCMD) or your hosting provider’s control panel. Install the server files to a dedicated directory, not your game installation folder. Run the server once to generate the default configuration files, then stop it to edit them. Key files include server.cfg (server name, description, and admin list) and oxide/config (if using Oxide/uMod for plugins). Set a strong RCON password—this is the remote console password that gives full control over the server. Never use the default or a simple password. Also set your server’s world size, seed, and max players according to your hardware and expected population. Test that the server appears in the community list and that you can connect with your admin account.

Securing Your Rust Server

Security starts with the basics and extends to your network and files. Follow these steps to reduce risk:

  • Change default ports and RCON port: Use non-default ports if possible, but note that players need to know them. At minimum, change the RCON port from the default 28016.
  • Use a firewall: Restrict access to only the necessary ports (game port, RCON port, and query port). Block all other inbound traffic.
  • Keep RCON password strong and secret: Use a long random string. Do not share it. Change it periodically.
  • Disable unused features: Turn off the web console if you don’t use it. If you do, protect it with a strong password and consider limiting access by IP.
  • Use SSH keys instead of passwords for remote administration (Linux servers): This prevents brute-force attacks on your SSH port.
  • Run the server under a limited user account: Do not run it as root or Administrator. This limits damage if the server is compromised.
  • Keep the OS and server software updated: Security patches are released regularly. Apply them promptly.

For plugin security, only install plugins from trusted sources like the official uMod catalog. Review plugin code if you can, and avoid plugins that request excessive permissions. Also, regularly check your server logs for suspicious activity, such as repeated failed RCON attempts or unexpected file changes.

Managing Updates and Plugin Compatibility

Rust releases updates frequently, often weekly. When a new update drops, your server will be out of date and players cannot join until you update. The process is straightforward but must be done carefully:

  1. Backup your server files and world before updating. This is critical—updates can corrupt saves.
  2. Stop the server. Do not update while the server is running.
  3. Run SteamCMD to update the server files. The command is typically steamcmd +login anonymous +force_install_dir /path/to/server +app_update 258550 validate +quit. The app ID for Rust dedicated server is 258550.
  4. Update your plugins. After the server update, check for plugin updates. Outdated plugins often break with new game versions. Download the latest versions from uMod and replace the old files.
  5. Start the server and test. Connect as admin, check that the world loads, and verify that plugins are working. Look for errors in the console.

If you run a modded server, plugin compatibility is the biggest headache. Always read the update notes for both the game and your plugins. Some plugins need configuration changes after updates. If a plugin is not updated, consider removing it temporarily rather than risking a crash loop.

Backup Strategies and Restoration

Backups are your insurance against data loss. You should back up two things: the world save files and the server configuration (including plugins and their configs). The world saves are typically in server/<your_server_identity>/ and include files like proceduralmap.<seed>.sav and player.blueprints.<seed>.db. Configuration files are in server.cfg and the oxide config directory.

Follow a simple backup schedule:

  • Daily backups: Copy the entire server directory to a separate location on the same machine or a network drive.
  • Offsite backups: At least weekly, copy backups to a different physical location or cloud storage. This protects against hardware failure or theft.
  • Before any major change: Always back up before updating the game, adding/removing plugins, or changing settings.

To restore a backup, stop the server, replace the current files with the backup, and start the server again. Make sure the file permissions are correct. Test your backups periodically by restoring to a test directory to ensure they are not corrupted.

Common Problems and Troubleshooting

Even with good management, issues arise. Here are frequent problems and how to address them:

  • Server not appearing in the list: Check that the server is running, the ports are open, and the server is not behind a strict NAT. Verify the query port is correct.
  • Players get disconnected frequently: This can be due to network issues, server overload, or plugin errors. Check the server console for error messages, monitor CPU/RAM usage, and review network logs.
  • Server crashes on load: Usually caused by a corrupted save or a plugin conflict. Try removing recently added plugins, or restore a backup.
  • RCON connection refused: Ensure RCON is enabled in the server config, the port is correct, and the firewall allows it. Check that the RCON password is correct.
  • Plugin not working: Verify the plugin is compatible with your game version and Oxide version. Check the oxide logs for errors.

Always keep a log of changes you make—this helps you roll back if something breaks.

Frequently Asked Questions

How do I become an admin on my Rust server?

In the server.cfg file, add the line ownerid <steamID64> "Your Name" for the owner, or moderatorid <steamID64> "Name" for moderators. Restart the server. You can also add admins in-game using the oxide.reload command if you have Oxide installed, but the config file method is the most reliable.

What is the difference between a vanilla and modded server?

A vanilla server runs the game with no modifications. A modded server uses Oxide/uMod to load plugins that add features like teleportation, kits, or custom events. Modded servers require more maintenance because plugins must be updated and can cause conflicts.

How often should I back up my Rust server?

At least daily, and always before any major change like a game update or plugin installation. For a busy server, consider hourly backups of the world file to minimize data loss on a crash. Offsite backups should be done weekly.

Can I run a Rust server on a home computer?

Yes, but you need a good CPU, at least 8GB of RAM (more for larger maps and player counts), and a fast internet connection with a public IP. You will also need to configure port forwarding on your router. For serious communities, a dedicated server or VPS is recommended for stability and bandwidth.

What ports does a Rust server use?

By default, Rust uses UDP port 28015 for game traffic, UDP 28016 for RCON (if enabled), and UDP 28017 for the query port. You can change these in the server configuration. Ensure your firewall and router forward these ports to your server machine.

How do I update my Rust server without losing player data?

Stop the server, back up the entire server directory, then run SteamCMD to update the server files. Do not delete the server folder that contains your world saves. After the update, start the server and verify that the world loads correctly. Your player data will remain intact.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →