Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mbzadegan on September 14, 2010, 06:18:35 AM

Title: Microcore Backup ?
Post by: mbzadegan on September 14, 2010, 06:18:35 AM
How can i backup final position for next bootup in microcore ?
Title: Re: Microcore Backup ?
Post by: roberts on September 14, 2010, 10:54:56 AM
You mean the backup script? filetool.sh
Title: Re: Microcore Backup ?
Post by: mbzadegan on September 14, 2010, 12:36:47 PM
ok dear admin , i run filetool.sh and select backup but when i rebooted , my installed APP and CONFIGs did not restored Automatically ( such as normal tinycore ) !!
Title: Re: Microcore Backup ?
Post by: tinypoodle on September 14, 2010, 04:04:53 PM
Try bootcodes restore= & tce= ?
Title: Re: Microcore Backup ?
Post by: mbzadegan on September 15, 2010, 06:14:14 AM
Exquse me , i don't undrestand latest post !!  :(
i want to backup my final state to next bootup that automaticaly restored ... [ for example i install mc ( midnight commander ) and i want to remain its installation for my next reboot ]
Title: Re: Microcore Backup ?
Post by: Juanito on September 15, 2010, 06:20:54 AM
I think you're mixing two things here:

1. Backing up data
2. Saving extensions so that they are available the next time you boot.

If you want to save any extensions you downloaded, you need to create a folder named /tce on permanent storage.

In microcore, you can use "ab" from the cli to work with a text mode version of app browser to download and save extensions to your /tce folder
Title: Re: Microcore Backup ?
Post by: mbzadegan on September 16, 2010, 03:20:21 AM
Thanks 4 your hint .

when i booted microcore i tce-load -w,i mc.tcz for installing midnight commander ( MC ) .

NOW , how can i save my state for next reset that don't need to install MC next time ??

Title: Re: Microcore Backup ?
Post by: Juanito on September 16, 2010, 04:52:58 AM
Assuming mc.tcz is now saved in your tce/optional folder on permanent storage, you can add mc.tcz to /tce/onboot.lst and it will be loaded on re-boot.

If you want to save mc settings, you will probably need to add the conf file to /opt/filetool.lst and it will be saved in your backup. If the mc settings are saved under /home/tc, there is no need to add it to filetool.lst, but if the mc settings are saved under /usr/local/etc, you will need to add the full path (without the leading "/") to filetool.lst.

Once a backup file (mydata.tcz) is stored once, tc/mc will load it and save it automatically - to start things off, I guess you could use "filetool.sh -b" in microcore.