# Script Backup

The **Script Backup** tool lets you quickly save backups of your current script in Blender’s Text Editor. You can also view and open previous backups from a dedicated **Backups** menu.

This is especially useful for keeping different versions of your code without overwriting your original file.

<figure><img src="https://1369578556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDnkuhGf8ejPBS5cgVCH0%2Fuploads%2FHR1qBgj1jcLs1KcvVWUm%2F20250822-0421-358980663.gif?alt=media&#x26;token=6dff09bb-bf8b-4b72-8aee-04c4e782c1f5" alt=""><figcaption></figcaption></figure>

***

### 📍Location

Both the **Save Script Backup** button and the **Backups** menu are located in the **Text Editor** → **Text** menu:

![](https://1369578556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDnkuhGf8ejPBS5cgVCH0%2Fuploads%2FuyauajkedTVWLXOancvI%2Fimage.png?alt=media\&token=3e88068f-34cb-4035-81ea-310d2a9771e2)

***

### **🗝️Key Features**

* **Save backups manually** or with a **quick shortcut**.
* **Shift + Click** for automatic numbered backups (e.g., `my_script_1.py`, `my_script_2.py`).
* Remembers backup locations per script.
* **Backups menu** lists all saved versions for the current script.
* Open backups directly in Blender’s Text Editor.

***

### **❓How It Works**

When you save a backup:

1. The addon stores it in your chosen folder (or the script’s original folder if not set).
2. The location is remembered for that specific script.
3. Backups are displayed in the Backups menu, sorted by date in chronological order.

***

### **🛠️ Usage**

**Saving a Backup**

1. Open your script in Blender’s Text Editor.
2. Go to **Text → Save Backup**.
3. Choose where to save.
4. Done — your backup now appears in **Text → Backups**.

**Quick Numbered Backup**

* Hold the **Shift** key while selecting **"Save Backup"** from the menu.
* The addon will automatically save a numbered copy without asking for a location.

**Opening a Backup**

1. Open the **Text → Backups** menu.
2. Select any backup to open it directly in Blender’s Text Editor.
