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

Re: Backup routine for Windows users

From: si <sshnug.si_at_gmail.com>
Date: 2006-10-25 05:14:04 CEST

Hi Walden,

> What are others doing to backup/restore multiple repositories in a windows
> environment?

http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/README.txt

I'll be implementing the new svnsync into Subnant as an alternative
to the Unison backup process (which has been working well for us)
as soon as I get a chance to come up for air.

Basically we have a post-commit hook call the backup target to
invoke Unison, and a nightly scheduled task to verify all backup
repositories and another scheduled task to do a verify and dump
(compressing the dump to a zip file) of all live repositories.

So at any time we have 2 backups for all our repositories...the most
recent and easiest to recover from is the unison post-commit backup,
since it's a copy of the whole repository directory. The oldest backup
is last nights zip of the dumps. This requires an svnadmin create then
load to recover.

Also, you might want to consider versioning your hooks and authz files
into a repository, and checkout working copies where appropriate.
That way they're covered by whatever process you implement.

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 25 05:14:50 2006

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.