> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-en/productos/servers/how-to/how-to-restore-a-disk-backup.md).

# How to Restore a Disk Backup

A backup is a copy of your data that lets you recover it if you lose it. In this tutorial you restore a disk of **Servers** or **Remote Desktop** from one of its restore points.

The process is the same for the two types of backup offered by the service.

> #### 👍 What you get
>
> A disk recovered to the state of a restore point, as a new disk or replacing an existing one, whichever suits you.

### The two types of backup

| Type                | Frequency and retention                                                                         |
| ------------------- | ----------------------------------------------------------------------------------------------- |
| Default (automatic) | Every hour (last 5 h), every day at 00:10 (14 days), and every week, Sundays at 00:15 (8 weeks) |
| Manual (optional)   | Weekly copies launched manually, with retention of up to 30 weeks                               |

<br>

> #### 📘 Backup is not a snapshot
>
> Backup is your ongoing protection, with weeks of retention. A snapshot is a one-time rollback before a change.
>
> If you were looking for the latter, see [How to take a server snapshot and restore it](https://docs.plenit.com/docs-en/productos/servers/how-to/how-to-snapshot-and-restore-a-server.md).

### Before you begin

* Log in to the Plenit platform.
* Have a subscription of **Servers** or **Remote Desktop** with a deployed server and at least one disk.
* That there is at least one restore point available for that disk.

### Step 1. Access the restore points

1. Enter the subscription of **Servers** from its card.
2. Open the subsection **Backup** of the side menu. By default you will see **Schedules**, with the frequency, retention, and times.
3. Open **Restore Points**.

![Access to Restore Points within the Backup subsection](https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-88ad3c975db2a6d2d20cfbac5a6f9cb87ba7cb90%2FCAPTURA%201%20%C2%B7%20men%C3%BA%20lateral%20Backup%20con%20la%20subsecci%C3%B3n%20Puntos%20de%20Restauraci%C3%B3n.jpg?alt=media)

### Step 2. Restore the disk

Expand the disk you want to restore to see its available copies. In the context menu of the chosen restore point, select **Restore**. You have three ways to do it:

| Option                                   | What it does                                                                   | When it fits                                      |
| ---------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------- |
| New disk on the same server              | Creates a disk with the restored content and attaches it to the current server | Recover data without touching the disk in use     |
| New disk on another server or unattached | Creates the disk and connects it to another server, or leaves it unattached    | Move data or have them available to connect later |
| Replace an existing disk                 | Creates the restored disk, connects it, and disconnects the previous one       | Roll back a server's own disk                     |

Choose the option, click **Accept** and confirm. The restore takes a few minutes and we’ll notify you when it finishes.

![Disk restore options with the Accept button](https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-689e66a6e645f0354b9c5a2f7314f785616d253a%2FCAPTURA%202%20%C2%B7%20di%C3%A1logo%20de%20restauraci%C3%B3n%20con%20las%20opciones%20y%20el%20bot%C3%B3n%20Aceptar.jpg?alt=media)

> #### 📘 Replacing does not delete the previous disk
>
> If you choose replace, we disconnect the current disk from the server, but we do not delete it. It stays there in case you need to go back to it, so the operation is reversible.

### Verify the restored disk

If you restored it as a new disk, attached it to another server, or replaced it, it is a good idea to check from inside that the system sees it and that the data are accessible. A newly connected disk may appear **offline** or unmounted.

On Windows, from PowerShell:

```powershell
Get-Disk                                   # a restored disk may appear Offline
Set-Disk -Number <N> -IsOffline $false     # bring it online if needed
Get-Volume                                 # check the drive letter and status
```

In Linux:

```bash
lsblk                                       # identify the disk and its partition
sudo mount /dev/sdX1 /mnt/restore           # mount it to access the data
df -h
```

### If something doesn't fit

| Symptom                                         | Likely cause                              | What to do                                                         |
| ----------------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------ |
| The restored disk does not appear in the system | It is offline after connecting it         | Bring it online (`Set-Disk` on Windows) or check `lsblk` in Linux  |
| You don't see the restored data                 | The volume is not mounted                 | Mount it (`mount` on Linux) or assign it a drive letter in Windows |
| There are no restore points                     | None has been generated yet for that disk | Wait until at least one exists                                     |

### Conclusion

With this, you can recover a disk to the state of any of its restore points, as a new disk or by replacing an existing one, always without losing the original.

The key is not just knowing how to restore, but having done it before you need it: a backup you have never tested restoring is not a safety net, it's an assumption.

Once restoration is second nature, your copies become real backup.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-en/productos/servers/how-to/how-to-restore-a-disk-backup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
