View a markdown version of this page

Edit, migrate, and unregister resources - AWS Backup

Edit, migrate, and unregister resources

After a resource is registered, you can update its connection details, migrate it between appliances, and unregister it when you no longer need to protect it.

Update secret configuration

You can update the resource provider configuration or secret configuration for a registered resource, for example, to rotate a password or change a host address, without starting a new registration job. In the API, use UpdateResourceProvider. The next synchronization or backup picks up the change. For credentials stored in AWS Secrets Manager, update the secret value. AWS Backup continues to reference the same secret ARN.

For some workloads you can update a host address as long as it still resolves to the same underlying instance. For details, see the Prepare page for your workload.

You can change how AWS Backup deletes Not found resource targets. See Delete Not found resource targets automatically.

Migrate a resource between appliances

Migrate a resource provider from one appliance to another when you add a new appliance or replace an existing one and want to keep the resource's registration instead of registering it from scratch.

When to migrate. Migrate a resource provider when you deploy a new appliance or replace an existing one and want to move the resource to it.

How to migrate. Call StartResourceProviderMigration with the resource provider ARN in Arn and the destination appliance ARN in DestinationApplianceArn. If the appliance you are migrating from still exists, it must be connected for the migration to complete.

To migrate a resource provider in the console
  1. In the AWS Backup console, open the details page of the appliance that the resource provider is on.

  2. Under Resource providers, select the resource provider, and then choose Actions, Migrate. You can also choose Migrate on the resource provider's details page.

  3. For Backup appliance, choose the destination appliance.

  4. Choose Migrate provider.

Agent-based resources. An agent works only with the appliance whose agent certificate it holds. For SQL Server, Oracle, and Linux and Windows servers, replace the agent certificate on each host with the destination appliance's certificate before you migrate. You don't need to reinstall the agent. For more information, see Move a host to a different appliance.

Effect on the resource.

  • The resource provider and its resource targets keep their ARNs, so backup plans that include them continue to apply. Backup and restore jobs that start while the migration is in progress fail.

  • Log backups for SQL Server and Oracle stop when the migration starts.

  • If the migration fails, the resource provider status is MIGRATION_FAILED, its resource targets are UNAVAILABLE, and backup and restore jobs that start fail. Retry the migration, or start a manual sync to bring the resource provider back on the appliance it was migrating from. See Start a manual synchronization.

  • Existing recovery points stay restorable. A local recovery point stays on the appliance that created it, and you can restore it only to a resource registered on that appliance. Deleting a resource from an appliance doesn't delete its recovery points.

  • A synchronization starts on the destination appliance.

  • The first backup on the destination appliance is a full backup if the appliance has no previous recovery point for the resource. Depending on the resource type, it might be a full backup even if a previous recovery point exists. For example, NAS takes a full backup on the new appliance even after you copy recovery points back.

Unregister a resource

Unregistering a resource with DeleteResourceProvider removes it and all of its resource targets from AWS Backup management, removes the stored secret configuration reference, and disconnects the appliance from the resource provider. Removing the resource is enough to stop backing it up.

Unregistering a resource does not delete its existing recovery points. Your recovery points remain available for restore according to their lifecycle.

You cannot unregister an individual resource target that AWS Backup can still find. You can delete a Not found resource target with DeleteResourceTarget. AWS Backup manages resource targets through their resource provider and rediscovers them on the next synchronization.

While an appliance is disconnected from AWS Backup, you can register new resources, but initial discovery fails if the appliance does not reconnect in time. You can still request unregistering resources, but the request fails if the appliance still exists and does not reconnect in time. You can try again after it reconnects. Wait until any synchronization or migration finishes before unregistering.