> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/backups/introduction.md

## Article Content:

# About the Backups API

> **Note for app developers:** Wix Data APIs require the site's [code editor](https://dev.wix.com/docs/develop-websites/articles/get-started/development-environments.md) to be enabled. If you are building a Wix app, add a [data collections extension](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/data-collections/about-data-collections-extensions.md) to automatically enable the code editor and create data collections when your app is installed on a site.


The Backups API enables you to create and manage backups of the live content in a Wix site's collections.

With Backups, you can:
- [Create a backup](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/backups/create-backup.md) of data in a Wix site's collections.
- [Restore data](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/backups/restore-backup.md) from an existing backup.
- Retrieve information about prior and ongoing [backups](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/backups/list-backups.md) and [restorations](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/backups/list-restorations.md).

Backups enable you to restore a Wix site's collections' content in the event of data corruption, erroneous deletions, or other mistakes.

The system creates a backup automatically every 7 days. In addition, you can use the Backups API to create an on-demand backup when significant changes are made to a site's data. For example:

- If an automated backup is not scheduled soon, create an on-demand backup after updating data, to ensure new content is backed up as soon as possible.
- Create an on-demand backup prior to a major update to a Wix site's collections, so you can restore the most recent pre-update data in the event something goes wrong during the update.

Learn more about how site owners can [manage backups with the CMS](https://support.wix.com/en/article/content-manager-backing-up-your-collections).

## Before you begin

It's important to note the following points before starting to code:

- Backups include only live content. They don't include content contained in the optional [sandbox](https://support.wix.com/en/article/content-manager-about-sandbox-and-live-collections-and-syncing).
- Backups include only collection content. They don't store a collection's schema or named views.
- A site can store a maximum of 3 on-demand backups. If 3 on-demand backups already exist and you create a new backup, the oldest existing on-demand backup is deleted.
- When you restore data from a backup, the restoration process replaces the collection's current data with the data in the backup. So if you add items to a collection after initiating a backup, and then you restore data from that backup, the new content may be lost.
- If any content is submitted to a collection during the restoration process, that content may be lost.

## Terminology

- **Backup:** A full copy of the live content contained in a Wix site's collections.
    - **Auto:** A backup taken automatically by the system on a regular schedule.
    - **On demand:** A backup initiated manually.
- **Restoration:** Regeneration of a Wix site's collection content from a prior backup.

