Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-backstep
awit-backstep-traceback
Commits
6b613f2f
Commit
6b613f2f
authored
Sep 03, 2021
by
Nigel Kukard
Browse files
Merge branch 'vg-exception-handling' into 'master'
Handle that one vg exception See merge request
!44
parents
8f8fb0de
b0584943
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/backstep-traceback-auto
View file @
6b613f2f
...
...
@@ -104,7 +104,13 @@ for lv in ast.literal_eval(config.get(PERIOD, "backup_lvs")):
bind_mount_args
=
[]
lvm_snapshot_args
=
[]
VG
=
"lvm-raid"
if
os
.
path
.
exists
(
"/dev/lvm-raid/"
+
lv
):
VG
=
"lvm-raid"
elif
os
.
path
.
exists
(
"/dev/lvm-cache/"
+
lv
):
VG
=
"lvm-cache"
else
:
continue
if
","
in
lv
:
lv
,
bind_mount
=
lv
.
split
(
","
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment