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

Re: Couple of backup questions

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-19 22:35:55 CET

Ben Collins-Sussman wrote:
> On Dec 19, 2004, at 1:22 PM, Bryan D. Andrews wrote:
>> 1. Is it ok to svnadmin hotcopy to a network drive (to be backed up)? I
>> know you should not run subversion on networked drives...
> Sure. But that rule "should not run subversion on network drives" only
> applies to BDB repositories, not FSFS ones.

I think Bryan is asking if a BDB repository can be hotcopied to a network

I think this may well not work, since once the filesystem copy has been
made, Berkeley DB recovery is run on the copy.

>> 2. If we have proper backups and we lose a machine that is not
>> recoverable, can we restore the repository to another box? I ask
>> because
>> in the SVN book it mentions that: "Since Berkeley databases are not
>> portable across machine architectures, this format is a useful way to
>> transfer those databases from machine to machine, irrespective of
>> architecture or operating system."
>> If not, what is the common way of insuring that backups will be
>> recoverable even if the machine caught on fire and burned to the
>> ground?
> You can always read a BDB repository on computer with the same
> CPU/OS/BDB version installed.

The same endian-ness and same BDB version will suffice.
A simple "svnadmin recover" will rewrite the OS dependent bits for a new OS.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 19 22:38:28 2004

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.