You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by eg <eg...@gmail.com> on 2008/04/29 16:45:24 UTC
Re: hotbackup.py on Windows server
David Glasser wrote:
> On Mon, Apr 28, 2008 at 10:15 AM, Suzanne Shockley
> <Su...@sscoop.com> wrote:
>> Does anybody have steps to get a hotbackup.py running on a Windows server? I need steps A to Z. Thanks!
>
> users@subversion.tigris.org is a better mailing list for this sort of question.
>
Replying on users list:
Assuming you have SVN already installed and running;
- Install the svn python bindings onto the server. The bindings version
should correspond to your version of svn.
- Get the copy of hot-backup.py.in from tools\backup and copy it to
where you want to execute it from (server side) and change the name to
hot-backup.py
- Edit hot-backup.py and change the following:
a) shebang line (optional)
b) Change the occurences of @SVN_BINDIR@ to point to the bin directory
of your subversion installation
c) Edit the num_backups variable to the desired number of backups you
want to keep around (optional).
- Now you should be able to run the program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: hotbackup.py on Windows server
Posted by Blair Zajac <bl...@orcaware.com>.
eg wrote:
> David Glasser wrote:
>> On Mon, Apr 28, 2008 at 10:15 AM, Suzanne Shockley
>> <Su...@sscoop.com> wrote:
>>> Does anybody have steps to get a hotbackup.py running on a Windows
>>> server? I need steps A to Z. Thanks!
>>
>> users@subversion.tigris.org is a better mailing list for this sort of
>> question.
>>
>
> Replying on users list:
>
> Assuming you have SVN already installed and running;
>
> - Install the svn python bindings onto the server. The bindings version
> should correspond to your version of svn.
You don't need the Subversion Python bindings to run hotbackup.py, it doesn't
use them.
$ grep '^ *import' tools/backup/hot-backup.py.in
import sys, os, getopt, stat, string, re, time, shutil
import subprocess
import tarfile
import zipfile
Regards,
Blair
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org