#321 Issue closed
: lots of empty ISOs are made¶
Labels: support / question
sirtow opened issue at 2013-10-29 19:10:¶
Hi,
Running rear -vdD mkbackup.
I get the following
Preparing 9 ISO images ...
Preparing 9 ISO images for /mnt/Pluto_Rescue/pluto/backup.tar.gz.??...
AUTHORS COPYING Makefile README doc etc packaging usr var
/opt/rear
Making additionnal ISO image : rear-pluto_01.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_01.iso (372K)
Making additionnal ISO image : rear-pluto_02.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_02.iso (372K)
Making additionnal ISO image : rear-pluto_03.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_03.iso (372K)
Making additionnal ISO image : rear-pluto_04.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_04.iso (372K)
Making additionnal ISO image : rear-pluto_05.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_05.iso (372K)
Making additionnal ISO image : rear-pluto_06.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_06.iso (372K)
Making additionnal ISO image : rear-pluto_07.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_07.iso (372K)
Making additionnal ISO image : rear-pluto_08.iso
Wrote ISO image: /opt/rear/var/lib/rear/output/rear-pluto_08.iso (372K)
The output/ISO/Linux-i386/81_prepare_multiple_iso.sh has the following :
# in mkrescue workflow there is no need to check the backups made, otherwise,
# NB_ISOS=(ls . | wc -l) [side effect is that lots of empty ISOs are made]
[[ "$WORKFLOW" = "mkrescue" ]] && return
Is it a bug as its happening during mkbackup?
gdha commented at 2013-10-30 12:46:¶
Can you paste your /etc/rear/local.conf
file please?
I have a working configuration with:
OUTPUT=ISO
## ISO backup included
BACKUP=NETFS
BACKUP_URL=iso://backup
ISO_MAX_SIZE=4500
###ISO_MAX_SIZE=650
sirtow commented at 2013-11-01 01:06:¶
Sorry for late response....Thsi is my local.conf:
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=file:///mnt/Pluto_Rescue
#BACKUP_URL=iso://backup
ISO_MAX_SIZE=4500
EXCLUDE_MD=(${EXCLUDE_MD[@]} /dev/md0)
EXCLUDE_MOUNTPOINTS=( ${EXCLUDE_MOUNTPOINTS[@]} /mnt/vol1 /mnt/mirror )
COPY_AS_IS_EXCLUDE=( ${COPY_AS_IS_EXCLUDE[@]} /opt/mkcdrec /opt/ut/settings/torrents )
sirtow commented at 2013-11-03 22:43:¶
Here whats happening now :
pluto rear # cat etc/rear/local.conf
# Create Relax-and-Recover rescue media as ISO image
OUTPUT=ISO
BACKUP=NETFS
#BACKUP_URL=file:///mnt/Pluto_Rescue
BACKUP_URL=iso://backup
ISO_MAX_SIZE=4500
EXCLUDE_MD=(${EXCLUDE_MD[@]} /dev/md0)
EXCLUDE_MOUNTPOINTS=( ${EXCLUDE_MOUNTPOINTS[@]} /mnt/vol1 /mnt/mirror )
COPY_AS_IS_EXCLUDE=( ${COPY_AS_IS_EXCLUDE[@]} /opt/mkcdrec /opt/ut/settings/torrents )
pluto rear # ./usr/sbin/rear -vDd mkbackup
Relax-and-Recover 1.15 / Git
Using log file: /opt/rear/var/log/rear/rear-pluto.log
ERROR: The OUTPUT_URL scheme can't be iso. You must choose a correct location !
Aborting due to an error, check /opt/rear/var/log/rear/rear-pluto.log for details
You should also rm -Rf /tmp/rear.5bynFUwU0HqVFxK
Terminated
pluto rear
gdha commented at 2013-11-04 09:14:¶
You need to define an OUTPUT_URL
location which is different then the
BACKUP_URL
location. If you omit, the OUTPUT_URL
definition then it
is the same as the BACKUP_URL
location and in your case it becomes
OUTPUT_URL=iso://backup
. Therefore, you got the error message above.
Please use something like OUTPUT_URL=nfs://server/location/
and keep
the BACKUP_URL=iso://backup
setting.
My local.conf
copy/paste was not complete - sorry about that.
sirtow commented at 2013-11-05 02:02:¶
Yep that worked :) the backup completed without any problem and iso
created .Thank you very much!!!
The final local.conf looks like :
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=iso://backup
ISO_MAX_SIZE=4500
OUTPUT_URL=file:///mnt/Pluto_Rescue/
[Export of Github issue for rear/rear.]