Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Database restore resulting in error: Unable to create volume

Database restore resulting in error: Unable to create volume


Database restore resulting in error: Unable to create volume


When attempting to restore my sqmdb.bak file from machine A to machine B, I am getting the following message: E7040: UT_ER_VOLUME_CREATE: Unable to create volume ("ools/vtools/vbackup/olib.cxx", line 1692)

When vbackup does a back up, any data volume other than the original system volume is stored in the backup file with the *absolute* path name, not the relative path name. When you try to restore the database, it attempts to create the volume at the same *absolute* path. Therefore, if the original machine has the database at "E:\caliber\versant\db\SQMDB", then when restoring, vbackup will be trying to create a file at "E:\caliber\versant\db\SQMDB\system1". If "E:\caliber\versant\db\SQMDB" doesn"t exist, the file can"t be created. The way to handle this is to edit the profile.be in the SQMDB director prior to running the restore. For each extra volume, you"ll need a "datavol" parameter specifying the *new* path for the volume.

For example: Add the following lines to the profile.be; under the line = sysvol 2047M system

datavol system1 2047M e:\borland\caliberrmserver\versant\db\CFMDB\system1

datavol system2 2047M e:\borland\caliberrmserver\versant\db\CFMDB\system2

Old KB# 15941


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:27
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.