-
Notifications
You must be signed in to change notification settings - Fork 72
Manual backup
As CRCON is running in Docker containers, you don't have to backup anything else but its own folder on your VPS.
Caution
You CAN'T backup a running CRCON.
The CRCON's folder contains the database files, which are accessed multiple times per minute, even if there's no player on your game server.
Making a copy of a running CRCON's folder WILL lead to data loss. You could even get a corrupted database.
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.
cd /root/hll_rcon_tool
docker compose down
cp -r /root/hll_rcon_tool "/root/hll_rcon_tool_backup_$(date '+%Y-%m-%d')"
Note : this may take some time, especially on CRCON(s) that have been managing one or several crowded game servers for a while, as their database(s) contain(s) all the logs the game server(s) have sent.
You now have a full copy of your CRCON installation on your VPS, in the /root/hll_rcon_tool_backup_XXXX-XX-XX
folder.
docker compose up -d --remove-orphans
CRCON's files aren't very large, but its database could grow to several GBs as it has been running for weeks/monthes/years.
So you may want to compress the backup folder, either to minimize the storage space it occupies, or to send a copy of it to another server or your personal computer.
-> Follow the Migrating steps.
Warning
Remember to replace the compressed folder's name in the commands (hll_rcon_tool
-> hll_rcon_tool_backup_XXXX-XX-XX
).
If you want to revert your CRCON back to the state it was on backup time, you'll have to enter these commands :
cd /root/hll_rcon_tool
docker compose down
cd /
mv /root/hll_rcon_tool /root/hll_rcon_tool_bad
cp -r /root/hll_rcon_tool/backup_XXXX-XX-XX /root/hll_rcon_tool
cd /root/hll_rcon_tool
docker compose up -d
You'll then have three CRCON folders :
- the running version :
/root/hll_rcon_tool
; - the initial backup, similar to the running version :
/root/hll_rcon_tool/backup_XXXX-XX-XX
; - the reverted ("bad") version :
/root/hll_rcon_tool_bad
.
Delete the backup
Tip
We advise to keep it, as you want to have it handy in case of major failure of the running version.
rm -r /root/hll_rcon_tool_backup_XXXX-XX-XX
Delete the "bad" version
rm -r /root/hll_rcon_tool_backup_bad
HLL Advanced RCON - Join the discord
Getting Started
Additional Setup
- Discord Integration
- Manual backup
- Update or downgrade
- Migrate CRCON to another VPS
- Replace the game server managed in CRCON
- Adding a game server to manage in CRCON
- Database - Automated backup
- Database ‐ Password change
- Multiple CRCON Installs
Server Provider Setups
User Guide
- Navigation
- Views tab
- Records tab
-
Settings Tab
- Settings ‐ Settings
- Map manager
- Audit webhooks
- Admin ping webhooks
- Watchlist webhooks
- Camera webhooks
- Chat webhooks
- Kill/TK webhooks
- Level auto mod
- No leader auto mod
- Seeding auto mod
- No solo tank auto mod
- RCON game server configuration
- CRCON settings
- Chat Commands
- Scorebot
- Steam API
- VAC/Game bans
- TK ban on connect
- Name kicks
- Log Line Webhooks
- Expired VIP
- GTX server name change
- Log stream
- Stats Tab
- Login/Logout
User Guide : Autosettings
User Guide : Admin interface
Developer Guides
- CRCON API
- Miscellaneous
- HLL RCON Commands
- v9 to v10 API Changes
- Variables and Names
- Remotely connect to the PostgreSQL database
Help
- Hell Let Loose Server
- Hell Let Loose FAQ
- CRCON FAQ
- CRCON Troubleshooting
- CRCON Support
- Submitting Github Issues
- HLL Community RCON Discord
Other