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.gor...@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/


Reply via email to