Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iml-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
iml-backup
Commits
942c4f0e
Commit
942c4f0e
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
Restic: use VSS for backup on windows
parent
3b1e7483
No related branches found
No related tags found
1 merge request
!99
Restic: use VSS for backup on windows
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/transfer/restic.sh
+5
-0
5 additions, 0 deletions
plugins/transfer/restic.sh
with
5 additions
and
0 deletions
plugins/transfer/restic.sh
+
5
−
0
View file @
942c4f0e
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment