[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: Res Pons <pons32_at_hotmail.com>
Date: 2006-08-01 19:34:33 CEST

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

----Original Message Follows----
From: Jay Jones <jay@blueacorn.co.uk>
To: Res Pons <pons32@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: Backing up SVN
Date: Tue, 01 Aug 2006 18:14:50 +0100

Res Pons wrote:
>I'm not clear and have no clue how to add svn to our nightly tape back up.
>We simply added to the back up. But how does this work against a live
>server which is being used all day by developers and from 12-3 a.m. for
>automated builds. Is there a python or preferably Perl script that gentley
>downs the server before back up exec kicks in?
>I need to know more ore less the exact steps please. Thanks
Any reason why you're not using the SubVersion "Hot Copy" admin command:
svnadmin hotcopy c:\repos\aproject z:\backup\aproject --clean-logs

This can be used to hot-copy the database, without taking it off-line.
This could be used:
1) To hot-copy directly onto your backup media (eg. virtual tape store),
      - Preferable as less-steps is less to go wrong!
2) Or, Use as the "mirror" that your nightly tape backup archives.
      - Ensure that the the hot-copy runs well before the scheduled
      - If the hot-copy fails - you'll just be backing up old files!


On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 1 19:36:11 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.