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

Re: Backing up SVN

From: Jay Jones <jay_at_blueacorn.co.uk>
Date: 2006-08-01 20:18:33 CEST

Res Pons wrote:
> Thank you for your help. I didn't even know this utility existed. If
> I understand you correctly, I could run a cronjob to run the hotcopy
> cmnd at a certain hour to a certain folder or another drive and then
> back up that folder or drive?
> Our repository is on a linux red hat enterprise 3.5 with Apache.
> Could I just run the hotcopy cmnd against the repo, copy it to a
> folder and back up that folder? How long does the hotcopy usually
> take for a repo of about 2-5GB, do you happen to know? Thanks again
> < snip >
Yes - but don't know why you'd do the extra "copy" step. how long? -
try and we shall see!

Here's the online reference page for SVN admin hotcopy command.
This utility should be available on your linux svn installation also.
The command would look something more like this on linux:
svnadmin hotcopy $repo1 /tmp/mirror1

For configuring cron:

Also, according to the website below: "The standard Subversion
installation also provides a Python script within the tools/backup
directory that can be scripted to run automatically (via cron for
example), rather than running 'svnadmin hotcopy' manually."

Enjoy :)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 1 20:19:59 2006

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.