iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrbk: disable frodo temporarily, make more robust
[distro-setup]
/
btrbk-run
diff --git
a/btrbk-run
b/btrbk-run
index 2eb53c1e25700c6b7dad52e02a9eaf1bcdab2d2b..cce2abeae6364e10e194a1788a196049ff4d708e 100644
(file)
--- a/
btrbk-run
+++ b/
btrbk-run
@@
-269,7
+269,9
@@
if [[ ! -v targets && ! $source ]]; then
targets+=(x3wg.b8.nz)
fi
fi
targets+=(x3wg.b8.nz)
fi
fi
- for h in frodo kd; do
+ # temporarily disabled while doing recovery
+# for h in frodo kd; do
+ for h in kd; do
if [[ $HOSTNAME == "$h" ]]; then
continue
fi
if [[ $HOSTNAME == "$h" ]]; then
continue
fi
@@
-659,7
+661,9
@@
done
if [[ $source ]]; then
m mount-latest-subvol "${subvols[@]}"
else
if [[ $source ]]; then
m mount-latest-subvol "${subvols[@]}"
else
- m /a/exe/mount-latest-remote ${targets[@]}
+ for tg in ${targets[@]}; do
+ m /a/exe/mount-latest-remote "$tg" "${subvols[@]}" || ret=$?
+ done
fi
if [[ $ret == 0 ]]; then
fi
if [[ $ret == 0 ]]; then