# leapview admin restore

Restore LeapView from a validated instance backup

## Usage

```sh
leapview admin restore [flags]
```

## Behavior

| Side effect | Confirmation |
| --- | --- |
| `destructive` | `required` |

## Options

| Flag | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `--confirm` | bool | `false` | false | confirm replacement of the configured LeapView instance |
| `--current-out` | string | `` | false | path for a backup of the current instance before replacement; - creates and discards a validated temporary checkpoint |
| `--database-only` | bool | `false` | false | restore only the platform SQLite database |
| `--from` | string | `` | false | backup archive path to restore |
