You can create a clone from an IntelliSnap backup or a block-level full backup.
Before You Begin
-
The version of database server must be the same on both the source client and the destination client.
-
The database user must have the same user ID on both the source database server and the destination database server.
-
The Commvault Cloud package and the Backup Gateway must be installed on the destination client.
-
On the destination client, create a working directory to use as the mount path for the database clone files. This directory must be writable by the database user.
-
The working directory must have enough space for the cloned server.
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The database Overview page appears.
-
Go to Instant clones tab and click Instant clone.
The Select database type dialog box appears.
-
Select PostgreSQL abd click Next.
The Add PostgreSQL instant clone dialog box appears.
-
Under Source details section, from the Source server list, select the client that contains the instance that you want to clone.
-
From the Source instance list, select the instance that you want to clone.
-
Under the Destination details section, from the Destination server list, select the client where you want to clone the server.
-
For the Instance name list, specify the binary directory and database user for the clone:
-
To use the binary directory, the library directory and the database user of an existing instance for the clone server, select the instance.
-
To specify the location for the binary directory, the library directory and the database user for the clone server, select Custom.
-
-
In the Recover to section, specify the backup to recover:
-
To recover the most recent backup operation, select Most recent backup.
-
To recover a specific backup, select Point in time, and then enter the date and time the backup ran.
-
-
Under the Destination options section, enter the directory and port information:
-
In the Clone working directory box, enter the location to create the clone in. The archive logs are also restored to this path.
-
Enter the port that you want the cloned instance to use.
Verify that the port is not in use.
-
-
Under the Clone options section, specify the time period to retain the clone for.
After the time period expires, the clone server is unmounted and the mount point is deleted. By default, the clone is retained for 24 hours.
-
To overwrite an existing clone instance that uses the same port number as the clone that you want to create, select the Overwrite if already exists check box.
-
Under the Advanced options section, in the Command file path box enter the path to the script to run a script after the clone is created.
-
Click Submit.