Skip to content

Additional Setup ‐ Backup and restore settings

ElGuillermo edited this page Jan 10, 2025 · 20 revisions

🧭 You are here : Wiki home / Additional Setup / Backup and restore settings


0. Enter an SSH session on your VPS

See this guide to get into a SSH terminal prompt.

Note

We'll assume you have installed CRCON in its default /root/hll_rcon_tool folder, following the installation guide.
Adapt the commands given below if necessary.

Backup settings

Maybe you want to reinstall CRCON, but want to start a new database ?
As the user settings are stored in the database, if you want to keep them the same on your new CRCON, you'll have to manually copy/paste ALL of them from the "old" to the "new" CRCON UI.
That could be very time-consuming.

This command will export them all into a unique JSON file that will be located in CRCON's config/ folder.
You'll then be able to import this file in you new CRCON as easily.

cd /root/hll_rcon_tool
docker compose exec -it backend_1 python -m rcon.cli get_user_settings 1 /config/backup_settings_1.json

Tip

As you can guess, the 1 digit (in three different places) in the line above asks for game server #1 user settings.
If you're managing more than one game server in your CRCON, you'll have to repeat the command using 2, 3, etc.

Restore settings

This command is the reverse of the above one.
If you're managing more than one game server in your CRCON, you'll have to repeat the command using 2, 3, etc.

cd /root/hll_rcon_tool
docker compose exec -it backend_1 python -m rcon.cli set_user_settings 1 /config/backup_settings_1.json

Remember some settings are used to configure CRCON Docker containers.
So you'll be advised to restart CRCON after having them imported/restored.

cd /root/hll_rcon_tool
docker compose down
docker compose up -d --remove-orphans

HLL Community RCON Wiki

📦 Getting Started

📖 User Guide

🕵️ Main interface

Home

Views
  • Live (waiting for update)
  • Team (waiting for update)
Maps
Records
Settings
Webhooks
Automods
Others
Stats

🧑‍🤝‍🧑 Public (stats) interface

(TODO)

🧙‍♂️ Admin panel

Additional Setup

🛠️ Additional installs

💾 Backup

🚚 Moving/changing servers

👽 Specific server providers setups

⚗️ Developer Guides

🆘 Troubleshooting & Help

Common procedures

Need help ?

Clone this wiki locally