diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index 190a5c58db3daca20665bfe8fefb532b225fb3e8..d8bb693b7563a99197f9490603949cb8f85416e3 100644 --- a/plugins/transfer/restic.sh +++ b/plugins/transfer/restic.sh @@ -16,6 +16,7 @@ # 2022-05-16 ah v0.6 added restic prune # 2022-10-21 ah v0.7 simplify restic exec commands in _restic; remove --prune in check # 2022-11-04 ah v1.0 one command for forget and prune; rename hooks +# 2023-03-20 ah v1.1 use vss for backup on MS Windows # ================================================================================ # -------------------------------------------------------------------------------- @@ -79,6 +80,10 @@ echo -n "--tag $_tag " fi + # Use VSS on MS Windows + if _isMswindows; then + echo -n "--use-fs-snapshot " + fi } # return a cli parameter for a single exlude directory