You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Phippard <Ma...@softlanding.com> on 2004/06/04 18:43:22 UTC
Backup of BDB Repository on Windows
I am running a few SVN repositories on a Windows server and they are only
accessed via Apache. We are using a standard Windows backup product like
Veritas or something like that. If we have the backup routine stop the
Apache service, backup the folder with the repositories and then restart
the service is that a safe and efficient backup process? I think it is, I
just wanted to be sure.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Backup of BDB Repository on Windows
Posted by Mark Phippard <Ma...@softlanding.com>.
Branko Čibej <br...@xbc.nu> wrote on 06/04/2004 03:46:46 PM:
> Note that I meant "svnadmin hotcopy" /instead/ of shutting down Apache.
> I guess you know that. Anyway, sure, if you're happy with shutting down
> Apache during the backup, then the hotcopy would be redundant
> (inefficient, whatever). But you do need to make sure that nobody can
> use, say, local access during the backup.
>
Thanks. That is what I thought. Local access will not be an issue or
concern.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Backup of BDB Repository on Windows
Posted by Branko Čibej <br...@xbc.nu>.
Mark Phippard wrote:
>Branko Čibej <br...@xbc.nu> wrote on 06/04/2004 03:27:32 PM:
>
>hanks. In my case I do not need zero-downtime, I have plenty of it :)
>
>
Oh...
>Given that down-time is not a problem, wouldn't svnadmin hotcopy be less
>efficient since it is making a copy (which uses disk) and my backup
>process has to wait for it to finish?
>
>
Note that I meant "svnadmin hotcopy" /instead/ of shutting down Apache.
I guess you know that. Anyway, sure, if you're happy with shutting down
Apache during the backup, then the hotcopy would be redundant
(inefficient, whatever). But you do need to make sure that nobody can
use, say, local access during the backup.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Backup of BDB Repository on Windows
Posted by Mark Phippard <Ma...@softlanding.com>.
Branko Čibej <br...@xbc.nu> wrote on 06/04/2004 03:27:32 PM:
> Mark Phippard wrote:
>
> >I am running a few SVN repositories on a Windows server and they are
only
> >accessed via Apache. We are using a standard Windows backup product
like
> >Veritas or something like that. If we have the backup routine stop the
> >Apache service, backup the folder with the repositories and then
restart
> >the service is that a safe and efficient backup process? I think it
is, I
> >just wanted to be sure.
> >
> >
> It's safe, but not efficient. It would be better if you had the routine
> do an "svnadmin hotcopy" on the repository, then back up the copy
> instead of the original. That way you get a true zero-downtime backup.
>
Thanks. In my case I do not need zero-downtime, I have plenty of it :)
Given that down-time is not a problem, wouldn't svnadmin hotcopy be less
efficient since it is making a copy (which uses disk) and my backup
process has to wait for it to finish?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Backup of BDB Repository on Windows
Posted by Branko Čibej <br...@xbc.nu>.
Mark Phippard wrote:
>I am running a few SVN repositories on a Windows server and they are only
>accessed via Apache. We are using a standard Windows backup product like
>Veritas or something like that. If we have the backup routine stop the
>Apache service, backup the folder with the repositories and then restart
>the service is that a safe and efficient backup process? I think it is, I
>just wanted to be sure.
>
>
It's safe, but not efficient. It would be better if you had the routine
do an "svnadmin hotcopy" on the repository, then back up the copy
instead of the original. That way you get a true zero-downtime backup.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org