Skip to main content
NetApp public and hybrid cloud solutions

Protection procedures for databases running on VMware VMDKs with SnapCenter for SQL (SCSQL)

Contributors reno

The following section shows how to protect databases running on VMware VMDKs with SnapCenter for SQL (SCSQL).

Setting up SCSQL

The set up for using SCSQL to protect databases on VMDKs are as follows:

  1. Install and configure SnapCenter Server.

  2. Log in to SnapCenter.

  3. Configure the SnapCenter environment:

  4. For Microsoft SQL Server databases on VMware VMDKs:

    • Deploy SCV (already covered in the setup section).

    • Register the plug-in with SnapCenter.

  5. Add SQL server hosts and install plug-ins:

Setting up a backup policy

The following steps will show how to set up a backup policy.

  1. Select the database from the resource tab and select "Protect" from the upper-right corner.

    Note Validations are performed against a SQL Server database running on the guest VM.

    Figure representing the dialog for the above step

  2. Click on the plus sign icon to configure a SQL Server backup policy.

    Figure representing the dialog for the above step

  3. In this demo, "Full backup" is selected. Select "Next" to continue.

    Figure representing the dialog for the above step

  4. On the Summary page, select "Finish".

    Figure representing the dialog for the above step

  5. Proceed to "Finish".

    Figure representing the dialog for the above step

Monitoring a backup

Once you have set up a backup policy, you can monitor your back up operations as they take place. You can do this either by clicking on Backup now to trigger an on-demand back up operation or by waiting for your scheduled backup policy to kick in.

  1. Monitor the job progress using "Monitor > Jobs".

  2. Select the backup job, and then click "Details" to view the job details as below.

    Figure representing the dialog for the above step

Restore of databases residing on the VMDKs

The database on the VMDK can be restored to a specific point in time.

We can simulate the importance of this by deleting some tables in your database which will then be corrected by performing a point-in-time restore.

Below you can see that several tables from our database shown in the first screenshot have been deleted in the second screenshot:

Figure representing the dialog for the above step

Figure representing the dialog for the above step

The following steps show how to carry out a restoration to recover those deleted tables:

  1. Select the database from the resource group.

    Figure representing the dialog for the above step

  2. In the Restore page, select the option "Restore the database to the same host where the backup was created".

    Figure representing the dialog for the above step

  3. Select the option to use a log backup to a point in time.

    Figure representing the dialog for the above step

  4. Select "Overwrite database with same name during restore, Create transaction log backup before restore", and select "Next".

    Figure representing the dialog for the above step

  5. Select the post-restore state you wish the database to assume from the list options and select "Next".

    Figure representing the dialog for the above step

  6. On the summary page, select "Finish".

    Figure representing the dialog for the above step

  7. Monitor the job to completion.

    Figure representing the dialog for the above step

  8. Verify that the deleted tables have been successfully restored.

    Figure representing the dialog for the above step