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

# Node Backup / Restore

> Back up and restore your RLN node state on Utexo Cloud.

## Node Backup

### 1. Access Backup Functionality

Navigate to the backup page for your node:

```
nodes/{nodeId}/backup
```

### 2. Create a Backup

If no backup has been previously created, the page displays a **Create Backup** button.

Clicking the button triggers an AWS Lambda function that communicates with the node's `/backup` API endpoint. Once the backup is successfully created, it is automatically uploaded to an Amazon S3 bucket.

### 3. Download the Backup

A pre-signed URL is generated that allows direct download from S3. The URL expires **30 minutes** after being issued.

<Warning>
  Download and store the backup file securely before the pre-signed URL expires. After 30 minutes, you will need to create a new backup to obtain a fresh download URL.
</Warning>

## Node Restore

### 1. Access Restore Functionality

Navigate to the backup page for the node you want to restore:

```
nodes/{nodeId}/backup
```

Locate the **Restore node** section.

### 2. Upload the Backup File

Click **Upload** to generate an S3 upload URL. Select the backup file from your local device. The upload begins automatically.

### 3. Restore the Node

After the upload completes, a **Restore** button becomes active. Click **Restore** to start the restoration process via the node's `/restore` API endpoint.

<Info>
  The restore process will overwrite the current node state. Ensure you are restoring the correct backup file before proceeding.
</Info>
