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

Re: Backing up repository

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: 2006-06-13 10:37:18 CEST

"Roger Lipscombe" <rogerl@1e.com> wrote on 13.06.2006 10:25:30:

> Hi,
>
> Currently, we’re using hot-backup.py on Windows to snapshot our
> repository before backing it up. Two questions:
>
> 2. Do I need to use it at all? Can I backup a FSFS repository while
> it’s being used? Could we just stop Apache while the backup job’s
> running, and restart it again in the morning?
>

AFAIK, if you simply copy over te FSFS repository while the server is
active and there is a commit in progress, the only thing that may not make
it into the copy is this last commit, but it does not make the repository
backup unusable/corrupt.

If you do your backups at night and you are sure that nobody is using the
repository at the time, there is no need to shut down Apache - I think it
only accesses the repository if it is serving a request.

I backup my server by dumping the repository during the night, and I never
stop Apache while doing it. I never had a problem with backups/dumps
because of it.

Regards,
---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer

   NIL Data Communications, Tivolska cesta 48, 1000 Ljubljana, Slovenia
   Phone +386 1 4746 500 Fax +386 1 4746 501 http://www.NIL.si


Received on Tue Jun 13 10:38:43 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.