How to restore a backup?

2012-07-12 Thread Phillip Hellewell
Hi all, Dumb question here, but let's say I'm doing a weekly full backup with svnadmin hotcopy, and a daily backup using svnsync to a mirror. Now let's say my main repository goes down. I can restore the full backup from a week ago, but then how do I "replay" the extra revisions from the mirror

Re: How to restore a backup?

2012-07-12 Thread Phillip Hellewell
On Thu, Jul 12, 2012 at 9:36 AM, Phillip Hellewell wrote: > > Now let's say my main repository goes down. I can restore the full > backup from a week ago, but then how do I "replay" the extra revisions > from the mirror into it? > > Is svnadmin dump and svnadmin load what I'm looking for? Ok, ba

Re: How to restore a backup?

2012-07-12 Thread Les Mikesell
On Thu, Jul 12, 2012 at 12:40 PM, Phillip Hellewell wrote: >> >> Alternatively, is there a way to "transform" a read-only mirror into a >> normal repository? (I don't plan on doing this; it's just more for >> curiosity.) > > I'm still curious about this one, but if no one knows it's not a big dea

Re: How to restore a backup?

2012-07-13 Thread Phillip Hellewell
On Thu, Jul 12, 2012 at 12:38 PM, Les Mikesell wrote: > You don't really have to do anything except make your hooks and conf > directories look the same as the source did. You probably want to > (snip) Wouldn't you also have to tweak revision 0 props too? Phillip

Re: How to restore a backup?

2012-07-13 Thread Les Mikesell
On Fri, Jul 13, 2012 at 11:14 AM, Phillip Hellewell wrote: > On Thu, Jul 12, 2012 at 12:38 PM, Les Mikesell wrote: >> You don't really have to do anything except make your hooks and conf >> directories look the same as the source did. You probably want to >> (snip) > > Wouldn't you also have to

Re: How to restore a backup?

2012-07-14 Thread Phillip Hellewell
On Fri, Jul 13, 2012 at 10:27 AM, Les Mikesell wrote: > On Fri, Jul 13, 2012 at 11:14 AM, Phillip Hellewell wrote: >> >> Wouldn't you also have to tweak revision 0 props too? > > I don't think anything else would care about the properties set by svnsync. Hmm, I just found this post from 2008 tha

Re: How to restore a backup?

2012-07-14 Thread Thorsten Schöning
Guten Tag Phillip Hellewell, am Samstag, 14. Juli 2012 um 16:17 schrieben Sie: > I'm still not hearing though from anywhere, what is the step that > makes the mirror not read-only? What is the step which makes it read-only? The creation of a hook which lets only commits from svnsync pass. Change

Re: How to restore a backup?

2012-07-14 Thread Les Mikesell
On Sat, Jul 14, 2012 at 9:17 AM, Phillip Hellewell wrote: > > I'm still not hearing though from anywhere, what is the step that > makes the mirror not read-only? > It never is read-only or svnsync couldn't write to it. But you might have a hook that doesn't let anyone else write or if you are us