Can IFL be used to make a copy of running Linux system?
Can IFL be used to make a copy of running Linux system?
Specifically, if I install IFL to a running Xubuntu 18.04.3 system, can IFL be used to backup that system while it is running? My first tests produce backups that are not bootable
-
- Posts: 3616
- Joined: Thu May 05, 2011 10:37 pm
Re: Can IFL be used to make a copy of running Linux system?
You can but it should be mounted read-only or unmounted. If being
changed, there could be parts of the file system out of sync. In
general you should do entire drive backup/restore unless you know the
specifics of what you're doing. Also if you are using LVM, you can
create a snapshot and backup the snapshot.
On 1/2/2020 5:52 PM, eoa wrote:
> Specifically, if I install IFL to a running Xubuntu 18.04.3 system, can IFL be used to backup that system while it is running? My first tests produce backups that are not bootable
>
>
changed, there could be parts of the file system out of sync. In
general you should do entire drive backup/restore unless you know the
specifics of what you're doing. Also if you are using LVM, you can
create a snapshot and backup the snapshot.
On 1/2/2020 5:52 PM, eoa wrote:
> Specifically, if I install IFL to a running Xubuntu 18.04.3 system, can IFL be used to backup that system while it is running? My first tests produce backups that are not bootable
>
>
Re: Can IFL be used to make a copy of running Linux system?
TeraByte Support wrote:
> You can but it should be mounted read-only or unmounted.
What is the recommended procedure for doing this?
> You can but it should be mounted read-only or unmounted.
What is the recommended procedure for doing this?
-
- Posts: 3616
- Joined: Thu May 05, 2011 10:37 pm
Re: Can IFL be used to make a copy of running Linux system?
Unmounted means you don't mount it and mounted read-only means you use
the read only option (ro) when mounting/remounting.
You can also setup to launch via grub
https://www.terabyteunlimited.com/kb/article.php?id=354
On 1/17/2020 1:01 PM, Brian K wrote:
> TeraByte Support wrote:
>> You can but it should be mounted read-only or unmounted.
>
> What is the recommended procedure for doing this?
>
>
the read only option (ro) when mounting/remounting.
You can also setup to launch via grub
https://www.terabyteunlimited.com/kb/article.php?id=354
On 1/17/2020 1:01 PM, Brian K wrote:
> TeraByte Support wrote:
>> You can but it should be mounted read-only or unmounted.
>
> What is the recommended procedure for doing this?
>
>
Re: Can IFL be used to make a copy of running Linux system?
I gave up trying to make the Linux Mint root partition Read Only. I have suppressed the Grub boot menu so this is how I've automated a Mint backup. Starting in Mint.
start.sh is...
#! /bin/sh
/home/brian/bjk/336/tbosdt /home/brian/bjk/tbos/IFL-backup/mount-copy.tbs
/home/brian/bjk/tbos/IFL-backup/bootnowu.sh
echo
mount-copy.tbs is...
sub main()
ext("open fs 0: 4 0x3")
ext("del file 0:/scripts/scriptslist.txt --y")
ext("SET TEXTLINE 0:/scripts/scriptslist.txt ^"backup-mint.tbs^"")
ext("close fs 0:")
end sub
bootnowu.sh is...
#! /bin/sh
echo password | sudo -S bjk/bn/bootnowu ifl
echo
backup-mint.tbs is...
sub main()
exec("/tbu/imagel --b --uy --d:{E90B41C7-402F-AF5A-CD98-C75B22480200}@0xC --f:{5E7D3ED2-5C5C-EFFA-3EF5-855B7573FFFF}@0x2:^"/MINT-193^"", 1)
ext("SET TEXTLINE /tbu/boot/scripts/scriptslist.txt ^"*^" -d")
exec("/tbu/scripts/mint.sh")
end sub
mint.sh is...
#! /bin/sh
cd boot/scripts/bn
./bootnowu Mint-Cinn-19.3
start.sh is...
#! /bin/sh
/home/brian/bjk/336/tbosdt /home/brian/bjk/tbos/IFL-backup/mount-copy.tbs
/home/brian/bjk/tbos/IFL-backup/bootnowu.sh
echo
mount-copy.tbs is...
sub main()
ext("open fs 0: 4 0x3")
ext("del file 0:/scripts/scriptslist.txt --y")
ext("SET TEXTLINE 0:/scripts/scriptslist.txt ^"backup-mint.tbs^"")
ext("close fs 0:")
end sub
bootnowu.sh is...
#! /bin/sh
echo password | sudo -S bjk/bn/bootnowu ifl
echo
backup-mint.tbs is...
sub main()
exec("/tbu/imagel --b --uy --d:{E90B41C7-402F-AF5A-CD98-C75B22480200}@0xC --f:{5E7D3ED2-5C5C-EFFA-3EF5-855B7573FFFF}@0x2:^"/MINT-193^"", 1)
ext("SET TEXTLINE /tbu/boot/scripts/scriptslist.txt ^"*^" -d")
exec("/tbu/scripts/mint.sh")
end sub
mint.sh is...
#! /bin/sh
cd boot/scripts/bn
./bootnowu Mint-Cinn-19.3
-
- Posts: 3616
- Joined: Thu May 05, 2011 10:37 pm
Re: Can IFL be used to make a copy of running Linux system?
Nice, maybe add to scripting too ?
On 1/19/2020 2:56 PM, Brian K wrote:
> I gave up trying to make the Linux Mint root partition Read Only. I have suppressed the Grub boot menu so this is how I've automated a Mint backup. Starting in Mint.
>
> start.sh is...
>
> #! /bin/sh
> /home/brian/bjk/336/tbosdt /home/brian/bjk/tbos/IFL-backup/mount-copy.tbs
> /home/brian/bjk/tbos/IFL-backup/bootnowu.sh
> echo
>
> mount-copy.tbs is...
>
> sub main()
> ext("open fs 0: 4 0x3")
> ext("del file 0:/scripts/scriptslist.txt --y")
> ext("SET TEXTLINE 0:/scripts/scriptslist.txt ^"backup-mint.tbs^"")
> ext("close fs 0:")
> end sub
>
> bootnowu.sh is...
>
> #! /bin/sh
> echo password | sudo -S bjk/bn/bootnowu ifl
> echo
>
> backup-mint.tbs is...
>
> sub main()
> exec("/tbu/imagel --b --uy --d:{E90B41C7-402F-AF5A-CD98-C75B22480200}@0xC --f:{5E7D3ED2-5C5C-EFFA-3EF5-855B7573FFFF}@0x2:^"/MINT-193^"", 1)
> ext("SET TEXTLINE /tbu/boot/scripts/scriptslist.txt ^"*^" -d")
> exec("/tbu/scripts/mint.sh")
> end sub
>
> mint.sh is...
>
> #! /bin/sh
> cd boot/scripts/bn
> ./bootnowu Mint-Cinn-19.3
>
>
On 1/19/2020 2:56 PM, Brian K wrote:
> I gave up trying to make the Linux Mint root partition Read Only. I have suppressed the Grub boot menu so this is how I've automated a Mint backup. Starting in Mint.
>
> start.sh is...
>
> #! /bin/sh
> /home/brian/bjk/336/tbosdt /home/brian/bjk/tbos/IFL-backup/mount-copy.tbs
> /home/brian/bjk/tbos/IFL-backup/bootnowu.sh
> echo
>
> mount-copy.tbs is...
>
> sub main()
> ext("open fs 0: 4 0x3")
> ext("del file 0:/scripts/scriptslist.txt --y")
> ext("SET TEXTLINE 0:/scripts/scriptslist.txt ^"backup-mint.tbs^"")
> ext("close fs 0:")
> end sub
>
> bootnowu.sh is...
>
> #! /bin/sh
> echo password | sudo -S bjk/bn/bootnowu ifl
> echo
>
> backup-mint.tbs is...
>
> sub main()
> exec("/tbu/imagel --b --uy --d:{E90B41C7-402F-AF5A-CD98-C75B22480200}@0xC --f:{5E7D3ED2-5C5C-EFFA-3EF5-855B7573FFFF}@0x2:^"/MINT-193^"", 1)
> ext("SET TEXTLINE /tbu/boot/scripts/scriptslist.txt ^"*^" -d")
> exec("/tbu/scripts/mint.sh")
> end sub
>
> mint.sh is...
>
> #! /bin/sh
> cd boot/scripts/bn
> ./bootnowu Mint-Cinn-19.3
>
>
Re: Can IFL be used to make a copy of running Linux system?
TeraByte Support wrote:
> Nice, maybe add to scripting too ?
>
This works in BIU scripting...
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
exec bootnowu.efi ifl/noreboot
> Nice, maybe add to scripting too ?
>
This works in BIU scripting...
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
exec bootnowu.efi ifl/noreboot
Re: Can IFL be used to make a copy of running Linux system?
Other scripts that work...
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
open uefifs
boot h:\efi\boot\bootx64.efi
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
set uefi bootnext 0x0003
reboot
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
open uefifs
boot h:\efi\boot\bootx64.efi
open fs 0: 3 0x3
del file 0:\scripts\scriptslist.txt
SET TEXTLINE 0:\scripts\scriptslist.txt backup-mint.tbs
close fs 0:
set uefi bootnext 0x0003
reboot
-
- Posts: 1
- Joined: Fri Jan 24, 2020 5:18 am
Re: Can IFL be used to make a copy of running Linux system?
Good information.