[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 13:45:05 CEST

On Wednesday 05 July 2006 12:16, spock@dwinner.net wrote:
> Can anybody tell me what the implications of just doing a normal backup
> (unix dump or tar of flat file structure) of an fsfs repo might be? Is it
> safe, or should I still be using "svnadmin dump"?

IMHO, yes, because it is The Documented Way(tm) to make backups.

> I did some testing, and it seemed to me that I could take a repo, rename it,
> move it, copy it, make a tarball out of it, delete it, then restore it from
> tarball, and it seemed safe and still functional in every case. But I don't
> want any nasty surprises, so if anybody knows of a reason this is not a good
> idea, please let me know.

The FSFS backend depends on portable ways to access files, so sophisticated
stuff is probably not needed (and thus can't fail).

> I know you can't get away with this with a berkley repo,

Yes you can, but Subversion used different versions of BDB in the backend and
those versions are not necessarily compatible. Usually they are convertible
but not necessarily so. That might be the problem that you were referring to.
Assuming the FSFS backend suddenly finds that it also needs something
different, it might require an update of the existing repository, too, so it
could develop the same problems. That is another reason for me to rely on
dumpfiles (which in fact also come in different versions, but those have a
guaranteed upgrade path built into Subversion).

just my 2cc

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 13:46:42 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.