Restoring instances

R‑Cloud enables you to restore an entire instance or its individual disks to a specific point in time, or multiple instances or disks belonging to multiple instances in a single session. In the event of a disaster in your environment, you can also restore instance data to a different cloud platform by using the Move Instance restore option.

Prerequisites

  • Only if you plan to specify post-restore scripts.

    • Access to the instance file system must be enabled. For instructions, see Enabling access to data.

    • A script must be available in an accessible folder.

    • The user account must have permissions to run a script on the instance.

  • For AWS: Before restoring an instance to the same or a different VPC, subnet, or region, make sure the following prerequisites are met in the location of the instance:

    • In a VPC without public IPs or in subnets without public IPs, you must create the following VPC endpoints:

      • Interface endpoints: Amazon EC2 (ec2), AWS Security Token Service (sts), Amazon SQS (sqs), and Amazon SNS (sns)

      • Gateway endpoint for Amazon S3

      For details on how to enable Amazon VPC endpoints, see AWS documentation.

    • The security group that the instance belongs to must have an inbound firewall rule for port 443 (HTTPS), source IP 0.0.0.0/0 and an outbound firewall rule for port 443 (HTTPS), destination IP 0.0.0.0/0.

      For instructions on how to configure and apply the network firewall rule, see AWS documentation.

Limitation

If your data is stored as a snapshot, you cannot restore it to a different source.

Considerations

  • Only one restore task can run at the same time for the instance.
  • Only if you excluded any of the disks from the instance backup. Keep in mind that the selected restore point will not include all the disks for the restore.
  • Only if you plan to specify post-restore scripts. The scripts are run from the home directory of the user account that R‑Cloud uses for running the scripts.
  • Depending on the operating system on the instance, the following user accounts are used:

    • For AWS and Azure instances: The user account that is assigned to the instance in R‑Cloud through a credential group.

    • For Google Cloud instances running Linux:

      • The instance has no credential group assigned in R‑Cloud: The HYCU Managed Service Account (HMSA).
      • The instance has a credential group assigned: The user account specified in the credential group.

    • For Google Cloud instances running Windows: The user account that is assigned to the instance in R‑Cloud by means of a credential group.

Depending on what you plan to restore, see one of the following topics:

I plan to restore... Instructions
A single instance or its disks. Restoring a single instance or its disks
Multiple instances or disks belonging to multiple instances in a single session. Restoring multiple instances or disks belonging to multiple instances in a single session

Restoring a single instance or its disks

When you restore a single instance or its disks, you can select among the following options:

Option Description Instructions
Restore Instance Enables you to restore an instance and its disks to the original location with the same settings.

Restoring an instance

Restore Disks Enables you to restore disks and attach them to the same instance. Restoring disks
Clone Instance Enables you to restore an instance and its disks by creating a clone of the instance. Cloning an instance
Clone Disks Enables you to restore disks by creating their clones and attaching them to the same or a different instance, or by creating their clones in the same or a different source and zone and leaving them unattached. Cloning disks
Move Instance Enables you to move an instance by restoring it to a different cloud platform. Moving an instance
Move Disks Enables you to move disks by restoring them and attaching them to an instance on a different cloud platform, or by restoring them to a different cloud platform and leaving them unattached. Moving disks

Restoring multiple instances or disks belonging to multiple instances in a single session

When you restore multiple instances or disks belonging to multiple instances in a single session, you can select among the following options:

Option Description Instructions
Restore Instances Enables you to restore multiple instances by creating clones of the instances.

Restoring multiple instances in a single session

Restore Disks Enables you to restore multiple disks on multiple instances at once.

Restoring multiple disks in a single session

Restore from JSON

Enables you to upload an existing restore specification to R‑Cloud and use it to restore multiple instances or disks.

Restoring multiple instances or disks from a JSON file