It is currently Thu, 20 Jan 2022 10:52:24 GMT



 
Author Message
 Tbackup update and bug fix
This message has two parts:

 1) A bug fix for tbackup V0.6
 2) Announcement of tbackup V0.6.1, which is V0.6 with the bugfix applied.

========================PART 1===========================================

      Bug fix for tbackup version 0.6.

 The trestore program in the v0.6 tbackup package contains a bug, that
 causes it to crash when restoring an archive from floppy disks.

   FIXING THIS BUG

  Method 1: automatically.

 The three commands below fix the trestore program, paste them to an X
 terminal running a shell.

cp /usr/lib/tbackup/bin/mtools1re /tmp/mtools1re
sed "s/partsize/psize/g" </tmp/mtools1re >/usr/lib/tbackup/bin/mtools1re
rm /tmp/mtools1re

  Method 2: manually

 Edit the file /usr/lib/tbackup/bin/mtools1re. Change line 14 from

   echo wuxta | flowpause -k$[$partsize / 1024 + 75] $bulkdir >/dev/null
                               ^^^^
 to

   echo wuxta | flowpause -k$[$psize / 1024 + 75] $bulkdir >/dev/null
                               ^
 That's all.

Last bug update: It seems that newer versions of gcc can't compile the
file /usr/lib/tbackup/bin/myklog.c . (This is a bug in my code, not in
gcc.)  If you get errors on `make all', you could try to use the
precompiled `myklog' binary in the tbackup 0.6 or 0.6.1 archive. To do
this, unpack the archive and type
  rm /usr/lib/tbackup/bin/myklog.c
before running `make all'.

========================PART 2===========================================

I've uploaded version 0.6.1 of tbackup to our local ftp site:

ftp.win.tue.nl (131.155.70.100) in the directory /pub/linux/tbackup.

 tbackup061.tgz       : tbackup version 0.6.1 beta
 afio-2.3pgm.4.tar.gz : archiver program needed by tbackup061.tgz
 tbackup06.bugfix     : big fix for tbackup V0.6

Part of the README file from tbackup061.tgz follows:
---------------------------------------------------

  tbackup / trestore -- general backup system for Linux.

  V0.6.1 beta

   This is public domain software.  Use it at your own risk.

 INTRODUCTION

Tbackup (three backup) is a package for making backups of your linux
filesystem.  It is primarily designed to make multi-megabyte backups
to a set of floppy disks.

 WHY NOT USE TAR?

Archiver programs such as tar(1), cpio(1) and afio(1) also allow making
backups to a set of floppy disks.   But tar stands for tape archiver,
it was not designed with floppy disks in mind.  You only need one tape
to back up a 100 meg hard disk.  But if you don't have a tape drive,
you need 50 or more floppy disks, and several things can go wrong:

1) disk 45 has a bad sector that can't be written to
2) disk 46 was not formatted
3) you forgot to insert disk 50 and `pressed enter' with disk 49 in the drive

Tar was not designed to handle such conditions gracefully. It will
abort on errors 1) and 2), and will not warn you about 3).  The only
way to correct the errors is to start over again at disk 1, and this is
hardly acceptable.

Tbackup was designed to recover from all the errors above (and a lot more).

For small backups of say less than 5 floppy disks you can just as well
use tar (it is even slightly faster than tbackup), but for big backups
tbackup is better.

When it is used with some auxillary programs like disksplit(2), tar
can make compressed archives on a set of floppy disks.  Such archives
are extremely sensitive to disk errors: if one sector on disk 5 is
damaged, you not only loose a part of disk 5, ALL information on disks
6-50 will also be lost.

Tbackup makes a fault tolerant kind of compressed archives.  Trestore
can still handle the information on disks 6-50 if disk 5 is damaged.

 OTHER ADVANTAGES

Apart from the error recovery mechanisms, tbackup has some other
advantages.

- No command line arguments needed.  I don't make backups all day, so
  I can't remember N options.  The program asks for all relevant
  parameters and gives verbose explanations.  (You can still use
  command line arguments if you want to.)

- Hides details: You don't need to have any deep UNIX knowledge to
  use tbackup and understand it's error messages.  In particular
  tbackup will hide the weirdness of the Linux floppy drivers.
  (The drivers don't report write errors to the writing program!!)

- Customizability: You can set default values for parameters and
  preset parameters to a fixed value.

 INSTALLATION

1) For running tbackup, you need to have the following software:

     mtools
     fdformat
     gawk
     gzip
     afio

   Afio is an archiver program that can be found at the ftp site
   nic.funet.fi in the directory /pub/OS/Linux/util/backup/
   as the file afio-2.3pgm.4.tar.gz .
   [The site ftp.win.tue.nl carries a copy of this file.]

   Various other linux ftp sites carry an earlier afio version in a file
   afio-2.3.tar.z .  Tbackup will probably work with this version, but I
   haven't tested it so I recommend you get the version from nic.funet.fi.

2) cd to the / directory and untar the tbackup archive.
   The files unpack to the directory /usr/lib/tbackup.

[End of exerpt from README file]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Koen Holtman                                "Limonade!  Kristallizatie!"
k...@blade.stack.urc.tue.nl   (Ax:*p)==(*p&&p!=&x)            --Multatuli

--
Send submissions for comp.os.linux.announce to: linux-annou...@tc.cornell.edu



 Wed, 06 Mar 1996 00:49:11 GMT   
 
   [ 1 post ] 

Similar Threads

1. NTFS/HPFS install bug not fixed yet...updated install disks still don't work:-(

2. Updated 2.4 kernel fixes security vulnerabilities and various bugs

3. Netscapes libraries fix / Does not fix java bugs though

4. PATCH: 2.5.40 Fix stupid scsi setup bug in 53c406, fix addressing

5. Slab cache name fixes / reiserfs boot bug fix.

6. linux.fix.temp: Linux bug fix report template

7. 0.99pl8 kernel bug -fix (= no kernel bug)

8. SUMMARY: SVR4: bugs and bug fixes

9. SVR4: bugs and bug fixes


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software