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

RE: How to restore from backup via svnsync? Or any other suggestions?

From: Jason Malinowski <jason_at_jason-m.com>
Date: Wed, 22 Jul 2009 20:58:24 -0700

Not really. As long as you're aware of what svnsync _doesn't_ copy, you're
good to know.

Be aware that svnsync stores it's tracking properties as revprops of
revision 0, and so the only difference you should see between the original
and the mirror is those properties. So if you were maintaining a mirror and
had to force it to be the live one, you could simply delete those, and then
point your developers at the new URL (or: point a hostname to the different
machine.) That said, you'd have to make sure the mirror had all of the
revisions from the original: if it got behind and you tried switching your
developers over to the mirror, it will break miserably if the clients expect
there to be newer revisions than there are in the mirror. Just make sure
your repository UUIDs are the same!

Also, be aware of issues with revprops not being versioned: if somebody
changes a log message in the source, svnsync sync will not catch it. You
must also do a call to svnsync copy-revprops for that.

Jason Malinowski

> -----Original Message-----
> From: Neil Aggarwal [mailto:neil_at_JAMMConsulting.com]
> Sent: Wednesday, July 22, 2009 8:28 PM
> To: users_at_subversion.tigris.org
> Subject: RE: How to restore from backup via svnsync? Or any other
> suggestions?
>
> > svnsync only reads the repository through the svn repository changes.
> > The upstream repository has no direct way to *publish* the contents of
> > its own hook scripts: in some ways, it's like trying to operate on
> > your own hand.
>
> I can understand that. The hook scripts are outside the version
> control.
>
> We do not use hook scripts for our repos so I think we are
> OK.
>
> Is there anything else I need to be wary of.
>
> Thanks,
> Neil
>
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Will your e-commerce site go offline if you have
> a DB server failure, fiber cut, flood, fire, or other disaster?
> If so, ask about our geographically redundant database system.
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=23
7
> 4652
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374654

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-23 05:59:21 CEST

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.