BackupPC-users

Re: [BackupPC-users] Restore takes way too long and the fails

2010-09-23 10:44:29
Subject: Re: [BackupPC-users] Restore takes way too long and the fails
From: Marcus Hardt <marcus AT hardt-it DOT de>
To: Robin Lee Powell <rlpowell AT digitalkingdom DOT org>
Date: Thu, 23 Sep 2010 16:41:51 +0200
Hi,

I unpacked the tar on the backup server itself, which is also the host on 
which I used firefox to download the tarfile.

The only tar I found is version 1.23 (corresponding to the debian/testing tar 
package 1.23-2.1)


However, my primary problem is not tar. The primary problem is that I have  
reproducable crashes in Backuppc, when trying to restore some files of the 
backup, while other files can be restored without problem.

I was failing restoration to 
o Windows Vista + ntfs + smb
o Windows Vista + ntfs + rsyncd / Cygwin
o Linux (GRML) + ntfs + rsync via ssh + (mounting nfts in rw-mode via 
ntfs-3g)

What does work is:
o downloading the "problem file" via tar
o restoring to localhost (Linux (Debian)  + rsync via ssh)

I was close to blaming NFTS, but since I can untar the file to NTFS via the 
GRML boot, I'm not sure this is right.


M.

On Wednesday 22 September 2010 18:36:35 Robin Lee Powell wrote:
> There is something *very* wrong with either the tar used to make the
> archive, or the tar used to restore.  I wouldn't trust anything it
> outputs at all.
> 
> What version of tar on both ends?
> 
> Have you tried getting a zip archive from the GUI instead?  Or using
> BackupPC_zipCreate on the CLI?
> 
> -Robin
> 
> On Tue, Sep 14, 2010 at 03:22:28PM +0200, Marcus Hardt wrote:
> > Update:
> > 
> > On Tuesday 14 September 2010 13:16:01 Marcus Hardt wrote:
> > > Update:
> > > 
> > > tar xf restore.tar      will fail, if restore.tar is pretty big
> > 
> > fails
> > 
> > > cat restore.tar | tar x   seems to work
> > 
> > fails
> > 
> > But:
> > using the 'i' option for
> > 
> >      -i, --ignore-zeros
> >      
> >            ignore zeroed blocks in archive (means EOF)
> > 
> > makes tar wander through the archive even thought it might have detected
> > EOF markers (i.e. "two consecutive zero-filled records" according to
> > the wikipedia page of the tar format)
> > 
> > I observed several warnings in my cmdline:
> >     tar tfi restore.tar |wc -l
> > 
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Skipping to next header
> > tar: Exiting with failure status due to previous errors
> > 387781
> > 
> > I can only hope this works and helps others.
> > 
> > M.
> > 
> > > And I thought windows was terrible...
> > > 
> > > M.
> > > 
> > > On Monday 13 September 2010 23:26:42 Les Mikesell wrote:
> > > > On 9/13/2010 10:49 AM, Marcus Hardt wrote:
> > > > > Hi,
> > > > > 
> > > > > btw:  this problem seems to be client unspecific. I see the same
> > > > > errors using smbclient and rsync via ssh.
> > > > 
> > > > But windows specific?  Are you sure the windows user has write
> > > > access and the file isn't locked by something else having it open?
> > > > 
> > > > > And, of course I'm in deep shit now, since I told everone how
> > > > > super great backuppc was...
> > > > 
> > > > There is at least the option of downloading an archive file through
> > > > a browser and restoring from that.
-- 
M.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/