fixes
This commit is contained in:
parent
8c0ffdb5f2
commit
388f44889f
|
@ -139,7 +139,7 @@ if mountpoint -q /var/lib/backup/quelle/bootfs; then
|
|||
fi
|
||||
|
||||
mkdir -p "/var/lib/backup/ziel/void/{rootfs,homefs}"
|
||||
for t in backuprootfs "${backupbootfs}"; do
|
||||
for t in backuphomefs backuprootfs "${backupbootfs}"; do
|
||||
if [[ "${t}" ]]; then
|
||||
if ! btrbk --config="${cfg}" --progress --quiet run "${t}"; then
|
||||
btrbk --config="${cfg}" --progress --quiet clean
|
||||
|
|
|
@ -17,6 +17,10 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
if [[ "${1}" == "homefs" ]]; then
|
||||
btrbk --config="${cfg}" --quiet run snapshothomefs
|
||||
fi
|
||||
|
||||
if ! sudo update-grub 2> /dev/null; then
|
||||
echo update-grub failed
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue