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

RE: How to backup all Repositories in a Directory?

From: John Niven <jniven_at_bravurasolutions.com>
Date: Fri, 31 Oct 2008 11:36:03 +1100

> -----Original Message-----
> From: chobo2 [mailto:mhubele_at_gmail.com]
> Sent: Friday, 31 October 2008 13:26
> To: users_at_subversion.tigris.org
> Subject: How to backup all Repositories in a Directory?
>
>
> Hi
>
> I know there is svnadmin hotcopy is used to backup and I can
> make it backup one repository. But I want to backup all
> repositories in that directory. How would I go about doing this.
>
> I am using windows xp.

You could run svnadmin hotcopy several times, or - better yet - write a script to do it for you? Something like:

for each sub-directory (subdir) in present directory:
    svnadmin hotcopy $subdir backup\$subdir

Of course, you'd need to change the above pseudocode to your favourite scripting language.

Cheers
John

> --
> View this message in context:
> http://www.nabble.com/How-to-backup-all-Repositories-in-a-Dire
ctory--tp20258114p20258114.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-31 01:36:33 CET

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.