IFL boot disk: to mount /tbu/boot/ after backup is done

User discussion and information resource forum for Image products.

IFL boot disk: to mount /tbu/boot/ after backup is done

Postby rybshik1 » Mon May 25, 2020 2:01 am

IFL boot disk = USB flash

I want to save IFL.LOG to IFL boot disk (USB Flash).

To complicate things, I want boot drive stay unmounted during the backup process.

As I understand, --logfile:/tbu/boot/IFL.LOG will not work for unmounted drive.

So my only option is to start IFL boot disk with no partitions mounted. Then, after backup is done, to mount the boot drive and copy IFL.LOG to it.

So my script should be as follows:
1. IFL boot disk boots with no partitions mounted
2. backup is created and validated
3. /tbu/boot is mounted
4. IFL.LOG is copied to /tbu/boot
5. shutdown
I guess I need the same piece of code as IFL boot disk uses when configured to mount bootable media to "/tbu/boot" on boot.

What would be that piece of code?

BTW, I want boot drive (USB Flash) stay unmounted during the backup process because I use it a backup destination as well.
rybshik1
 
Posts: 10
Joined: Thu May 21, 2020 12:05 pm

Re: IFL boot disk: to mount /tbu/boot/ after backup is done

Postby Brian K » Mon May 25, 2020 2:03 pm

Have you considered writing the IFL.LOG to an internal HD partition? The IFL boot disk partition doesn't need to be mounted.
Brian K
 
Posts: 1763
Joined: Thu Aug 11, 2011 6:11 pm
Location: NSW, Australia

Re: IFL boot disk: to mount /tbu/boot/ after backup is done

Postby rybshik1 » Mon May 25, 2020 2:15 pm

Brian K wrote:
> Have you considered writing the IFL.LOG to an internal HD partition?

Only if as last resort.
I want my setup (USB Flash boot) be hardware independent,
rybshik1
 
Posts: 10
Joined: Thu May 21, 2020 12:05 pm

Re: IFL boot disk: to mount /tbu/boot/ after backup is done

Postby TeraByte Support(PP) » Mon May 25, 2020 4:34 pm

What is the problem with leaving the IFL UFD mounted to /tbu/boot? You can set that as the backup destination and the log destination and no need to manually mount anything.

For example, in a bash script:

imagel --logfile:"/tbu/boot/ifl.log" --b --d:l0@0x1 --f:"/tbu/boot/Backup-l0-0x1-\$~YYYY\$-\$~MM\$-\$~DD\$-\$~HHMM\$" --v --hash
Paul Purviance
TeraByte Support
TeraByte Support(PP)
 
Posts: 1400
Joined: Thu Aug 11, 2011 5:51 pm


Return to Image for DOS/Linux/Windows