# hot-backup.py on windows

From: Andy Tawse <andy.t_at_newmediacollective.com>
Date: 2004-03-30 12:00:19 CEST

Hi there,

I'm trying to backup a repository on Windows XP using the hot-backup.py
script which I took out of the source.

The command I ran is C:\Program Files\Subversion>hot-backup.py

c:\svn\project2 is the location of my repository and
c:\admin\svn_repos_backup is where I want to back it up

I had some problem with :

File "C:\Program Files\Subversion\hot-backup.py", line 97, in ?
youngest = string.strip(stdout_lines[0])
IndexError: list index out of range

but I solved this by setting :

The problem I have now is :

Path to repo : project2
Beginning hot backup of 'c:\svn\project2'.
Youngest revision is 10
Traceback (most recent call last):
File "C:\Program Files\Subversion\hot-backup.py", line 131, in ?
backup_subdir, "--clean-logs")
File "C:\PROGRA~1\PYTHON~1.3\lib\os.py", line 566, in spawnl
return spawnv(mode, file, args)
OSError: [Errno 2] No such file or directory

Seems like there is a problem with one of the paths when calling
svnadmin through os.spawnl (thats on line 131).

Has anyone had any similar problems or knows of solution?

Thanks.

```--