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

User discussion and information resource forum for Image products.
Post Reply
rybshik1
Posts: 13
Joined: Thu May 21, 2020 7:05 pm

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

Post 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.
Brian K
Posts: 2214
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

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

Post 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.
rybshik1
Posts: 13
Joined: Thu May 21, 2020 7:05 pm

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

Post 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,
TeraByte Support(PP)
Posts: 1644
Joined: Fri Aug 12, 2011 12:51 am

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

Post 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
Post Reply