Skip to content
Snippets Groups Projects
Commit 562c31fd authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'support-windows' into 'master'

Restic: use VSS for backup on windows

See merge request !99
parents 561ee072 942c4f0e
No related branches found
No related tags found
1 merge request!99Restic: use VSS for backup on windows
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
# 2022-05-16 ah v0.6 added restic prune # 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-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 # 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 @@ ...@@ -79,6 +80,10 @@
echo -n "--tag $_tag " echo -n "--tag $_tag "
fi fi
# Use VSS on MS Windows
if _isMswindows; then
echo -n "--use-fs-snapshot "
fi
} }
# return a cli parameter for a single exlude directory # return a cli parameter for a single exlude directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment