BackupPC-users

Re: [BackupPC-users] unable to restore via zip archives

2009-10-02 19:18:22
Subject: Re: [BackupPC-users] unable to restore via zip archives
From: Holger Parplies <wbppc AT parplies DOT de>
To: "Boyko Yordanov - Exsisto Ltd." <b.yordanov AT exsisto DOT com>
Date: Sat, 3 Oct 2009 01:14:40 +0200
Hi,

Boyko Yordanov - Exsisto Ltd. wrote on 2009-10-02 19:15:40 +0300 
[[BackupPC-users] unable to restore via zip archives]:
> [...] BackupPC version 3.2.0beta0 [...]
> I am unable to restore files via zip archives with compression (1-9).  
> The web interface prompts me to save the file, but then the file is  
> usually just a few kilobytes in size (no matter how many files I am  
> selecting for restoration) and I am unable to extract anything from  
> it. I am able to download a zero compression "zip" archive, but  
> nothing if I set the compression to higher values. The other restore  
> methods are working fine. I have all the necessary perl modules  
> installed including Archive::Zip and the ones it depends on. There are  
> no errors in the BackupPC log file, actually it just logs a normal  
> entry like I've successfully downloaded the zip archive - but I did  
> not.. at least the file I get seems somehow broken.

to rule out a browser problem, you should try it from the command line:

        backuppc% /path/to/BackupPC_zipCreate -h hostname -n backupnum \
                  -s /share/name -c 1 /paths/of/files/in/share > /tmp/test.zip

Aside from that, browsing the source code of zipCreate shows several comment
lines ending in "8(". They detail what file types can't be zipped. If you are
restoring files from a Unix system, you probably shouldn't be using zip files,
because you may be losing information. For data where you *know* that you have
no hardlinks, symlinks or special files, you are probably ok, but in most
cases you should be using tar. For Windoze restores, that might be a different
matter.

> Could it be a bug or a known issue? Anyone noticing the same behavior  
> w/ his BackupPC setup?

For whatever it's worth, I don't use zip restores, but a quick test of
BackupPC_zipCreate on BackupPC 2.1.2 (sorry :) shows that it seems to work
fine for me. I didn't test through a browser.

Regards,
Holger

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>