Skip to content
Multigaming

Documentation: Backup script generator

Backup script generator for game servers: tar.gz or zip archive, 7z, or rsync/robocopy snapshots using hard links, exclusions, retention in days, service stop and restart for a consistent copy, optional off-site copy (rsync over SSH, network share) and a cron or schtasks line. The script is generated in your browser; review it and test a restore before relying on it.

Last updated: 10/9/2026

Open the tool

Regular backups protect against world corruption, a bad update or an admin mistake. This tool writes the script, the retention and the schedule, without your data ever leaving your machine.

How to use the tool

  1. Choose Linux (bash) or Windows (PowerShell) and the method: archive, 7z or snapshots (rsync / robocopy).

  2. Enter the folder to back up, the destination, the exclusions and the retention period.

  3. Enable service stop for a consistent copy if the game has no hot-save command.

  4. Save the script, make it executable, schedule it (cron or schtasks line provided) and test a restore.

Good practice

Apply the 3-2-1 rule: three copies, two media, one off-site. A backup never restored isn't a backup: test regularly. The download has a .txt extension: rename it to .sh (Linux) or .ps1 (Windows). Adapt the default paths (Linux-style) to your system. Backups may contain passwords (RCON, database): protect the destination folder. Off-site copy with rsync assumes SSH key authentication; for object storage (S3), add a dedicated client such as rclone. “Snapshots” mode keeps one folder per run while saving space with hard links (rsync --link-dest); retention deletes folders older than N days.

# Restore test (archive method)
mkdir -p /tmp/restore-test
tar -xzf /backups/gameserver/gameserver-YYYYMMDD-HHMMSS.tar.gz -C /tmp/restore-test
ls /tmp/restore-test

Frequently asked questions

Do I need to stop the server during the backup?
It is the safest way to get consistent files. Otherwise, force a world save through RCON just before (see the RCON command sheet) or use the game's own backup features.
Where should I store backups?
Not only on the same disk as the server. Use a second disk or, better, another server or remote storage (rsync over SSH).
Multigaming
MultigamingOpen access
Default ports for FiveM, Minecraft, Rust, DayZ, ARK, Valheim, Palworld, CS2, Arma… and a check of your list of opened ports.
PortsNetworkOpen
Documentation
Multigaming
MultigamingOpen access
Admin commands per game (Minecraft, Rust, ARK, Palworld, DayZ, CS2…) ready to copy, filled with your parameters. No network.
RCONAdministrationOpen
Documentation
Multigaming
MultigamingOpen access
Generate cron, a systemd timer or a Windows task (schtasks) with RCON player warnings before each restart.
RestartSchedulingOpen
Documentation
Multigaming
MultigamingOpen access
Estimate a game server's CPU, RAM, disk and bandwidth from slots, with visible formulas and editable assumptions.
SizingCostOpen
Documentation
Multigaming
MultigamingOpen access
Turn a port list into ufw, iptables, nftables or Windows netsh rules for your game server.
FirewallSecurityOpen
Documentation
Multigaming
MultigamingSign-in required
Compare two config files (INI, CFG, JSON): line-by-line and key-by-key differences, locally in your browser.
DiffConfigurationOpen
Documentation