Just got Vault 2015 going with a very simple configuration for some initial testing. I'd like to copy the properties of some of these test vaults to a file, backup of some kind so they can be reproduced. Is that something the API would be good for or do I need to review how to do this using a backup from the client or server side?
hi btillman,
you can do this by using vault api too. but why not using vault BCP ?
The data transfer utility is able to export a package of your vault that contains only the property definitions if you want.
Somtimes when I do the same thing like your (i mean when I configure a vault with props and categories and revision definitions), and I do different tests with this vault, I need to recreate a new one with the same configuration.
The simplest way for me, is to export first the original vault into a xml package that contains only the configuration I want.
Than I create a batch file where I run vaultbcp.exe with the params for importing this packages into a new vault.
After creating a new empty vault and can just execute the batchfile and the configuration is imported 🙂
If you have Vault Workgroup or above, in ADMS-Console you can select a vault and use the "Export Configuration ..." button on the context menu, or on the Actions pulldown menu.
With the resulting configuration file, you can create a new vault with the same configuration, or you can import it into an existing vault. An import will not overwrite anything that already exists - so if you intend to copy settings from vault to vault this way, it is probably best to make your own properties, lifecycles, categories, etc; rather than modify the out-of-the-box ones.
You can only use a configuration file with the same version of the server that it came from.
-Dave