Vault Database Configuration Export and Folder Structure

Vault Database Configuration Export and Folder Structure

estringer
Advocate Advocate
1,609 Views
10 Replies
Message 1 of 11

Vault Database Configuration Export and Folder Structure

estringer
Advocate
Advocate

When you export a Vault database configuration, will it also copy the folder structure to that configuration?

0 Likes
Accepted solutions (2)
1,610 Views
10 Replies
Replies (10)
Message 2 of 11

ihayesjr
Community Manager
Community Manager
Accepted solution

@estringer 

No. Please see this Help topic to understand what is in the configuration file.

Vault 2022 Help | Import and Export Vault Configurations | Autodesk




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
Message 3 of 11

estringer
Advocate
Advocate

@ihayesjr ,

Thank you. I was hoping that it was something that just was not mentioned on the Help page. I have been dragging and dropping my pre-built folder structure from File Explorer into Vault, is there a better/recommended way besides this?

0 Likes
Message 4 of 11

ihayesjr
Community Manager
Community Manager
Accepted solution

The way you are doing it is the only way. There isn't a way to create a Vault with a folder structure at the same time.




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 5 of 11

RajSchmidt
Advisor
Advisor

I had to do such a thing once. I created the folder structure locally in my workdir and put an empty TXT file into each folder of the lowest level. I wrote a small batch to do this. Then I used the Project Check in of Inventor to bring all the files into Vault. That would drag the folder structure along. Afterwards I simply deleted the TXTs from Vault.

0 Likes
Message 6 of 11

steveh5
Advisor
Advisor

FYI...

If you would like an exact replica of your current vault to test with including folder structure in Vault Explorer. Just spin up a new ADMS Server and restore a backup from your production vault less the filestore.

May have to clean up the db a bit, but you should have your folder structure and all of your settings.

 

Also....

I know this has nothing to do with the question, but ONE additional note.....

If you are attempting to get a config file for a Vault created before 2012 and that vault has UDP's, the import will probably fail.

 

HTH,

Steve H.

Steve Hilvers
Inventor Certified User / Vault Professional Influencer
0 Likes
Message 7 of 11

RajSchmidt
Advisor
Advisor

I believe you can do that. You need to delete all sub-folders from a backup’s filestore folder, just leaving the to two o three “000” folders. And the FileStoreInfo.fsg. After a restore you should have a complete Vault minus the actual files. I admit that I have never done this myself but colleagues have.

0 Likes
Message 8 of 11

ihayesjr
Community Manager
Community Manager

DO NOT do what @RajSchmidt stated about deleting files directly in the file store!

This is absolutely wrong.

If you want to delete the files, delete the files through the Vault client and the files in the file store will get deleted.




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
Message 9 of 11

RajSchmidt
Advisor
Advisor

Correct, @ihayesjr . We have done this only for test purposes or for analysing an exiting Vault configuration. You should never ever do this for a productive environment!

0 Likes
Message 10 of 11

estringer
Advocate
Advocate

I am unsure as to how this post got to the point where it is so off the original topic. The drag and drop method for creating a Vault folder structure from File Explorer is very easy to use. Since @ihayesjr says it is the only method, I am going to go with it. He hasn't given me any bad answers yet!

Message 11 of 11

ihayesjr
Community Manager
Community Manager

@estringer 

Another option if you are or know a developer.

https://github.com/Autodesk/vault-admin-tools/blob/master/README.md

 




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog