IFL boot disk: to mount /tbu/boot/ after backup is done
Posted: Mon May 25, 2020 9: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.
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.