# Backup

Here’s the basic config you’ll use:

```yaml
Backup:
  Enabled: true          # Turn backups on
  Schedule: 1d           # How often to back up
  MaxBackups: 5          # How many backups to keep
  LogsChannelID: "CHANNEL_ID" # Channel for backup alerts
```

***

### What Each Option Means

* **Enabled**
  * Turns the backup system on or off.
  * Use `true` to activate, `false` to stop it.
* **Schedule**
  * How often backups happen.
  * Examples:
    * `30m` → every 30 minutes
    * `2h` → every 2 hours
    * `1d` → once a day
    * `7d` → once a week
* **MaxBackups**
  * The maximum number of backups saved. Old ones get deleted automatically.
  * Good rule of thumb:
    * Small servers → 3–5 backups
    * Big servers → 2–3 (they take up more space)
* **LogsChannelID**
  * The channel where you’ll see backup notifications.
  * To set this up:
    1. Right-click the channel you want.
    2. Copy its **ID**.
    3. Replace `CHANNEL_ID` with that number.
  * Leave it as `CHANNEL_ID` if you don’t want notifications.

***

Here’s the basic config you’ll use:

```yaml
Backup:
  Enabled: true          # Turn backups on
  Schedule: 1d           # How often to back up
  MaxBackups: 5          # How many backups to keep
  LogsChannelID: 123456789012345678   # Channel for backup alerts
```

***

### What Gets Backed Up?

When backups run, they include:\
✅ All channels & categories\
✅ Permissions & settings\
✅ All roles + permissions\
✅ Members, roles, and nicknames\
✅ Up to **50 messages per channel**

But note:\
❌ Images & attachments\
❌ Voice recordings\
❌ Server boosts, emojis, integrations\
…are **not** saved.
