# Data and backups

> Where your workspace data is stored, how it is backed up and checked, how to get your data out, and what happens when you delete a workspace.

Source: https://docs.ventgris.com/security/data-and-backups

Your workspace data lives on the data volume of your own workspace machine, in a data center in the EU. The account app on `app.ventgris.com` keeps only what it needs to sign you in and bill you. This page lists what is stored where, how backups run and how you check them, how to take your data with you, and what deleting a workspace removes.

## Where your data lives

| Data | Where it is stored |
|---|---|
| Files of the workspace, memory, skills, rules, job files | the data volume of the workspace machine (see [Workspace layout](https://docs.ventgris.com/agents/workspace-layout.md)) |
| Session transcripts and events, artifacts, the audit journal | the data volume of the workspace machine |
| Secrets | the vault of the workspace machine, encrypted with a master key sealed on that machine |
| Media files you store with `vg media` | object storage of the workspace, under the id of the workspace (see [Media](https://docs.ventgris.com/workspace/media.md)) |
| Account email and name, organization and workspace memberships, billing identifiers, workspace states | the account app |
| Payment methods | Stripe. Ventgris does not store card numbers |

### Data location

Workspace machines and their volumes run in Hetzner data centers in the EU: Falkenstein or Nuremberg (Germany), or Helsinki (Finland). The provider picks one of these locations when the machine is created. A volume stays in the location of its machine.

What your AI sessions send to the model provider you chose (for example Anthropic for Claude Code, OpenAI for Codex) is processed by that provider under its own terms.

### What the account app keeps

The account app holds the minimum: your email and name, your language, your memberships and roles, your second factors (stored as hashes or encrypted), your web sessions, billing identifiers, and the state of each workspace. Usage counters carry no content. It does not hold your files, transcripts or secrets.

## How backups work

Each workspace machine backs itself up in two layers, both encrypted, to object storage outside the machine.

| Layer | What | How often |
|---|---|---|
| Continuous copy of the databases | the main database of the workspace and the vault database | changes pushed about every 10 seconds, a full snapshot every 24 hours, kept 14 days |
| Nightly file backup | the agent's home and the workspace inside it, the home of the AI sessions (transcripts and settings), session events, artifacts, the audit journal, the configuration of the machine | every night at 03:15 in the time zone of the workspace |

The nightly file backup leaves out what a tool can rebuild: `node_modules`, `.venv`, `__pycache__`, the caches of `npm`, `pip`, `uv`, `yarn`, `bun` and `go`, and `.cache` folders. Databases of the workspace are copied in a consistent state before the snapshot.

The vault master key is never in a backup, sealed or not. A backup of the vault without that key cannot be opened.

### Retention

The nightly file backup keeps snapshots on this rule:

| Kept | Count |
|---|---|
| Daily snapshots | 7 |
| Weekly snapshots | 4 |
| Monthly snapshots | 6 |

Older snapshots are removed after each nightly run. The **Retention** line of the **Backups** panel shows the rule your workspace applies.

The plans list this backup history:

| Plan | Backups |
|---|---|
| Solo | 7 days |
| Pro | 14 days |
| Team | 30 days |
| Scale | 90 days |

Prices and the rest of each plan: [Plans and billing](https://docs.ventgris.com/account/plans-and-billing.md).

### Checks that run on their own

Backups run as system jobs of the workspace scheduler, with names that start with `sys.`. No session can create or change a system job.

| Job | When | What it does |
|---|---|---|
| `sys.backup` | every night at 03:15 | nightly file backup, then removal of old snapshots. Retried twice, 30 minutes apart, if the repository is busy |
| `sys.backup-check` | every day at 09:00 | checks the age of both layers. A layer older than 26 hours marks the check as failed |
| `sys.repo-check` | every Saturday at 05:15 | checks the consistency of the backup repository |
| `sys.restore-test` | the 1st of each month at 05:00 | restores the last backup into a temporary folder and checks that the restored databases are intact |

A backup that was never restored does not count: the monthly trial restore proves the backup can be read back.

## Check your backups

1. Open **System** in your workspace.
2. Scroll to **Backups**.

The panel shows:

| Line | Meaning |
|---|---|
| **Destination** | where backups go |
| **Databases** | the continuous copy of each database, and its last point (the last change copied) |
| **Last file backup** | when the last nightly backup ran, its status (**complete**, **incomplete**, **failed**) and what it added |
| **Next run** | when the next nightly backup starts |
| **Size** | size of the last snapshot and of the whole repository |
| **Retention** | days, weeks and months kept |
| **Last trial restore** | the last trial restore and how many files and databases it checked |
| **Repository check** | the last consistency check |

A backup layer older than expected is tagged **too old**.

> [!NOTE]
> If the panel says **No backup destination is configured**, nothing of this workspace is backed up from the machine. Contact Ventgris support.

### Run a backup or a trial restore now

| Button | What it does | Needs |
|---|---|---|
| **Back up now** | starts a file backup at once | `editor` or `admin`, and a [step-up](https://docs.ventgris.com/security/sign-in-and-second-factor.md#step-up-for-sensitive-actions) |
| **Run a trial restore** | restores the last backup into a temporary folder to check it. It can take a while and uses disk space until it ends | `editor` or `admin` |

Only one backup operation runs at a time. If another is running, you see "Another backup operation is already running."

## Restore

A restore of a whole workspace from its backup is done by Ventgris on your request: it rebuilds the workspace on a new machine from a backup you choose. There is no self-service restore button.

To get back a file you deleted by mistake, look first in the trash of the workspace: the Files screen moves files to the trash with **Move to trash** instead of deleting them. See [Files and editor](https://docs.ventgris.com/workspace/files-and-editor.md).

## Export your data

Your data is yours to take at any time. These ways are available to members of the workspace:

| What | How | Role |
|---|---|---|
| A file | **Download** in the Files screen | any role that can read files |
| A folder or the whole workspace | in a terminal, make an archive (for example `tar czf /home/agent/workspace/export.tar.gz -C /home/agent workspace`), then **Download** it from Files | `editor` or `admin` |
| A git repository | push it from a terminal to a remote you control | `editor` or `admin` |
| An artifact | open it and save it from the browser | any role that can see it |

Secret values cannot be exported: no screen or command shows them back. Keep your own copy of the keys you add, or create new ones at the provider when you move.

> [!AGENT]
> Do not create archives of the workspace or push repositories to a remote unless a human asked for it in this session. Pushing to a remote is an external effect.

## Delete a workspace

Only an `owner` or an `admin` of the organization can delete a workspace.

1. Open the organization on `app.ventgris.com`.
2. Find the workspace and click **Delete**.
3. Read the notice, then type the workspace name in the field **Type NAME to confirm**.
4. Click **Delete in 7 days**.

What happens next:

| When | What |
|---|---|
| Right away | the workspace is marked "deletion planned", with its date. It keeps being billed until that day |
| During the 7 days | the deletion can be cancelled with **Cancel the deletion** by an `owner` or an `admin` |
| After 7 days | the workspace address is removed, then the machine, its data volume and its tunnel are deleted. The deletion can no longer be cancelled |

Deleting the last workspace of an organization sets the subscription to end at the end of the current period. Cancelling that deletion resumes the subscription.

> [!WARNING]
> After the 7 days, the machine and its volume are deleted, with your files, transcripts, vault and audit journal. Export what you want to keep before that date.

If the subscription ends, its workspaces are deleted on the end date. The billing page says "The subscription ends on DATE. Its workspaces are deleted then." See [Plans and billing](https://docs.ventgris.com/account/plans-and-billing.md).

## Delete your account

Account deletion is not available in the account app yet, and the sign-in email cannot be changed there yet. To leave a workspace, ask one of its admins to remove you (see [Members](https://docs.ventgris.com/workspace/members.md)). To stop paying, delete the workspaces of your organization as above.

## Related

- [Security overview](https://docs.ventgris.com/security/overview.md)
- [Workspaces](https://docs.ventgris.com/account/workspaces.md)
- [Plans and billing](https://docs.ventgris.com/account/plans-and-billing.md)
- [System](https://docs.ventgris.com/workspace/system.md)
- [Workspace layout](https://docs.ventgris.com/agents/workspace-layout.md)
