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

Re: backing up fsfs repo

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-07-05 19:58:47 CEST

On Wednesday 05 July 2006 17:29, Wendy Smoak wrote:
> On 7/5/06, Thomas Hemmer <themmer@go-engineering.de> wrote:
> > as long as you make sure that no svn server (svnserve or apache) is
> > accessing (and thus potentially modifying) your repository while you are
> > backing up the simple method of "tar"ing or similar should do the job
> > perfectly well.
> > If you can't tell exactly, "svnadmin dump" is safer.
>
> Does this mean it's _not_ necessary to prevent access to the
> repository during 'svnadmin dump'?

I think it is, but I'm not sure. There is an included script however, called
hot-backup, which does The Right Thing(tm) to duplicate a live and active
repository. You can then use that double to tar up or dump without having to
worry that someone might be writing to it.

> On a similar topic, I've heard advice to "take the repository offline"
> before backing up.
>
> This may be some basic unix admin thing I just don't know, but having
> started svnserve...
> $ svnserve -d -r /path/to/repos
> ... how do I _stop_ it? I looked at svnserve --help, and a quick
> search only turned up advice to kill the process.

...which takes the repository offline.

> http://svn.haxx.se/users/archive-2005-09/0800.shtml
>
> Is that really the best way?

Hmm, I didn't read above link but I start svnserve via [x]inetd and just stop
that one temporarily or deactivate svnserve there. Well, in fact I use
hot-backup so I don't even have to do either. ;)

Uli

****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer.

E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences.
****************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 20:00:25 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.