Initiating Incremental V2P on a SQL Server VDB
This topic describes how to perform an Incremental V2P operation, consisting of two phases:
The following sections explain the procedure to complete these stages using CLI.
Creating Incremental VDB
This is a preparatory step before executing incremental export.
Prerequisites
-
Incremental VDB must be created from a dSource with FULL recovery model.
-
Incremental VDB must be provisioned with FULL recovery model.
Preparation
-
Determine a consistent and healthy snapshot in dSource timeline.
-
Determine the time interval to capture VDB backups.
-
Confirm sufficient Delphix Engine storage is reserved to cover the expected growth on the Incremental VDB as well as to retain its backups until Incremental export is started.
Procedure
To provision an Incremental VDB, define the required fields as outlined in the CLI cookbook: provisioning a SQL server VDB. Additionally, define parameters as shown below to set the time interval for execution of Backup worker to capture VDB changes:
set source.incrementalExportBackupParams.type=MSSqlIncrementalExportDelphixStorageBackupParams
set source.incrementalExportBackupParams.backupFrequencyMinutes=<backup_interval_in_minutes
Once the provisioning of VDB is completed, VDB state as well as related backup information is published as runtime attributes. To know more about the available container runtime attributes, refer to the Monitoring incremental V2P status section.
Exporting Incremental VDB
This section describes how to perform an incremental VDB export for an SQL Server.
Prerequisites
-
Incremental VDB should be present.
-
OLDEST snapshot/point in Incremental VDB timeline should be intact.
-
SQL server instance version used for export should match the SQL Server instance version of the VDB snapshot.
Procedure
To perform an incremental export on an incremental VDB using CLI, following export parameters must be set as shown below:
-
Specify the type
Copyset type=MSSqlIncrementalExportParameters -
Set the VDB you wish to export
Copyedit timeflowPointParameters
set container=<incremental_vdb>
set location=OLDEST_SNAPSHOT
back
Rest of the V2P parameters can be set as outlined in the CLI Cookbook: V2P virtual to physical on SQL Server section.
Export (i.e. Traditional or non-incremental export) is also allowed on the Incremental VDB. However, these 2 variations cannot be performed in parallel.
On completion of incremental export, runtime attributes such as restore status, backups pending to be applied etc. are regularly published at fixed intervals. To know more about the available container runtime attributes, refer to the Monitoring incremental V2P status section.