[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: Thomas Hemmer <themmer_at_go-engineering.de>
Date: 2006-07-05 13:02:48 CEST

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.
- Thomas


From: Duane Winner [mailto:dwinner@dwinner.net] On Behalf Of spock@dwinner.net
Sent: Wednesday, July 05, 2006 12:17 PM
To: users@subversion.tigris.org
Subject: backing up fsfs repo

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"? 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.
I know you can't get away with this with a berkley repo, but it seems to me that
fsfs might be similar treatment as I did with a cvs repo, where I could just tar
up the whole cvs root and rely on that as my backup.
Thanks for any info,
Received on Wed Jul 5 13:05:01 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.