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

Re: hotcopy --incremental auto-upgrade Re: Backup strategy sanity check

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 12 Aug 2013 08:36:42 -0500

On Sat, Aug 10, 2013 at 5:25 PM, Daniel Shahaf <danielsh_at_elego.de> wrote:
>
>> It would have been nice if --incremental would automatically upgrade the
>> target repository (and fallback to a full backup) if the versions
>> mismatch.
>
> Hmm. Interesting idea, but replacing failure modes with automagical
> behaviour is generally looked at with skepticism (is this error _really_
> always safe to not tell the admin about?). For the sake of argument,
> why shouldn't admins who want this behaviour opt-in to it by having
> their scripts do
>
> svnadmin upgrade $dest
> svnadmin hotcopy --incremental $src $dest
>
> ? (Note that 'upgrade' is idempotent, and will exit without error for
> already-most-recent-format repositories.)

Which case is worse for an unattended script? Leaving you with no
backups or one that needs a newer program to be able to use? And
which case might an early user of subversion have been trained to
expect?

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2013-08-12 15:37:17 CEST

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.