There seems to be a size limit on what this can handle, at least on a 32-bit linux system (centos5.x). It goes through the motions and creates a zip file, but just gives a blank screen when trying to view it in the backuprestore console. unzip -t says:
# unzip -t /tmp/twiki-backup-2012-01-25-00-44.zip
Archive: /tmp/twiki-backup-2012-01-25-00-44.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/twiki-backup-2012-01-25-00-44.zip or
/tmp/twiki-backup-2012-01-25-00-44.zip.zip, and cannot find /tmp/twiki-backup-2012-01-25-00-44.zip.ZIP, period.
Could this use gnu tar as the backup engine instead? Or an alternative plan that correctly manages the parts (and ONLY the parts) that should be copied in a major-rev upgrade. As a user, I don't really want to know which files must be copied and which ones can't.
--
TWiki:Main/LesMikesell - 2012-01-25
Not sure, I am not aware of a size limit of the zip utility. Is there enough space in
/tmp
?
--
TWiki:Main.PeterThoeny - 2012-01-25
I did run out on the first attempt, but moved things around with the same problem afterwords (could some other file be corrupted?). However, there may be two different problems. A 'zip -r /path/to/test.zip twiki' competes with no errors but gives a file >4gigs that 'unzip -t' doesn't recognize. Much of the bulk is from attachments, and replacing twiki/pub with an empty directory gives a much smaller zip and good output from unzip -t. However, I'm still getting a blank page from the 'Details/Restore' button, both on the 4.3 system creating it and the 5.x where I want to restore. Where should I look for more information?
--
TWiki:Main.LesMikesell - 2012-01-25
I checked, it looks like you hit a limitation of the zip utility, see
http://www.info-zip.org/FAQ.html#limits.
Wondering if there is a zip compatible utility that does not max out on 4GB.
--
TWiki:Main.PeterThoeny - 2012-01-25
http://sourceforge.net/projects/infozip/files/unreleased%20Betas/ has relatively recent beta releases of zip and unzip.
--
TWiki:Main.PeterThoeny - 2012-01-25
I am setting status to closed. The issue is listed in the limitation section of the plugin, including workaround.
--
TWiki:Main.PeterThoeny - 2013-11-08