On 4/19/07, Erik Hemdal <email@example.com> wrote:
> > If you guys could tell me that I cannot simply tar a
> > repository on a Linux server and untar it on a Windows
> > machine and expecting it to work because of this and that,
> > that I can go to the Big Guy and say, look we can't do it
> > this way, let's use the dump/load.
> I'd be quite surprised if this worked, and I'd definitely be interested in
> knowing how you did it if this is what you are intending. Were I in your
> shoes, I would most certainly test this before making it my backup plan
> then I would periodically retest to make sure I knew how to do it and that
> it still worked.
You can indeed tar a repository that uses the FSFS backend on a Linux
machine and then un-tar and serve it from a Windows box, because FSFS is in
fact architecture independent. From
"Unlike a Berkeley DB database, this storage format is portable across
different operating systems and isn't sensitive to CPU architecture."
I just gave it a quick try and it worked (that is, a checkout of the
"restored" repository succeeded). It's still not a safe backup method,
unless you can guarantee nothing is changing in the repository as it is
Received on Thu Apr 19 20:15:10 2007