RE: hot-backup vs svnadmin dump
From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Sat, 5 Apr 2008 08:08:58 -0400
There's another advantage to svnsync -
Suppose you do a hotcopy at midnight capturing rev 100, and people do updates/commits during the day after, pushing the repo up to rev 101, and then somehow your repository server dies.
If you restore rev 100 of the repo to a new server, and then the clients with rev 101 try to connect to the restored repository of a lower rev number ... I'm not sure what will happen, but I know it's bad. To be safe, you'd have to blow away everyone's working copy and re-checkout for each person.
Svnsync can help you avoid this problem. If you keep a "live" synchronized backup of the repo, and then you need to make the "slave" into the "master," then your restored master is already up to 101, and peoples' clients are happy to continue where they left off.
Of course, whatever might have blown up your master repository would have a small chance of propagating to the slave repository too. So the best practice would be - Use chronic hotcopy in addition to a slave using svnsync. This gives you the most options available to you, if you should need to restore.
> -----Original Message-----
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin_at_patni.com and delete this mail.
---------------------------------------------------------------------
|
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.