[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hot-backup.py won't create zipfiles bigger than 2GB

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 15 Jun 2010 15:32:51 -0500

Possibly. I just interpreted it as a usage failure, but if folks want
to talk about improvements here, that's fine by me.

-Hyrum

On Tue, Jun 15, 2010 at 3:08 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> hot-backup.py is in our trunk/tools/, and requests to extend it may be dev
> topics (e.g., if they come with patches).  So I don't think it's off-topic?
>
> Hyrum K. Wright wrote on Tue, 15 Jun 2010 at 14:30 -0000:
>> Since this question is about how to use Subversion, not how to
>> progress the development of the core project, you should at it on the
>> users_at_subversion.apache.org mailing list.  (Plus, it appears you are
>> using VisualSVN, have you tried their support channels?)
>>
>> Thanks,
>> -Hyrum
>>
>> On Mon, Jun 14, 2010 at 10:50 PM, Donald Gordon <donald.gordon_at_xero.com> wrote:
>> > Hi
>> >
>> > When I create a backup of a rather large repo (output ZIP over 2GB), hot-backup blows up with this error message:
>> >
>> > Archiving backup to 'd:\SubVersion\Backups\bin\bin-14671.zip'...
>> > Traceback (most recent call last):
>> >  File "C:\Program Files (x86)\VisualSVN Server\bin\hot-backup.py", line 319, in
>> >  <module>
>> >    os.path.walk(backup_subdir, add_to_zip, (zp, backup_dir))
>> >  File "C:\Python26\lib\ntpath.py", line 262, in walk
>> >    walk(name, func, arg)
>> >  File "C:\Python26\lib\ntpath.py", line 262, in walk
>> >    walk(name, func, arg)
>> >  File "C:\Python26\lib\ntpath.py", line 262, in walk
>> >    walk(name, func, arg)
>> >  File "C:\Python26\lib\ntpath.py", line 258, in walk
>> >    func(arg, top, names)
>> >  File "C:\Program Files (x86)\VisualSVN Server\bin\hot-backup.py", line 314, in
>> >  add_to_zip
>> >    zp.write(path, path[len(root):])
>> >  File "C:\Python26\lib\zipfile.py", line 1024, in write
>> >    self._writecheck(zinfo)
>> >  File "C:\Python26\lib\zipfile.py", line 992, in _writecheck
>> >    raise LargeZipFile("Zipfile size would require ZIP64 extensions")
>> > zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions
>> >
>> > I can make it work by passing an extra parameter to the ZipFile constructor to enable ZIP64 mode -- is turning on ZIP64 something that could be made an option in hot-backup?  Google turns up a few scattered reports of this problem, so I can't be the only one trying to zip up large repository backups.
>> >
>> > thanks
>> >
>> > donald
>> >
>> >
>> > Donald Gordon
>> > Operations Developer, Xero
>> >
>> > donald.gordon_at_xero.com | Telephone +64 4 819 4872 | Fax +64 4 819 4801
>> >
>> > Level 1, Old Bank, 98 Customhouse Quay, PO Box 24 537,
>> >  6142, New Zealand
>> >
>> > http://www.xero.com/
>> >
>> >
>> >
>>
Received on 2010-06-15 22:33:32 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.