# Restoring Amazon EC2 Guest Files and Folders to a Guest Agent

You can restore files and folders from a backup of an Amazon EC2 instance to a file system agent on an Amazon EC2 instance.

## Prerequisites and Considerations

### All Destination Instances

- The user account that performs the restore must have permissions to create files in the specified location on the destination. By default, the local system account is used, but you can enter another set of credentials to perform the restore.

- To restore files that have either a total size of 10 GiB or more than 10,000 files, on the destination instance, install the file system agent using the Restore only agent setting. For instructions, see Installing a Commvault agent as a "restore only agent".

- If a passkey is configured for restores, you must have the passkey.

### Linux Destination Instances

- The destination instance must have the Linux file system agent installed as either a full agent or a restore only agent (not with the File System Core package). For instructions to install a restore only agent, see Installing a Commvault agent as a "restore only agent".

  Existing deployments using an Image Level Agent (deprecated) are also supported.

- If the original user for a folder does not exist on the destination instance, files are restored with the user ID instead of the user name.

- Symbolic links can be restored if the source files are also restored, but the symbolic links are restored with the timestamp of the restore operation instead of the original timestamp. If the source files are not restored, symbolic link files are restored, but without links. As a result, the linked data cannot be read.

- Hard link files can be restored; if source files are also restored any corresponding link files use the same index node (inode).

### Windows Destination Instances

- The destination instance must run a 64-bit operating system.

- The destination instance must have the Windows file system agent installed as either a full agent or a restore only agent (not with the File System Core package). For instructions to install a restore only agent, see Installing a Commvault agent as a "restore only agent".

- The version of the file system agent that you install on the destination instance must be the same as the version of the Virtual Server Agent.

## Procedure

1. From the Command Center navigation pane, go to Protect > Virtual machines.

   The Overview page appears.

2. On the VM groups tab, in the row for the VM group, click the action button , and then click Restore.

   The Select restore type page appears.

3. Click Guest files and folders.

   The Restore page appears.

4. To select a different MediaAgent or source copy for the restore, or to switch to live browse mode, do the following:

   1. If you intend to switch to live browse mode, in the left column, you must click a folder in order for the Browse from media toggle key to be displayed in the Change source dialog box.

   2. In the upper-right area of the page, click Change source.

      The Change source dialog box appears.

   3. To switch to live browse mode (browsing from media), move the Browse from media toggle key to the right.

   4. To select a specific source and/or MediaAgent for the restore, do the following:

      - Restore from copy: Select one of the following:

        - Automatic (default): The software searches for the requested data in the primary copy. If the data is not found in the primary copy, the software selects a secondary or auxiliary copy.

        - Primary: The software searches for the requested data in the primary copy.

        - Snap copy: The software searches for the requested data in the snap copy.

      - MediaAgent: Select the MediaAgent that performed the backup.

      For more information, see MediaAgent and Copy Precedence Considerations for Virtualization Restores.

   5. Click OK.

5. Select the content to restore, and then click Restore.

   The Restore options dialog box appears.

6. On the Select instance tab, from the Instances list, select the guest agent where you want to restore data.

7. To specify different credentials (instead of the Local System account) to perform the restore, move the Impersonate user toggle key to the right, and then enter the credentials.

8. In the Destination path box, enter the destination folder to restore the data to.

9. To delete an existing file and replace it with the restored file, move the Unconditionally overwrite if it already exists toggle key to the right.

10. Click Submit.

×

Loading...