From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 07:56:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED76F106564A for ; Tue, 14 Feb 2012 07:56:01 +0000 (UTC) (envelope-from pancakeking79@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 662A58FC1D for ; Tue, 14 Feb 2012 07:56:00 +0000 (UTC) Received: by lagz14 with SMTP id z14so6848891lag.13 for ; Mon, 13 Feb 2012 23:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=K7p6ukfRMI8EbUIPZQGe8XHbQ3tASc1eocaJtqlzCpA=; b=R4SHPWKnmeUkt0ew8WqTfiVVpWmKAkSI+gyhYxgZOmAX5o3rBW+qr9lapAR+qtJ7xw y1MpppIcKnv1ZW6I3yljRQLeQ3RUaaz+aKxFXPwu231rlKLdBlduDfL9bIe60JEXuxs3 UEjQAfD+4Ul+Y8iI7em49M0/IUUp0XRb8euRI= MIME-Version: 1.0 Received: by 10.152.133.229 with SMTP id pf5mr13548665lab.18.1329206160110; Mon, 13 Feb 2012 23:56:00 -0800 (PST) Received: by 10.152.113.68 with HTTP; Mon, 13 Feb 2012 23:56:00 -0800 (PST) In-Reply-To: References: Date: Tue, 14 Feb 2012 08:56:00 +0100 Message-ID: From: _ To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Cc: ken@mthelicon.com, freebsd-questions Subject: Re: corrupted tar.gz archive - I lost my backups :)/:( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 07:56:02 -0000 2012/2/14, Adam Vande More : > On Mon, Feb 13, 2012 at 7:56 PM, _ wrote: > >> Before making the move from 7.0 to 8.2, I ran a little script that did a >> backup of selected files >> and folders. >> > > I think it's IT tip #2 "You don't have a backup unless it's tested". #1 is > "Make a backup". If I am not mistaken, I did test my backups and they worked fine. After all, one of the four files that I have unpacks with no problems so I don't see where things could have gone wrong. > You could try archivers/gzrecover After gzrecover and cpio, the process stops at the same point where the tar(1) command stops. It simply doesn't make it beyond the boundary where the file is corrupted. > Good luck, > > -- > Adam Vande More > Here is what pax(1) gave me: # pax -rzf su12292011.tar.gz pax: Invalid header, starting valid header search. gzip: data stream error pax: End of archive volume 1 reached ATTENTION! pax archive volume change required. Ready for archive volume: 2 Input archive name or "." to quit pax. Archive name > . Quitting pax! # Nothing new here. It seems like pax simply invokes gzip(1) internally.