PowerShell Script for Copy Vault

Hello All,


We have two vaults - production and development.
Both vault use SQL DB
From time to time we create copy from the production vault through the admin panel.
Has anyone tried to create a PowerShell script for this operation or have script example?
I appreciate any help.

P.S. I know this question was asked two year ago but except two (CopyVaultJob and  CopyVault) the reference to manual we did not received any answers.

Parents Reply
  • I can't see any open API issues related to this method.  Some questions:

    • Do you have any exception trapping earlier or later which may be affecting this?
    • How large is the source vault (database and files)?
    • Are you sure that the various parameters are correct on your copy job?
    • If you do the same from another language do you see this?
    • What version of PowerShell, and what version of M-Files?
Children