Page 1 of 1

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

Posted: Mon May 25, 2020 9:01 am
by rybshik1
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.

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

Posted: Mon May 25, 2020 9:03 pm
by Brian K
Have you considered writing the IFL.LOG to an internal HD partition? The IFL boot disk partition doesn't need to be mounted.

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

Posted: Mon May 25, 2020 9:15 pm
by rybshik1
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,

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

Posted: Mon May 25, 2020 11:34 pm
by TeraByte Support(PP)
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