WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: problem with backup  (Read 5647 times)

Offline djca

  • Newbie
  • *
  • Posts: 22
problem with backup
« on: September 03, 2012, 03:34:30 PM »
So my question in short is that when I enter etc/inittab in file .filetool.lst the system do not create mydata.tgz and the file is not backed up. Why this happens? I thought that it is possible to backup any file.

Best Regards

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: problem with backup
« Reply #1 on: September 03, 2012, 03:50:27 PM »
It is, but why do you need to backup /etc/inittab?
Check the backup log in /tmp

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #2 on: September 03, 2012, 03:55:19 PM »
I want to have more than one console terminal. I checked in tmp but don't see any log file there. By the way I have deleted mydata.tgz because the system keeped restoring even if I deleted home and opt from .filetool.lst.

Best Regards.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: problem with backup
« Reply #3 on: September 03, 2012, 04:01:53 PM »
Use the multivt boot code.

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #4 on: September 03, 2012, 04:11:34 PM »
Thanks for your fast reply. Now it is working perfectly.

But interesting why the system don't make backup of this file you have an idea.

Tnx again.
Best Regards.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: problem with backup
« Reply #5 on: September 03, 2012, 04:29:23 PM »
You mistyped something.
Backup will fail if anything in .flietool.lst is missing.

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #6 on: September 03, 2012, 04:33:23 PM »
very strange because I enter exactly this:
etc/inittab
Anyway now it is ok.

Best Regards.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: problem with backup
« Reply #7 on: September 04, 2012, 12:48:39 AM »
It always amazes me how unforgiving (but that is a good thing) the backup is, not that this is wrong it's just just as it should be..  One small typo or missing file and the shutdown process comes to a halt until the issue is fixed.   The thing I remember most from this is every time I ever had an issue, it was always my fault..

I think the file to check is /tmp/backup_status (??)  it will display the filetool entry which is causing the error

 :-[
« Last Edit: September 04, 2012, 01:05:03 AM by coreplayer2 »

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #8 on: September 08, 2012, 07:46:25 AM »
I did some additional testing and it turns out that the system is not doing the backup before shutdown. I have to manually do filetool.sh -b so mydata file to be created.

Best Regards.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11721
Re: problem with backup
« Reply #9 on: September 08, 2012, 09:11:37 AM »
Hi djca
Are you running a GUI or non-GUI? Describe your shutdown procedure.

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #10 on: September 08, 2012, 12:00:28 PM »
Hello Rich

Well I use ISOLINUX console install. I created two primary partitions first with fat 32 and second ext4 on my flash drive. Then installed isolinux. and copied vmlinuz and core.gz. Well that is pretty much it.

Best Regards.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: problem with backup
« Reply #11 on: September 08, 2012, 04:26:11 PM »
Where is your tce directory?

ls -l /etc/sysconfig/tcedir

Offline djca

  • Newbie
  • *
  • Posts: 22
Re: problem with backup
« Reply #12 on: September 09, 2012, 02:48:37 AM »
All the three folders home opt and tce are on my flash drive sdb2.

Best Regards.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11721
Re: problem with backup
« Reply #13 on: September 09, 2012, 08:08:57 AM »
Hi djca
Quote
Are you running a GUI or non-GUI? Describe your shutdown procedure.
If you are running a GUI, use the Exit icon. If you are not running a GUI, you may have to call  filetool.sh -b
yourself, I'm not sure what the procedure is for that. If you just hit the power switch, all bets are off.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: problem with backup
« Reply #14 on: September 09, 2012, 10:55:37 AM »
FYI there is a shortcut just type backup at prompt.
10+ Years Contributing to Linux Open Source Projects.