Hello, I'm running Redhat 9.0, afio: Version 2.4.7, flexbackup-1.2.0, mt-st v. 0.7 and buffer 1.19-5. I'm using a DLT ... 8000 I think (40/80 GB tapes). I have erase set to rewind only, I tried to erase and it went into what seemed to be an infinite loop, I didn't time it, but it might have gone for as long as an hour before I killed it.
I also had a problem the one time I tried to do a level 2 backup, it just spun tape for much longer than a level 0 backup would have taken, the screen output stopped early on. While I would like to solve the above problem, the following is my more pressing problem. I backed up several directory trees onto a tape. Later (two weeks later) I reinserted the tape, typed "flexbackup -dir /home" and away it went, and when it was done "flexbackup -toc" showed it to be the only file left. Now after the experimentation I describe below, I went back to that tape and stepped through it using "mt fsf" and "mt tell" and actually looked at the log file :-p. What appears to have happened is that the archive was indeed put on the end of the tape, but the table of contents was erased as was the last 0 level home log file. The behaviour below was slightly different. If I am understanding this correctly (having reread the README), aside from the troublesome behaviour below what i need to do is manually keep track of where each archive is, then do a "mt fsf x" to get to the archive I want to retrieve and when properly placed do a "flexbackup extract". Whereas if the toc was intact I would do a "flexbackup extract -num x". Am I understanding that correctly? Okay, how about some experimentation with a different tape: # flexbackup -dir /var -noerase flexbackup version 1.2.0 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Doing level 0 backup of /var using afio | Found index key 200308031436, next file is 1 | Making sure tape is at end of data... |------------------------------------------------------------ At block 36306. |------------------------------------------------------------ | File number 1, tape index 200308031436 | Backup of: /var | Date of this level 0 backup: Sun Aug 17 22:47:05 2003 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | printf "mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2" \ | > /tmp/nocompress.14690 | printf "Volume Label:\nlevel 0 /var Sun Aug 17 22:47:05 2003 afio+gzip \ | from niuhep.physics.niu.edu\n\n" > /tmp/label.14690 | cd "/var" && (printf "//--/tmp/label.14690 \ | flexbackup.volume_header_info\n" && find . -depth -xdev ! -type s ! \ | -regex ".*/[Cc]ache/.*" -print ) | afio -o -E /tmp/nocompress.14690 -z \ | -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v -b 32k - | buffer -m 10m -p 45 -s \ | 32k -t -u 100 -B -o "/dev/tape" | rm -f /tmp/nocompress.14690 /tmp/label.14690 |------------------------------------------------------------ CONTROL_FILE/flexbackup.volume_header_info -- okay lost+found -- okay lib/rpm/__db.001.z -- (01%) [big snip] arpwatch -- okay . -- okay afio: 112m+160k+0 bytes written in 87 seconds. The operation was successful. Kilobytes Out 114848 |------------------------------------------------------------ | Backup start: Sun Aug 17 22:47:05 2003 | Backup end: Sun Aug 17 22:48:37 2003 |------------------------------------------------------------ At block 39896. |------------------------------------------------------------ | Rewinding... | Removing old level 0 log of var (dated 200308031457) | Compressing log (var.0.200308172246.gz) | Linking var.latest.gz -> var.0.200308172246.gz |------------------------------------------------------------ # flexbackup -toc flexbackup version 1.2.0 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Found index key 200308031436, next file is 2 |------------------------------------------------------------ File Contents (tape index 200308031436) --------------------------------------------- 1 level 0 /var Sun Aug 17 22:47:05 2003 afio+gzip from niuhep.physics.niu.edu # mt fsf 4 # mt tell At block 6032. By repeated applications of fsf I found the end of the tape at block 39896. The last directory tree that had been archived on this particular tape was /var, the same tree I just archived, and by all accounts just overwrote the old archive. Is this expected behaviour? Well, thanks for any help you can give me. This is an interesting bit of software. I've been wanting to learn perl so maybe I'll start digging through flexbackup as an example :-) Peace, Robert Morphis ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ flexbackup-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flexbackup-help
