- Documentation
- Vigil AntiCheat
- Getting Started
- Backups and restore
Backups and restore
The AC’s code always comes from the release and can be put back at any time. What cannot be put back is what your server generated: configuration, secrets, database, proofs and the license identity. All of it lives in ac_core/data/.
What to copy
Section titled “What to copy”| What | Why |
|---|---|
The whole ac_core/data/ folder |
It holds everything that is yours (see AC files and folders). |
Inside it, the most important: config.json, secrets.json and ac.db |
Without them you lose the configuration, the webhooks and the local ban history. |
evidence/ and reports/ |
The screenshots of bans and reports. |
license.json, instance.json, installation.json |
The installation’s identity. Without them the server has to activate the license again. |
ac_guard/backups/ does not need to be in your backups: it is the automatic copy of the previous version made when installing an update.
How to copy
Section titled “How to copy”- The safest way is to copy with the server (or at least
ac_core) stopped:ac.dbis a database and a copy taken in the middle of a write can be inconsistent. - Copy the
data/folder off the server, with the date in the name. - Make regular copies, and also before every manual update or big change.
Changes made in the panel are kept in the History (Configuration > History), with the Revert button. That does not replace a backup: it undoes a configuration change, it does not recover lost files.
Restore
Section titled “Restore”- Stop the server.
- Put the
data/folder back inac_core(over the one that is there). - Start the server and check with
/ac statusand/ac license.
Common cases:
| Situation | What to do |
|---|---|
You lost config.json |
Put the copy back, or redo the changes. The AC starts with the defaults. |
You lost secrets.json |
Copy secrets.example.json to data/secrets.json and fill it in. Without it there are no webhooks. |
You lost ac.db |
You lose the local ban history, detections and audit trail. Bans in the MTA banlist stay there. Put the most recent copy back. |
| You changed machine or IP | A license key serves one server (one IP). If “Blocked (other IP)” appears, ask the VIGIL AC team for an IP reset. See License activation errors. |
| You lost the license files | Activate again with the key (License activation). |
| An update failed | ac_guard puts the previous version back by itself. See Updating the AC. |