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

Re: Running hot-backup.py on Windows Server 2003

From: Ed MacDonald <edmacdonald_at_hotmail.com>
Date: 2005-01-26 05:09:46 CET

You probably want to run Python 2.3 as there doesn't appear to be bindings
for 2.4 yet.

Ed

----- Original Message -----
From: "Ryan E Taylor" <rtaylor@stgeorgeconsulting.com>
To: <users@subversion.tigris.org>
Sent: Tuesday, January 25, 2005 6:21 AM
Subject: Running hot-backup.py on Windows Server 2003

> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 05:17:17 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.