Dear all,

 

The remastering option of the backup seems to fail again for me at least in core124.  It was working in core123.  Now I am getting a remastered ISO 0f 0 size.

Looking at the backups created everything else seems to work except the remastering part.

 

Backup from 20181016-0742.ipf Size 11.46 MB  

Backup from 20181016-0744.ipf Size 13.22 MB  

Backup from 20181016-0804.ipf Size 13.22 MB  

Backup from ipfire-2.21.x86_64-full-core124-20181016-0744.iso Size 0.00 MB    

Backup from ipfire-2.21.x86_64-full-core124-20181016-0804.iso Size 0.00 MB    

Backup from ipfire-2.21.x86_64-full-core124.iso Size 240.00 MB

 

To have a look at it I used command line and change directory to /var/ipfire/backup/bin and run ./backup.pl iso

This is the tail end of the output from  ./backup.pl iso

~~~~~~~~~~~~~~

Remastering iso

mount: /dev/loop0 is write-protected, mounting read-only

Running mkisofs

I: -input-charset not specified, using utf-8 (detected in locale settings)

genisoimage: No such file or directory. Invalid node - 'backup'.

isohybrid: ipfire-2.21.x86_64-full-core124-20181016-0804.iso: read error - 0: Success

Cleaning up

^C

~~~~~~~~~~~~~~

 

The CTRL C is because the script hangs trying to clean up.

 

 

Below is the end of the script that is called - /usr/local/bin/backupiso

~~~~~~~~~~~~~~~~~

echo "Remastering iso"

mkdir -p backupiso.tmp.${TS}

mount -o loop ${ISO} backupiso.tmp.${TS}

cp -pr backupiso.tmp.${TS} backupiso.${TS}

umount backupiso.tmp.${TS}

rm -r backupiso.tmp.${TS}

 

# Copy backup file to disk

cp "/var/ipfire/backup/${TS}.ipf" "backupiso.${TS}/backup.ipf"

 

echo "Running mkisofs"

makeiso backupiso.${TS} $(basename ${ISO} .iso)-${TS}.iso

 

echo "Cleaning up"

rm -rf backupiso.${TS}

~~~~~~~~~~~~~~~~~~

 

 

 

Regards,

Paul