Tech ONTAP Blogs
Tech ONTAP Blogs
The SnapMirror to Cloud Resync (SM-C Resync) feature is designed to streamline data protection and continuity during volume migrations in NetApp environments. When a volume is migrated—using SnapMirror Logical Replication (LRSE)—from one on-premises NetApp deployment to another, or to a cloud-based solution such as Cloud Volumes ONTAP (CVO) or Cloud Volumes Service (CVS), SM-C Resync ensures that existing cloud backups remain intact and operational.
This functionality eliminates the need for a time-consuming and resource-intensive re-baseline operation, allowing backup operations to continue seamlessly post-migration. SM-C Resync is particularly valuable in workload migration scenarios, supporting both FlexVols and FlexGroups, and is available starting with ONTAP version 9.16.1.
By maintaining backup continuity across environments, SM-C Resync enhances operational efficiency and reduces the complexity of hybrid and multi-cloud data management.
While customer completes a Tech Refresh or migrating volumes from one ONTAP cluster to another, it's important that your backups continue to work without interruption. This is exactly what BlueXP Backup and Recovery SnapMirror Cloud Resync helps with—it ensures that your cloud backups stay consistent even after a volume migration.
Let’s break it down with an example:
Imagine you have an on-premises volume called Vol1a. This volume has three snapshots: S1, S2, and S3. These snapshots are like restore points. Vol1 is already being backed up to a cloud object store endpoint using SnapMirror to Cloud (SM-C). However, only S1 and S2 have been backed up to object store so far.
Now, you want to migrate Vol1 to another ONTAP cluster. To do this, you create a SnapMirror Logical Replication (LRSE) relationship to a new cloud volume called Vol1b. This transfers all three snapshots—S1, S2, and S3—from Vol1a to Vol1b.
Once the migration is complete:
At this point, you want to continue backing up Vol1b to the same cloud endpoint. But instead of starting a full backup from scratch (which would take time and resources), you use SnapMirror Cloud Resync.
Here’s how the resync works:
This process is efficient and smart. It avoids re-sending data that’s already backed up, saves bandwidth, and ensures that your backup chain continues smoothly after migration.
Before initiating the migration process, the Tech Refresh team must ensure the following prerequisites are completed to avoid data loss and ensure a smooth transition:
Once the migration is complete, the following steps must be carried out to re-establish protection and prepare for resync:
To resume cloud backups from the newly migrated volumes, a SnapMirror Cloud Resync must be performed. Follow these steps to initiate the resync process:
1. Navigate to the Backup Settings
From the Volume Dashboard page, click on Backup Settings. Then, under Advanced Settings, select Resync Backup.
2. Specify the New Source Environment
Enter the New Source Working Environment—this is the new ONTAP cluster where the volumes have been migrated.
3. Select the Existing Target Object Store
Choose the Existing Target Object Store that contains the backups from the previous (old) source working environment.
4. Prepare the Volume Mapping CSV File
5. Fill in Volume Mapping Details
In the CSV file, enter:
6. Upload the Completed CSV File
Once the CSV is filled out, upload it using the Upload button under Upload Volume Mapping Details.
7. Enter Network and Provider Settings
Fill in the required Network and Provider Settings details.
8. Submit the Configuration
Click Submit to begin the validation process.
9. Validation Process
BlueXP Backup and Recovery will validate that each volume selected for resync has at least one common snapshot. This ensures the volumes are ready for the SnapMirror Cloud Resync process.
10. Review Validation Results
After validation, the UI will display:
11. Check Volume Eligibility
The table will indicate which volumes are eligible or not eligible for resync.
If a volume is not eligible, it means no common snapshot was found.
Important:
To ensure volumes remain eligible for SnapMirror Cloud Resync, always take a final snapshot of each volume before deleting any existing SnapMirror relationships during the pre-migration phase. This preserves the latest state of the data..
12. Initiate Resync
After reviewing the table, click Resync to proceed with the SnapMirror Cloud Resync.
13. Monitor the SnapMirror Cloud Resync
Once the SnapMirror Cloud Resync is initiated you can monitor the status of the job under the Job Monitoring page.
In the previous release, BlueXP Backup and Recovery introduced preview support for third-party object stores, starting with Wasabi. In the current release, this support has been expanded to include MinIO, also in preview mode.
To begin using this preview feature, users must enable a specific flag on the connector (Click here for more details on how to enable the preview feature). Once enabled, users can enter the connection details of their MinIO third-party object store in the protection workflow by choosing “Third party Compatible” object store in the backup section.
1. To begin protecting your data, select the volumes that need to be backed up using the BlueXP Backup and Recovery protection wizard.
2. In the "Define Backup Strategy" section, choose the required protection options. For this setup, select both "Local Snapshot" and "Backup".
3. Under the "Local Snapshot" protection policy, enter the appropriate snapshot policy based on your retention and recovery requirements.
4.In the "Backup" section, you will be prompted to select a provider. To back up the volumes to a third-party object store such as MinIO, click on the "S3 Compatible" option.
5. Clicking on "S3 Compatible" will open the "Provider Settings" panel, where you need to enter the "S3 Compatible Details" and the corresponding access credentials
6. Next, select the desired "Backup Policy" and click "Next". Review your configuration on the summary page and activate the backup to complete the setup.
While this feature is in preview, there are certain limitations:
This preview version is designed to gather user feedback and ensure robust integration with third-party object stores before full functionality is rolled out. Users are encouraged to explore this new capability and provide feedback to help enhance the service. Please do not use this build in production environments.
Run the command: `sudo su`
Run the command: `podman volume ls | grep cbs`
Expected output: local service-manager-2_cloudmanager_cbs_volume
podman volume inspect service-manager-2_cloudmanager_cbs_volume | grep Mountpoint
/var/lib/docker/volumes/service-manager-2_cloudmanager_cbs_volume/_data
cd /var/lib/docker/volumes/service-manager-2_cloudmanager_cbs_volume/_data/cbs_config
{
"feature-flags":
{
"allow-s3-compatible": true
}
}