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

Re: Incremental backups to "nightly" files

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-04-14 08:26:44 CEST

On Thursday 14 April 2005 05:54, Kevin Puetz wrote:

> > (Admittedly, I also run rsync to backup my FSFS repositories, and I am
> > pretty sure nobody check in late at night when rsync is but I am just
> > curious if there can be any problems in principle).
> >
> > Regards,
> As long as the 'current' file is synced before revs directory, there's no
> problem; a half-completed commit might get copied, but wouldn't be
> mentioned.
> In practice, half-completed commits are under txns anyway, and are put into
> revs with a single mv, so you either get them or not regardless.

Thanks for explanation, it sound very reassureing.

> if one wants to get really fancy, if you
>  * read 'current'
>  * sync revs
>  * write the value of 'current' you originally read
> and than the target mirror is also consistent the entire time, since having
> revisions showing up under revs that aren't referenced yet is harmless.

I guess re-running rsync some time later would be a simplier and would also
advance the 'current' (yes, I understand that I can again be missing the very
latest revision, but if the goal is to keep backup reasonably close to the
head, re-rsyncing sounds to me like a simplier solution, in the light of what
you explained above -- right?).

Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Thu Apr 14 08:28:03 2005

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.