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

Re: hot-backup vs svnadmin dump

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 04 Apr 2008 12:34:13 -0500

David Pratt wrote:
> Hi. I am in the process of automating a backup and recovery and would
> like to know what is best for complete restoration of the repository.
> The machines have different os's so just want to ensure I do not run
> into snags.
>
> My repository is hosted on an mac osx machine. I would prefer to do cron
> hot-backups and unarchive my repository without any consequences to a
> CentOS machine in event of failure. Will I run into any trouble with
> this scenario? Would it be better to do a dump and then load the dump
> file to a new repository on the Linux box. I guess I am questioning
> whether these method are os agnostic and if not how to work around this.
> Many thanks.

You could try using svnsync. It is cross-platform, and when included in
a cron job, will automatically keep the backup up-to-date with the
original, without having to worry about moving files between hosts.

http://svnbook.red-bean.com/en/1.4/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnsync

-Hyrum

Received on 2008-04-04 19:34:43 CEST

This is an archived mail posted to the Subversion Users mailing list.