#2385 Issue closed
: Setting OUTPUT_PREFIX has no effect¶
Labels: support / question
, fixed / solved / done
vigri opened issue at 2020-05-02 14:19:¶
-
ReaR version ("/usr/sbin/rear -V"): 2.5 / git
-
OS version ("cat /etc/rear/os.conf" or "lsb_release -a" or "cat /etc/os-release"): Debian 10
-
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
BACKUP=DUPLICITY
DUPLY_PROFILE="test"
OUTPUT=ISO
OUTPUT_PREFIX="${HOSTNAME}-$(date '+%Y-%m-%d-%H%M%S')"
OUTPUT_URL="ftp://....."
-
Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR): Virtual Machine
-
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device): x64
-
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot): GRUB
-
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe): local disk
-
Description of the issue (ideally so that others can reproduce it): /
-
Workaround, if any: none
Hello,
I wanted to change the name of the rescue media being created by rear.
Instead of rear-$HOSTNAME
I wanted to have the current datetime in the
filename.
According to default.conf
this can be achieved by setting
$OUTPUT_PREFIX
to a different value.
But this doesn't seem to work. The output file is always named
rear-debian.iso
(debian is in my case the hostname).
rear-debian.log
ISO image produced: 64170 sectors
Written to medium : 64170 sectors at LBA 0
Writing to 'stdio:/var/lib/rear/output/rear-debian.iso' completed successfully.
2020-05-02 14:31:12.388126181 Wrote ISO image: /var/lib/rear/output/rear-debian.iso (126M)
rear dump
# Output to ISO:
ISO_DEFAULT="boothd"
ISO_DIR="/var/lib/rear/output"
ISO_ISOLINUX_BIN=""
ISO_MAX_SIZE=""
ISO_MKISOFS_BIN="/usr/bin/xorrisofs"
ISO_MKISOFS_OPTS=""
ISO_PREFIX="rear-debian"
ISO_RECOVER_MODE=""
ISO_VOLID="RELAXRECOVER"
OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER="/usr/lib/systemd/boot/efi/systemd-bootx64.efi"
OUTPUT_MOUNTCMD=""
OUTPUT_OPTIONS=""
OUTPUT_PREFIX="debian-2020-05-02-160146"
OUTPUT_PREFIX_PXE=""
OUTPUT_UMOUNTCMD=""
OUTPUT_URL="REMOVED REMOVED REMOVED"
Question
Is there something I'm missing or is this a bug?
Thanks and best regards
vigri commented at 2020-05-02 14:36:¶
My fault... To change the ISO filename ISO_PREFIX
has to be used.
[Export of Github issue for rear/rear.]