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

Re[3]: Backup a repository

From: Ingo Schmidt <list_at_der-ingo.de>
Date: 2007-04-19 17:42:37 CEST

Hi!

> Thanks for your answer, but you didn't answer my questions.

I thought one of my arguments is so strong that I didn't have to answer
the rest, sorry.

> I can't do much about how we back up at the moment. I know we should use
> dump/load but I have to work with what I've got.

Let me repeat my argument against the "tar" approach:

Let's say while in the process of making an archive via tar someone
commits to the repository. How would tar notice? Exactly, it would
not!
So your backup will contain inconsistent data and thus being useless!

Only if you can make 100% sure that no one is accessing the repository
while you back up, then you can use your method (e.g. shut the svn
service down while you backup and make sure no one accesses it via
file:/// )

> 'vn: Unknown FS type 'fsfs

As far as I know, FSFS is not the same on different architectures. On
Unix systems some of those files have special rights/attributes set
that simply do no exists like that in Windows.
I can imagine that FSFS uses OS dependent mechanisms to "lock" while
someone is accessing the repository and that this makes it impossible
to just copy it over from one architecture to the other.

If the above is not true, then you may still run into problems, if you
do not use exactly the same version of Subversion on both, Linux and
Windows. Did you check that? Did you use the same version of SVN both
times?

Cheers, Ingo =;->

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 19 17:42:48 2007

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.