I know this has been in the works, but I cannot find if this has been added yet. It is fine either way – this is, after all, a free program – but just would like to know.
For those reading this, the answer to my question is, nope Kopia does not natively support VSS yet. I imagine it will be added in the future, but you can use before/after scripts for snapshots to enable VSS. See Actions | Kopia (scroll down to Windows shadow copy section).
I have not tried this myself, as I would rather wait until Kopia adds this feature natively. Also, take note that you will need to enable actions for Kopia before you can do this. If using the CLI, you can start Kopia with --enable-actions
. If using KopiaUI, edit your repository.config (it is located in the “Config File” location in KopiaUI under “Repository”) and change "enableActions": false
to "enableActions": true
. Save the file and restart KopiaUI.
Please see also
New to Kopia and trying to get VSS to work but getting an error, I have enabled Actions to true.
“C:\Program Files\KopiaUI\resources\server\kopia.exe” policy set “C:” --before-folder-action “powershell -WindowStyle Hidden C:\Program Files\KopiaUI\before.ps1”
Givies me
Setting policy for hemps@hemps:C:\Program Files\KopiaUI
- setting before-folder (essential) action command to “powershell” with arguments “-WindowStyle” “Hidden” “C:\Program” “Files\KopiaUI\before.ps1” and timeout 5m0s
Error in kopia
snapshotted directory {"path":".","error":"error executing before-folder action: error running 'before-folder' action: essential action failed: exit status 1","dur":"394.7841ms"}
Your issue is with path:
Windows see it as two separate arguments. You need to surround path that containing white spaces in quotes