WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Microcore Backup ?  (Read 3141 times)

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Microcore Backup ?
« on: September 14, 2010, 06:18:35 AM »
How can i backup final position for next bootup in microcore ?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Microcore Backup ?
« Reply #1 on: September 14, 2010, 10:54:56 AM »
You mean the backup script? filetool.sh
10+ Years Contributing to Linux Open Source Projects.

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Microcore Backup ?
« Reply #2 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 ) !!
« Last Edit: September 14, 2010, 12:38:49 PM by mbzadegan »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Microcore Backup ?
« Reply #3 on: September 14, 2010, 04:04:53 PM »
Try bootcodes restore= & tce= ?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Microcore Backup ?
« Reply #4 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 ]

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14740
Re: Microcore Backup ?
« Reply #5 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

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Microcore Backup ?
« Reply #6 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 ??


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14740
Re: Microcore Backup ?
« Reply #7 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.