#! /bin/bash
# UUID of the backup device. Retrive with:
# lsblk -o +UUID
ext_luks_dev="00000000-0000-0000-0000-000000000000"
# Description of LUKS device, to avoid confusions! This is unused by the
# script, itis just to help the user.
ext_luks_desc="External disc kept off-site"
# Key file to encrypt/decrypt LUKS container.
ext_luks_key="/path/to/keyfile"
# Mount point of the (decrypted) LUKS container.
ext_mnt_point="/mnt"
# Folder to be created inside the root of the backup device. All the backed up
# data will be inside this folder -- or the root of the device, if this
# variable is kept empty.
ext_root_backup_folder="<USER>-BACKUP"
# MUST contain absolute paths!
locations=()
locations+=( "$HOME/folder1" )
locations+=( "$HOME/folder2" )
excludes=()
excludes+=( "$HOME/path/to/keyfile" )
excludes+=( "*/build/*" )