Release Information

Introduction

Getting Started

Delphix Engine System Administration

Virtual Database Management with the Delphix Engine

Data Backup and Recovery

Delphix Modernization Engine

Delphix Masking

Virtualizing Unstructured Files in the Delphix Engine

Virtualizing Oracle E-Business Suite in the Delphix Engine

JetStream

Mission Control

Delphix Express User Guide

Reference


Documentation for Previous Versions of the Delphix Engine

Delphix Server 3.0 Documentation
Delphix Server 3.1 Documentation
Delphix Engine 3.2 Documentation
Delphix Engine 4.0 Documentation
Delphix Engine 4.1 Documentation
Delphix Engine 4.2 Documentation
Delphix Engine 4.3 Documentation

Skip to end of metadata
Go to start of metadata

This topic describes how to use the command line interface to link a SQL Server database by loading from a specific full backup of the source database as indicated by the backup UUID.

Prerequisites

  • You can find the fullBackupUUID referenced in the last command line in the msdb.dbo.backupset on the source database, for example using the following query
Use master
select backupset.database_name,
      backupset.type,
      backupset.backup_set_id,
      backupset.backup_set_uuid,
      backupset.family_guid,
      backupset.position,
      backupset.first_lsn,
      backupset.last_lsn,
      backupset.database_backup_lsn,
      backupset.name,
      backupset.has_bulk_logged_data,
      backupset.is_damaged,
      backupset.begins_log_chain,
      backupset.is_copy_only,
      backupset.backup_finish_date,
      backupset.database_version,
      backupset.database_guid,
mediafamily.logical_device_name,mediafamily.physical_device_name
from msdb.dbo.backupmediafamily mediafamily join msdb.dbo.backupset backupset
on mediafamily.media_set_id = backupset.media_set_id where backupset.database_name = N'<Database Name>'
order by backupset.backup_finish_date desc

Procedure

Enter these commands through the Delphix Engine command line interface:

/database;

link;
set type=MSSqlLinkParameters;

set container.type=MSSqlDatabaseContainer;
set container.name=<dSource name>;
set container.group=<group name>;
set container.sourcingPolicy.loadFromBackup=true;

set source.type=MSSqlLinkedSource;
set source.config=<source database>;
set source.sharedBackupLocation="<source database backup location>";

set pptRepository=<SQL instance on the staging server>;

set container.sourcingPolicy.type=SourcingPolicy;

set dbUser=<source database login with SQL authentication>;

set dbCredentials.type=PasswordCredential;
set dbCredentials.password=<password for the database login>;

set fullBackupUUID=859FD1F1-1590-4FCB-A341-5D2D13852E2E;

commit;