

# Linux and Windows server restore

You restore Linux and Windows servers back to a server that has the backup agent installed and connected to the appliance. Because server backups are file-based, a server restore recovers file systems, not a server image. All server restores are non-destructive.

Server restores land on an agent-equipped server, either on-premises or in the cloud. There is no cloud restore to Amazon EBS, Amazon EC2, Amazon S3, or Amazon EFS for Linux and Windows servers. For more information, see [Not supported](#restore-onprem-servers-not-supported).

## What a full-server restore recovers
<a name="restore-onprem-servers-recovers"></a>

A **full-server restore** restores the file systems under all local volumes of the server, that is, all files except a small set of system files. A full-server restore does **not** restore the server image. It is a file-system restore, not a bare-metal or image recovery.

## Non-destructive restores
<a name="restore-onprem-servers-nondestructive"></a>

All server restores are non-destructive. AWS Backup does not overwrite existing files on the target. If a file already exists at the target, AWS Backup skips it and reports a warning.

Destructive (overwrite) restores aren't available.

## Full-server restore
<a name="restore-onprem-servers-full"></a>

You can run a full-server restore from a local recovery point or from a recovery point stored in a AWS Backup vault.
+ **Restore from a local recovery point.** Restore directly to the original server or to an alternate on-premises server. The alternate server must be registered, run the same operating system type, and have the agent installed and connected.
+ **Restore from a cloud recovery point.** First copy the recovery point from a AWS Backup vault to the local vault, and then restore it to the original or alternate server.

To restore to an alternate location, choose a different registered server with the agent installed.

### Restore servers that run as Amazon EC2, Azure, or Google Cloud instances
<a name="restore-onprem-servers-full-instances"></a>

A server that runs as an Amazon EC2, Microsoft Azure, or Google Cloud instance is backed up and restored the same way as any other server: as a local restore to an agent-equipped server. You install the agent on the instance and connect it to the appliance, and then restore to it. This is not a cloud restore to a native AWS resource.

## File-level restore
<a name="restore-onprem-servers-flr"></a>

A file-level restore recovers individual files and folders rather than a full server. File-level restore has the following constraints:
+ **Local recovery points only.** You can run a file-level restore only from recovery points in the local appliance vault. Cloud recovery points are not supported for file-level restore.
+ **Up to 5 items per restore operation.**
+ **No browse-and-select.** You must supply the exact full path of each file or folder to restore.
+ **Original or alternate target.** You can restore to the original server or an alternate server, and to the original path or an alternate path.
+ **Attributes preserved.** AWS Backup preserves file attributes, such as ACLs, permissions, and timestamps, by default.

## Not supported
<a name="restore-onprem-servers-not-supported"></a>

The following restore capabilities are not supported for Linux and Windows servers:
+ Cloud restore to Amazon EBS. File-based restore to Amazon EBS is not currently supported.
+ Cloud restore to Amazon EC2. Servers that run as Amazon EC2 instances are restored through a local restore to an agent-equipped instance instead.
+ Cloud restore to Amazon S3 and Amazon EFS is not currently supported.
+ Destructive (overwrite) restores. Restores are non-destructive only.
+ Bulk restore of multiple servers in a single job.
+ File-level restore from cloud recovery points.
+ Browse-and-select for file-level restore.