# FiveO Backup

## 💡 FiveO Backup Configuration – Setup & Configuration Guide

Welcome to the FiveO MySQL Backup System! This guide walks you through each configuration field to ensure your database backups are correctly set up and secured.

***

<figure><img src="/files/X4w1KAhAkF3WnHIKVKCS" alt=""><figcaption></figcaption></figure>

***

<div data-full-width="false"><figure><img src="/files/fcx1El0iARUULBfZJU51" alt=""><figcaption><p>Windows FiveO Backup Application</p></figcaption></figure></div>

### **🔹 Database Name**

This is the name of your FiveM database (commonly `qbcore`, `qbcoreframework_ec012345`, or whatever name you chose during SQL setup).\
To find it:

* Open **HeidiSQL**, **phpMyAdmin**, or your preferred DB manager.
* Look for the name on the left under your server's connection.<img src="/files/VRj06nDbPAc67kclksG6" alt="" data-size="original">\ <sub>*The highlighted text in the screenshot above is the name of your database(default). Right click the name, click edit, copy the name and paste into the Configurator.*</sub>

### **🔹 Database Username / Password**

These are your database login credentials (often `root` by default).

* If using **XAMPP**, check your `config.inc.php` or `my.ini`.
* If using **MariaDB standalone**, review your setup notes or config file.

❗ **NEVER share these credentials with others.**

***

### **📁 Backup Location**

Choose a safe folder where your backup `.sql` files will be saved (e.g., `D:\FiveMBackups` or `C:\Backups\ServerDB`).\
Click **Browse** to pick the folder. The tool will automatically name and rotate your files.

***

### **🔢 Max Backups (1–100)**

This sets the number of backup files to retain.\
Example:

* If set to `16`, only the **16 most recent backups** are kept.
* Older backups will be **automatically deleted** when new ones are created.

***

### **⏱ Backup Frequency (Hours)**

How often (in hours) the system should create a new backup.

* For hourly backups, enter `1`.
* For every 6 hours, enter `6`, etc.

***

### **🔔 Discord Webhook URL (Optional)**

Add a Discord webhook to receive backup notifications and full `.sql` file uploads in real-time.

To create one:

1. Go to your **Discord Server > Settings > Integrations > Webhooks**.
2. Click **New Webhook**, name it, and copy the **Webhook URL**.
3. Paste it here.

{% hint style="warning" %}
⚠️**Keep Webhooks Private**\
We recommend setting the webhooks target channel to **Admin-only** to protect sensitive files.
{% endhint %}

***

### **🔍 MySQL/MariaDB Dump Path**

This is the path to your `mysqldump.exe`, which is used to export your database.

The app tries to auto-locate it, but if needed:

1. Check typical locations:
   * `C:\Program Files\MariaDB <version>\bin\mysqldump.exe`
   * `C:\xampp\mysql\bin\mysqldump.exe`
2. Click **Browse** and select `mysqldump.exe`.

🛑 If this path is wrong or not configured, **backups will fail.**

***

### 🚫 Security Warnings

* DO NOT share your **webhook** or **database credentials** with anyone.
* Ensure your webhook channels are **locked to administrators only**.
* Consider limiting access to this configuration tool for security.

***

### 💬 Need Help?

Join our support community or visit our website for documentation, updates, and troubleshooting:

**🔗 Support Discord:** <https://discord.gg/rc3FXthyzD>\
**🌐 Website:** [https://OfficerMills.com](https://officermills.com/)

***

*©2025 **FiveO Development**™*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fiveo-development.gitbook.io/docs/fiveo-backup/fiveo-backup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
