Skip to main content
Skip table of contents

Taking a snapshot

Perform the following steps to safely take snapshots of the dSource.

  1. Recover the physical backup (pg_basebackup or pgBackRest) in the data directory. When restoring backups created with pg_dump, start by initializing the PostgreSQL cluster in the target data directory, and then proceed to recover the backup using pg_restore.

  2. During the recovery of a physical backup, it's important to ensure that all tablespace locations, if any, are contained within the specified mount point. The following screenshot illustrates the expected file system structure after the recovery process is completed.

  3. Stop the cluster.

Failure to stop the cluster will result in a snapshot operation failure.

  1. Take a snapshot.

  2. Start the cluster.

  3. Provision, refresh, or rewind VDBs using the new snapshot. 

The initial snapshot that is created during the creation of a dSource includes an empty data directory located within the mount point created by Delphix. Consequently, creating Virtual Databases (VDBs) directly from this snapshot is not possible. Resolve this issue by completing the ingestion and then taking a new snapshot of the dSource and provisioning a VDB from the new one.

The following snippet illustrates this scenario: 

snapshot 2.jpg

Attempting to create a Virtual Database (VDB) from this empty snapshot will result in a failure, and you will receive the following error message.

snapshot 3.jpg
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.