Duan,
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
Hello,
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,
DW
Received on Wed Jul 5 13:05:01 2006