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:08:03 CEST