FiveM · Backups and your world

FiveM server backups and moving a server

How backups work for your FiveM server, what they include, how to restore or download one, and how to move a FiveM server and its database from another host.

By Last reviewed 4 min read

FiveM servers are coming soon

Cfx.re only lets hosts it has authorized sell FiveM servers, and servers on other hosts get blocked. FiveM opens on Wilderack the day Cfx.re approves us as a hosting partner. These guides are ready for the day we open.

Join the FiveM waitlist

Your FiveM server is backed up every 10 minutes while it runs, and before every risky step. A backup holds your server.cfg and other config files, every resource, txAdmin’s data and your framework’s database. You can restore one, or download it as a zip, from Backups.

What a FiveM backup holds

FiveM has no single “world” file. Your server is made of four things, and backups keep all four together:

Part Where What’s in it
Config files server.cfg and other .cfg files Settings, admins, the list of resources to start
Resources resources/ Every script, car, map and clothing pack
txAdmin data txData/ txAdmin’s admins, settings, player list, bans, warnings and whitelist
Database The server’s MariaDB database For frameworks: characters, money, jobs, vehicles, houses and inventories

The game’s own server files (artifacts) aren’t in backups. They install fresh from Cfx.re.

How backups work on Wilderack

  • Every 10 minutes while the server runs and something has changed, a safe copy is made.
  • Every time it sleeps, if you turned sleep on. FiveM stays awake by default.
  • Before every risky step: switching games, restoring, updating and installing from Mods. These copies are kept for 7 days.
  • By hand: open Backups and make one, with a label like “before new police script”.
  • On a schedule: add a backup to Schedules, such as every 6 hours.

Backups only store what changed, so many backups of a big server don’t take much room.

Restore a backup

  1. Open Backups and pick the backup by its date or label.
  2. Choose restore. The panel makes a backup of the current state first, so you can undo it.
  3. The server restarts on the restored files and database.

Restoring the whole backup rolls the database back too. Characters, money and items your players earned since that backup are gone. To fix a broken script without touching player data, restore only its files.

To get back one file, like server.cfg from yesterday, open it in Files and pick an earlier version by date.

Download a backup

Open Backups, choose a backup and download it. You get a zip with a link that works for 24 hours. Keep a copy on your own computer before big changes, like switching frameworks.

Move a server from another host or your PC

Moving a FiveM server means moving its files and its database.

  1. Stop the old server, so nothing changes while you copy.
  2. Download the server folder: server.cfg, any other .cfg files, the resources folder and, if you use txAdmin, the txData folder. You don’t need the artifacts (the folder with FXServer.exe or run.sh).
  3. Export the database if you run a framework. Use your old host’s database tool, or a program like HeidiSQL, to export it as one .sql file.
  4. Zip it all together, with server.cfg at the top of the zip.
  5. Open Games > Bring your world and upload the zip.
  6. Paste your license key into the license key field, if it isn’t set yet.
  7. Check server.cfg:
    • The endpoint_add_tcp and endpoint_add_udp lines must use the port on your address card.
    • Database settings (often a set mysql_connection_string line) must point at your Wilderack database, not the old host’s.
  8. Start the server and watch the Console for errors.

If the database doesn’t come across, or you’re not sure about a step, email us at support@wilderack.com and a person will help.

Escrowed scripts keep working if your license key belongs to the account that bought them. If one says it failed to verify a protected resource, its hidden .fxap file didn’t make the trip. Download the script again from where you got it, such as the Cfx.re Portal or your Tebex email, and upload the whole folder, hidden files included. See paid and escrowed resources.

Single player

FiveM has no single-player world to bring over. GTA V’s story mode saves and GTA Online characters don’t carry into FiveM. Players start fresh on each server.

Questions

Does a FiveM backup include player characters and money?

Yes, on Wilderack. Frameworks like QBCore, ESX and Qbox keep characters, money and inventories in the database, and our backups include the database along with server.cfg, resources and txAdmin's data.

How do I move my FiveM server from another host?

Download your server folder (server.cfg, resources and txData) and export your database as a .sql file, zip them together, and upload the zip in Games and then Bring your world. Then put your license key in the panel.

Can I use the same license key after moving my FiveM server?

Yes. The key belongs to your Cfx.re account, not to a host. Stop the old server first, then paste the key into the new server's license key field.

Sources we checked

  1. Setting up a vanilla FXServer (server data folder)Cfx.re
  2. txAdmin environment configuration (txData folder)Cfx.re
  3. Failed to verify protected resource on FiveM and RedM serversCfx.re

Be first to host FiveM

Cfx.re only lets hosts it has authorized sell FiveM servers, and servers on other hosts get blocked. FiveM opens on Wilderack the day Cfx.re approves us as a hosting partner. Join the waitlist and we’ll email you the day it opens.

Wait! Get 25% off your server

Don’t miss the best FiveM hosting.

Date of birth

We keep only your email and where you signed up, to send you launch news and your code. Your birth month and year are checked, never stored. Every email has an unsubscribe link, or write to privacy@wilderack.com. Your data, in plain words.

25% off your first payment, for new customers. Your code arrives by email. Then the normal price; cancel any time.