Skip to content
Snippets Groups Projects

Restic: use VSS for backup on windows

Merged Hahn Axel (hahn) requested to merge support-windows into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -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
Loading