Restore a WorkSpace - Amazon WorkSpaces

Restore a WorkSpace

Restoring a WorkSpace recreates both the root volume and user volume, based on the most recent snapshots of these volumes that were created when the WorkSpace was healthy. Restoring a WorkSpace deletes less data than rebuilding a WorkSpace. However, it requires you to have snapshots of both the root volume and user volume, while rebuilding a WorkSpace only requires a snapshot of the user volume. To rebuild a WorkSpace, see Rebuild a WorkSpace.

Restoring a WorkSpace causes the following to occur:

  • The root volume (for Microsoft Windows, drive C; for Linux, /) is restored to the most recent snapshot. Any applications that were installed, or system settings that were changed after the most recent snapshot was created, are lost.

  • The user volume (for Microsoft Windows, the D drive; for Linux, /home) is recreated from the most recent snapshot. The current contents of the user volume are overwritten.

When snapshots are taken

Snapshots of the root and user volume are taken on the following basis. When you choose Actions, Rebuild / Restore WorkSpace, the date and time of the most recent snapshots are shown.

  • After a WorkSpace is first created — Typically, the initial snapshots of the root and user volumes are taken soon after a WorkSpace is created (often within 30 minutes). In some AWS Regions, it might take several hours to take the initial snapshots after a WorkSpace is created.

    If a WorkSpace becomes unhealthy before the initial snapshots are taken, the WorkSpace can't be restored. In that case, you can try rebuilding the WorkSpace or contact AWS Support for assistance.

  • During regular use — Automatic snapshots for use when restoring a WorkSpace are scheduled every 12 hours. If the WorkSpace is healthy, snapshots of both the root volume and user volume are created around the same time. If the WorkSpace is unhealthy, snapshots are created only for the user volume.

  • After a WorkSpace has been restored — When you restore a WorkSpace, new snapshots are taken soon after the restore is finished (often within 30 minutes). In some AWS Regions, it might take several hours to take these snapshots after a WorkSpace is restored.

    After a WorkSpace has been restored, if the WorkSpace becomes unhealthy before new snapshots can be taken, the WorkSpace can't be restored again. In that case, you can try rebuilding the WorkSpace or contact AWS Support for assistance.

You can restore a WorkSpace only if the following conditions are met:

  • The WorkSpace must have a state of AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

  • Snapshots of the root and user volumes must exist.

To restore a WorkSpace
  1. Open the WorkSpaces console at https://console.aws.amazon.com/workspaces/.

  2. In the navigation pane, choose WorkSpaces.

  3. Select the WorkSpace to restore and choose Actions, Rebuild / Restore WorkSpace.

  4. Under Snapshot, select the snapshot's time stamp.

  5. Choose Restore.

To restore a WorkSpace using the AWS CLI

Use the restore-workspace command.