WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Persistence fails  (Read 4313 times)

hypersonic

  • Guest
Persistence fails
« on: October 19, 2011, 05:15:46 PM »
Ok. I've installed Tiny Core on USB. I just lost all my backup, simply by restarting the computer. The first few times it happened, I thought it was just some wrong configuration. This should happen?

hypersonic

  • Guest
Re: Persistence fails
« Reply #1 on: October 19, 2011, 05:18:21 PM »
Funny, this time my .filetool.sh is intact... Here is my .filetool.sh:

# tiny core persistence
opt
# xorg persistence
etc/X11/xorg.conf
# root password persistence
etc/passwd
etc/shadow
etc/gshadow
# rails persistence
usr/local/lib/ruby
usr/local/bin
usr/local/bin/install
# fluxbox persistence
usr/local/share/fluxbox/styles/darkmatter

So: opt, usr/local/bin, usr/local/bin/install and usr/local/share/fluxbox/styles/darkmatter was totally restored. File /usr/local/lib/ruby was partially restored (miss site_ruby file). And the rest was not recovered.
« Last Edit: October 19, 2011, 05:33:27 PM by hypersonic »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence fails
« Reply #2 on: October 19, 2011, 05:49:29 PM »
.filetool.sh is meaningless.
The file should be .filetool.lst and it cannot contain comments.

hypersonic

  • Guest
Re: Persistence fails
« Reply #3 on: October 19, 2011, 06:42:54 PM »
Ops, its .filetool.lst... sorry. I removed comments, and I found a solution for another post. I suspected that this problem (about persistence) could be caused by backup files size (around 200 MB unpacked). Then by chance I found this wiki page: http://wiki.tinycorelinux.net/wiki:extension_for_settings, and created an extension TCZ for ruby folder. So I really don't know if this problem is caused by backup size or the comments...

If help someone, I put how I did a TCZ extension of ruby file on this post: http://forum.tinycorelinux.net/index.php/topic,11656.0.html

hypersonic

  • Guest
Re: Persistence fails
« Reply #4 on: October 19, 2011, 07:04:04 PM »
I was having this problem of backup loss before use comments in filetool.lst...

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence fails
« Reply #5 on: October 19, 2011, 07:21:10 PM »
You have other problems with your .filetool.lst.
opt should not be included as a directory.
You have directories and their subdirectories included.
You are not running a standard configuration, as you have not included home.

You probably had errors in it then too.

hypersonic

  • Guest
Re: Persistence fails
« Reply #6 on: October 19, 2011, 09:02:37 PM »
I don't see any errors beside that I've related, but thanks for the tip. Home is not included on .filetool.lst because its already persistent by extlinux.conf

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence fails
« Reply #7 on: October 19, 2011, 09:04:23 PM »
That's your problem. You don't see the errors even after they are pointed out to you.

hypersonic

  • Guest
Re: Persistence fails
« Reply #8 on: October 19, 2011, 09:19:13 PM »
I've seen the error in .filetool.lst, again, thanks for the tips. What I meant was that I did not see any errors that may compromise my normal use of the system. I'm no longer posting on this forum. Thanks all for everything

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence fails
« Reply #9 on: October 19, 2011, 09:23:33 PM »
opt in .filetool.lst will cause you many problems, as a restore will overwrite dynamic system information.
You must list each individual file in /opt that you wish to backup.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Persistence fails
« Reply #10 on: October 19, 2011, 09:29:26 PM »
Hi hypersonic
You probably should not be backing up  /usr/local/bin. Any special reason you added that?

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Persistence fails
« Reply #11 on: October 20, 2011, 07:38:19 AM »
Since when are you supposed to put home in backup?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Persistence fails
« Reply #12 on: October 20, 2011, 08:28:26 AM »
Hi hiro
If you have a non-persistent home, it should be in backup. In hypersonic's case, based on what
he wrote in another thread, he shouldn't.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Persistence fails
« Reply #13 on: October 20, 2011, 08:41:35 AM »
I'm asking because I used to only put specific files/folders from my home folder in backup so that I don't have too much work putting all the others in .xfiletool.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Persistence fails
« Reply #14 on: October 20, 2011, 09:00:12 AM »
Hi hiro
The stock  .filetool.lst  has  home  included  and  .xfiletool.lst  contains certain exemptions. This
serves as a good starting point for new users with a non-persistent  home  which then can be
modified to suit ones needs.