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

Re: Backup Question -- Difference between rsync and hotcopy

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: 2007-05-17 20:15:13 CEST

Mark,

I cannot speak how rsync handles copying. Hopefully someone else will
respond to that side of the question.

However, in regards to the hot-backup scripts provided by the
Subversion community: A hot-backup will only copy the repository up to
that revision when the script's execution was started.

For example: if the repository is at revision 1234, hot-backup will
only get everything in the repository up to 1234. Even though the
hot-backup takes 10 minutes to run and a number of developers commit
changes that raise the repository up to 1245 during that time, the
hot-backup will only get the repository up to 1234.

None of the developers who commit during this time period also will not
have their transaction corrupted or rejected if you backup with the
community provided hot-backup scripts.

Check out these scripts for hot-backups at the following URL's

svn-fast-backup :
http://svn.collab.net/repos/svn/tags/1.4.3/contrib/server-side/
backup-recipe.sh :
http://svn.collab.net/repos/svn/tags/1.4.3/contrib/server-side/
hot-backup.py :
http://svn.collab.net/repos/svn/tags/1.4.3/tools/backup/

Hope this helps,

Johnathan

>>> On Thu, May 17, 2007 at 11:37 AM, in message
<464C84C9.1080805@highwire.stanford.edu>, Mark Houts
<mhouts@highwire.stanford.edu> wrote:
> I'm backing up an FSFS repository that is large (100GB+) and heavily

> used by geographically dispersed groups so there's no obvious time to

> schedule a backup when the repository is not being accessed. I'd like
to
> do hot copies while the repository is in use but I am concerned about

> whether any transactions taking place during the backup could be
> corrupted. Is there any functional difference between hotcopy and
rsync
> either with the resulting backup repository or how open files are
handled?
>
> mh
>
>
---------------------------------------------------------------------
> To unsubscribe, e- mail: users- unsubscribe@subversion.tigris.org
> For additional commands, e- mail: users- help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 17 20:16:09 2007

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.