To mount and access application data captured from valid application types in a container environment, follow these steps:
Click App Manager > Applications from the drop-down menu.
The Applications page opens.
Filter applications to list supported database applications—on Linux platform.
Select the application with desired image.
Choose Access from the drop-down list at the bottom of the Applications page.
The Access page opens listing captured images in the timeline ramp view. For more information on this view, see Access the timeline ramp view of an image.
Select a point-in-time image, then select Mount from the list of access operations.
The Mount page opens where the Mount to Host or VM option is selected by default.
Select the Container option.
Enter a unique name associated with the container mount in the Label field.
Enter a single IP address or a range of IP addresses in the Allowed IP Addresses field. Network addresses in the format
a.b.c.d./n
are also supported. Specifying IP addresses limits the number of hosts to only those with the IP address that are allowed to access application data for NFS.Leaving the IP address empty allows any host to access the application data.
For Included Volumes, all volumes are selected by default.
- Enter the path where the image should be mounted to inside the container in the Mount Location field. By default, this path is the same as the source path.
- Enter the path where the appliance should expose the logical volume of the application over NFS in the NFS Export Path field. If no path is specified, the system auto generates a path and exposes the data over that path.
Click Submit.
Click Okay to close the dialog, or click Monitor to follow the progress of the job in Monitor. Once the mount job is complete, the image becomes active and is available in the Active mounts view of the App Manager.
After a successful mount job, the data is available from the appliance over NFS. In order to access it from your container, you need to add some code to your container YAML definition. You can obtain this YAML code from either of the following:
- The Job Details page, see Monitor mount jobs to containers.
- The Active Mounts page, see Access container YAML code from the active mounts page.
In order to consume the selected application's data from within the container over NFS, the YAML code must be added to the container's YAML configuration file.
Management of the active mounts
Once you have created a mount, you can track the image form the App Manager > Active Mounts. Ideally, do not leave any image mounted indefinitely. This is because the backup image that the mount was created from, cannot expire until all its mounts have been deleted. When you have finished using the mounted image then either:
- Unmount the image. You can remount it if needed. You can then delete the image later when you are certain it is no longer needed.
- Unmount and delete the image. This deletes the mounted image, not the backup that the mount is based on.