From: Melinda T. <me...@ph...> - 2003-07-16 05:14:58
|
I am trying to recover from 2 of the disks in my server dying within 2 days of eachother. I have backups created from flexbackup but have 2 questions. I don't have the index files - as it says in the faq I can still extract the files "The index files are for human convenience only. Just skip the first file on the tape, it's a simple "tag" text file. The rest of the tape is your normal archives." I was backing up to a firewire drive using afio and bzip. If I extract the files using: afio -ik root.0.20030706.afio-bz2 that works ok but all files in the created directory are still bzipped. And when I bunzip them I get: [melinda@neko etc]$ bunzip2 flexbackup.conf.z bunzip2: Can't guess original name for flexbackup.conf.z -- using flexbackup.conf.z.out is there any solution to get round having to bunzip and rename each file? I can write a script to do it but thought I would ask as I am unsure if there is maybe a better way to do it. Some of my backup files are > 2GB (only 2 of them) and my server was running linux redhat 7.3 (ie 2Gb limit) i took them over to my 64-bit solaris machine thinking I could unzip them there but to no avail - as these files were written on a 32bit system and are > 2GB are they useless? Many Thanks, Melinda |
From: <sp...@da...> - 2004-03-13 15:42:18
|
Hello, I just installed flexbackup 1.2.1-1 The reason I tried it was it has experimental support for multiple tapes. anyway after configuring it I am not running a test but it seems super slow. I am trying to backup mp3 files and I added them to the exclude list so they are not compressed. My cpu usage is super low to it's not wating for a slow cpu. My tape led is flashing irregular like it is not doing much. It's a dds 2 tape drive which should handle about 60 Mbyte per minute. When I use tar it does reach arround those speeds. With flexbackup it seems it is taking about 10 minutes or more to backup 60 mb. This seems way to slow to me. Now I use afio and mbuffer and the option -volumes 3 Does anyone have any advice why flexbackup goes so slow? Thanks very much. Regards Hans de Groot This is the contents of the /var/log/flexbackup/test.xxxx ----- ------------------------------------------------------------ | Doing level 0 backup of set test using afio | ERROR: Tape doesn't have an index! (use -newtape?) | Making sure tape is at end of data... | Backup set "test" (/data5/music2) | Tape #0 |------------------------------------------------------------ At block 0. |------------------------------------------------------------ | Backup of: /data5/music2 | Date of this level 0 backup: Sat Mar 13 16:15:53 2004 | 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 \ | lzo avi AVI mpg MPG mpeg MPEG arj rar RAR" > /tmp/nocompress.3611 | printf "Volume Label:\nlevel 0 /data5/music2 Sat Mar 13 16:15:53 2004 \ | afio+gzip from koffie.dandy.nl\n\n" > /tmp/label.3611 | cd "/data5/music2" && (printf "//--/tmp/label.3611 \ | flexbackup.volume_header_info\n" && find . -depth -xdev ! -type s \ | -print ) | afio -o -E /tmp/nocompress.3611 -z -1 m -P gzip -Q -9 -Z -M \ | 6m -T 1k -v -b 10k - | mbuffer -q -m 10M -p 75 -s 10240 -f -o \ | "/dev/nst0" | rm -f /tmp/nocompress.3611 /tmp/label.3611 |------------------------------------------------------------ CONTROL_FILE/flexbackup.volume_header_info -- okay --------------- |
From: <lio...@fr...> - 2006-08-19 04:04:43
Attachments:
flexbackup.conf
|
i use flexbackup 1.2.1 on a debian sarge. I do backup with afio and bzip2 on travan tape 4/8 Go Seagate STT8000A. All my backup process fine : afio: 145m+690k+0 bytes written in 346 seconds. The operation was success= ful. Kilobytes Out 149170 Kilobytes Out 149170 But when i want to decompresss with flexbackup -extract command, afio tel= l me : | Logging output to "flexbackup.extract.200608181908.log" | Trying "mt defblksize" instead of "mt setblk" | Reading from CURRENT TAPE POSITION |------------------------------------------------------------ At block 7062477. |------------------------------------------------------------ | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -i -z -x -D = \ | /usr/bin/flexbackup -P bzip2 -Q -d -Z -v -b 10k - |------------------------------------------------------------ buffer (reader): failed to read input: Input/output error afio: "-": No input |------------------------------------------------------------ At block 7062477. I don't understand my problem !! Somebody can help me ? i post my flexbackup.conf Thanks you for your help and sorry for my english, i'm french people. |
From: Edwin H. <ed...@co...> - 2003-07-16 13:39:32
|
[ Melinda Taylor wrote: ] > afio -ik root.0.20030706.afio-bz2 > > that works ok but all files in the created directory are still bzipped. > And when I bunzip them I get: > > [melinda@neko etc]$ bunzip2 flexbackup.conf.z > bunzip2: Can't guess original name for flexbackup.conf.z -- using > flexbackup.conf.z.out > > is there any solution to get round having to bunzip and rename each > file? I can write a script to do it but thought I would ask as I am > unsure if there is maybe a better way to do it. Yup. Afio's compression flags work a little bit funny (especially if you want it to use bzip2). Try something like this: afio -i -k -x -P bzip2 -Q -d -Z -v root.0.20030706.afio-bz2 > Some of my backup files are > 2GB (only 2 of them) and my server was > running linux redhat 7.3 (ie 2Gb limit) i took them over to my 64-bit > solaris machine thinking I could unzip them there but to no avail - as > these files were written on a 32bit system and are > 2GB are they > useless? You can probably get them back if they were validly archived. I'm guessing that the above problem is part of whats stopping you. You might what to add the "--small" flag to bzip2 if you are running out of memory. (Add "-Q --small" to the afio command line) -- Edwin Huffstutler Linux - because reboots are for hardware changes ed...@co... GnuPG Key ID: AE782DC9 |