> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Auto-Backups & Saves in Terraria

> Protect your world data from corruption and crashes. Learn how to calibrate the TShock BackupInterval and implement a strong data preservation strategy.

## Data Sovereignty: Technical Auto-Savings

In the Terraria engine, world data is programmatically written to disk primarily during a graceful server shutdown or at specific time-based intervals. If your server encounters a process termination due to a memory overflow or a technical plugin conflict, any progress achieved since the last successful write operation could be permanently lost. Implementing a rigorous auto-save and backup policy is essential for maintaining community trust and safeguarding months of architectural progress.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    5 Minutes
  </Card>
</CardGroup>

***

## Technical Interval Calibration

The frequency of automated backups is governed by the TShock configuration registry.

<Steps>
  <Step title="Access Configuration">
    Log in to the [Game Panel](https://games.freakhosting.com) and open the **Files** tab. Navigate to the `/tshock/` directory.
  </Step>

  <Step title="Edit config.json">
    Open the `config.json` file using the integrated text editor.
  </Step>

  <Step title="Update Backup Logic">
    Locate and modify the following parameters:

    * **`BackupInterval`:** Change from the default `60` to **`15`** (minutes). This ensures you never lose more than a quarter-hour of gameplay.
    * **`SaveWorldOnCrash`:** Set this to **`true`**. This instructs the engine to attempt an immediate emergency disk write if a fatal exception is detected.
  </Step>

  <Step title="Initialize Growth">
    Save the file and **Restart** your server to activate the new backup rules.
  </Step>
</Steps>

***

## Data Restoration Procedures

If your primary `.wld` file becomes unreadable or corrupted, use our standardized recovery protocol.

<Tabs>
  <Tab title="Recovering From TShock Snapshots">
    1. **Stop** the server via the dashboard.
    2. Navigate to the `/tshock/backups/` directory.
    3. Identify the most recent ZIP archive corresponding to a healthy world state.
    4. Extract the `.wld` file and migrate it to your primary `/Saves/Worlds/` folder, overwriting the corrupted version.
  </Tab>

  <Tab title="FREAKHOSTING Cloud Backups">
    For absolute redundancy, use the **[Backups](/portals/game-panel/how-to-create-and-restore-backups)** tab in your Game Panel to restore a full server snapshot. This is the most reliable method for recovering from catastrophic plugin or directory-wide errors.
  </Tab>
</Tabs>

***

<Important>
  ### Managing Backup Storage Bloat

  Frequent backup intervals (e.g., every 5 minutes) generate significant amounts of data. A "Large" Terraria world can exceed **100MB per snapshot**. Monitor your disk usage closely via the Game Panel dashboard to ensure your storage does not reach capacity, as this will prevent the server from generating future saves.
</Important>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Terraria:** Backups configured.
</div>
