#!/bin/bash

## Copyright (C) 2023 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## qubes-raw-backup-adrelanos-shared bails out with exit 1 by default
## until the consumer edits it, so shellcheck flags the body as
## unreachable.
# shellcheck disable=SC2317

set -x
set -o errexit
set -o nounset
set -o pipefail
set -o errtrace
shopt -s inherit_errexit

source /usr/bin/qubes-raw-backup-adrelanos-shared

true "$0: ERROR: Please verify and edit this RESTORATION script!"
exit 1

pv < "$backup_disk" > "$original_disk"
