From: André T. <and...@ac...> - 2010-03-04 02:39:01
|
Hello guys, I'm trying to restore a tape that was saved using FlexBackup tool. Unfortunately I'm having these errors that are driving me nuts! Anyone could help me to fix the problem? ### TOC #### atenreiro@intranet:~$ sudo flexbackup -toc flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... unknown |------------------------------------------------------------ | Found index key 200704240342, next file is 1 |------------------------------------------------------------ Key 200704240342 not found in index ### LIST ### atenreiro@intranet:~$ sudo flexbackup -list flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... unknown |------------------------------------------------------------ | Logging output to "flexbackup.list.201003040224.log" | Reading from CURRENT TAPE POSITION |------------------------------------------------------------ At block 1. |------------------------------------------------------------ | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \ | /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 10k - |------------------------------------------------------------ Kilobytes Out 0 afio: "-": No input |------------------------------------------------------------ At block 1. |------------------------------------------------------------ atenreiro@intranet:~$ |
From: Kristian R. <kr...@pm...> - 2010-03-04 08:37:18
|
André; not really sure about how to resolve this as we're not using flexbackup that often anymore, but we still make use of an afio based backup solution: André Tenreiro schrieb: > |------------------------------------------------------------ > | Checking 'buffer' on this machine... Ok > | Checking /bin/sh on this machine... unknown > |------------------------------------------------------------ > | Logging output to "flexbackup.list.201003040224.log" > | Reading from CURRENT TAPE POSITION > |------------------------------------------------------------ > At block 1. > |------------------------------------------------------------ > | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \ > | /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 10k - Leaving out all this "magic", did you so far already try using "plain" afio to list or extract things off your tape? I'd try afio -t /dev/nst0 or afio -i /dev/nst0 to see whether, after all, it is generally possible to get data off your tape in your given environment. This way, you eventually might be capable of making sure at least your tape is fine... K. |
From: André T. <and...@ac...> - 2010-03-04 23:07:32
|
Hello, Thanks for the reply. I tried these comments, here is the output: atenreiro@intranet:~$ sudo afio -t /dev/nst0 afio: "/dev/nst0" [offset 0]: Cannot allocate memory afio: "/dev/nst0": Input does not start with valid archive header. afio: "/dev/nst0": Use the -k option to start reading in the middle of an archive. afio: "/dev/nst0" [offset 6]: Fatal error: afio: "/dev/nst0": Unrecognizable archive atenreiro@intranet:~$ atenreiro@intranet:~$ sudo afio -i /dev/nst0 afio: "/dev/nst0": No input atenreiro@intranet:~$ I did not create the tape, as so, I cannot be 100% sure if the tape was correctly created. I'm willing to pay someone to help me to fix this problem. Thanks! AT ----- Original Message ----- From: "Kristian Rink" <kr...@pm...> To: fle...@li... Sent: Thursday, 4 March, 2010 08:20:22 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [flexbackup-help] I/O Error André; not really sure about how to resolve this as we're not using flexbackup that often anymore, but we still make use of an afio based backup solution: André Tenreiro schrieb: > |------------------------------------------------------------ > | Checking 'buffer' on this machine... Ok > | Checking /bin/sh on this machine... unknown > |------------------------------------------------------------ > | Logging output to "flexbackup.list.201003040224.log" > | Reading from CURRENT TAPE POSITION > |------------------------------------------------------------ > At block 1. > |------------------------------------------------------------ > | buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | afio -t -z -D \ > | /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 10k - Leaving out all this "magic", did you so far already try using "plain" afio to list or extract things off your tape? I'd try afio -t /dev/nst0 or afio -i /dev/nst0 to see whether, after all, it is generally possible to get data off your tape in your given environment. This way, you eventually might be capable of making sure at least your tape is fine... K. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ flexbackup-help mailing list fle...@li... https://lists.sourceforge.net/lists/listinfo/flexbackup-help |
From: Kristian R. <kr...@pm...> - 2010-03-05 10:56:38
|
Am 05.03.2010 00:07, schrieb André Tenreiro: > atenreiro@intranet:~$ sudo afio -t /dev/nst0 > afio: "/dev/nst0" [offset 0]: Cannot allocate memory > afio: "/dev/nst0": Input does not start with valid archive header. > afio: "/dev/nst0": Use the -k option to start reading in the middle of an archive. Hmmm... did you actually try -k , as afio requested you to do? It might be helpful in some situations. Given you're somewhere in the middle of the tape, this would perfectly explain the message IMHO. Other way 'round, however, maybe adding a "-v" to make afio a little more verbose also doesn't hurt. ;) K. |
From: Niall B. <ni...@la...> - 2010-03-05 11:31:13
|
Hi André Have you access to the flexbackup.conf from the old machine? The archive may not even be in afio format. It may not be compressed with gzip. It may not be compressed at all. Depending on the admin's normal practice, they may have chosen cpio or tar format as a preferred format. Leave out as many of the buffer commands and flexbackup flags as you can for now, and concentrate first on analysing your tape. You could 'dd' a few blocks from the next archive into a 'file -' command to get an opinion on format. Try piping it into 'pax' for a listing, as it will also analyse and read several formats. Once you know what you have, Adjust flexbackup.conf accordingly and it will allow you work with the tapes. I've used flexbackup for years on lots of platforms, and have been very happy with it. The one 'gotcha' these days that stops me using it for home directories is the seemingly unavoidable error with .gvfs directories for gnome users. Its local, remote and mirroring methods make for a great first tool to turn to for regular backups and snapshots. Hope you get your problem sorted, Niall Brosnan _____ flexbackup-help mailing list fle...@li... https://lists.sourceforge.net/lists/listinfo/flexbackup-help |