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
975fdb84
Commit
975fdb84
authored
Sep 03, 2021
by
Nigel Kukard
Browse files
Merge branch 'hard-code-boot-for-root' into 'master'
Hard code /boot for root backups See merge request
!45
parents
6b613f2f
a0095aad
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/backstep-traceback-auto
View file @
975fdb84
...
...
@@ -112,10 +112,9 @@ for lv in ast.literal_eval(config.get(PERIOD, "backup_lvs")):
else
:
continue
if
","
in
lv
:
lv
,
bind_mount
=
lv
.
split
(
","
)
if
lv
==
"root"
:
bind_mount_args
.
append
(
"--bind-mount"
)
bind_mount_args
.
append
(
bind_mount
+
":"
+
bind_mount
)
bind_mount_args
.
append
(
"/boot:/boot"
)
lvm_snapshot_args
.
append
(
"--lvm-snapshot"
)
lvm_snapshot_args
.
append
(
VG
+
"/"
+
lv
)
...
...
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