Subversion hot-backup.py on Windows
If you’re trying to run hot-backup.py on Windows to do a hot backup of your subversion repo you need to make the following modifications to your system and the python script otherwise it wont work properly.
- Install Python 2.7.2 (DO NOT USE Python Ver 3, hot-backup is out of date)
- Setup Environment Variables to include both Python and subversion executables.
- Make modifications to your hot-backup.py to look like mine (see bottom of post).
- Go ahead and run it make sure you change the paths to your own repo and backup destination: python C:\Repositories\hot-backup.py —archive-type=zip C :\Repositories\REPO\ C:\Users\Administrator\back\up\location
There is a lot awesome stuff you can do with this python script so check the source code! =)
Modifications to hot-backup.py to get it running on Windows.
# Path to svnlook utility
svnlook = “svnlook.exe”
# Path to svnadmin utility
svnadmin = “svnadmin.exe”






