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

Running hot-backup.py on Windows Server 2003

From: Ryan E Taylor <rtaylor_at_stgeorgeconsulting.com>
Date: 2005-01-25 14:21:30 CET

I am trying to install an automated backup for our subversion repositories,
preferably at each commit.

My system configuration is as follows:
- Subversion 1.1.3
- Windows Server 2003
- Python 2.4 (with C:\Python24 added to the PATH environment variable)

I download hot-backup.py from
http://svn.collab.net/repos/svn/trunk/tools/backup/hot-backup.py.in
I then modified
svnlook = "@SVN_BINDIR@/svnlook"
svnadmin = "@SVN_BINDIR@/svnadmin"

to be
svnlook = "svnlook"
svnadmin = "svnadmin"

However, I cannot run this file successfully. I always receive the following
error. Does anyone have a clue how I might be able to resolve this problem?
D:\svn\biddefordbottle does exist. As does D:\svn_backup

D:\svn\biddefordbottle\hooks>hot-backup.py D:\svn\biddefordbottle
D:\svn_backup
Beginning hot backup of 'D:\svn\biddefordbottle'.
Youngest revision is 24
Backing up repository to 'D:\svn_backup\biddefordbottle-24'...
Traceback (most recent call last):
  File "D:\svn\biddefordbottle\hooks\hot-backup.py", line 132, in ?
    backup_subdir, "--clean-logs")
  File "C:\Python24\lib\os.py", line 565, in spawnl
    return spawnv(mode, file, args)
OSError: [Errno 2] No such file or directory

Ryan Taylor
URL: http://www.stgeorgeconsulting.com
Mail: rtaylor@stgeorgeconsulting.com
Phone: 207-236-4999 ext. 28

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 25 19:34:52 2005

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

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