# How to Configure Backups on Your Soulmask Server (/docs/soulmask/backup-system)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Soulmask has two separate save systems: **auto-save** (writes to memory/database) and **auto-backup** (writes a full backup to disk). Both are controlled via startup parameters.

Configure Backup Settings [#configure-backup-settings]

<Steps>
  <Step>
    Open Startup [#open-startup]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Startup** in the sidebar.
  </Step>

  <Step>
    Set intervals [#set-intervals]

    | Parameter     | Default              | Description                                            |
    | ------------- | -------------------- | ------------------------------------------------------ |
    | `-saving=600` | 600 seconds (10 min) | How often the server saves world state to the database |
    | `-backup=900` | 900 seconds (15 min) | How often a full disk backup is created                |
    | `-initbackup` | Off                  | Create a backup every time the server starts           |

    Lower values = less data lost on crash, but more disk I/O during saves (may cause brief lag spikes).
  </Step>

  <Step>
    Restart [#restart]

    Restart from **Console** to apply.
  </Step>
</Steps>

Panel Backups [#panel-backups]

The **Backups** feature in the panel sidebar provides a separate, independent backup system. Use it to create on-demand snapshots that can be downloaded or restored.

{/* Screenshot needed: Backups page with Create Backup button */}

Managing Backup Files [#managing-backup-files]

> **Important:** Soulmask **never auto-deletes old backup files**. Over time, this will fill up your disk space. Periodically go to **Files** and clean out old backup files you no longer need.

Force Save [#force-save]

If you need to save immediately (e.g., before maintenance), use the admin command in-game:

```
gm BaoCun
```

Or use the panel's **Stop** button, which triggers a save before shutdown.

Related Guides [#related-guides]

* [Server Configuration](/docs/soulmask/server-config)
* [Upload a Save](/docs/soulmask/import-save)
