duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] command for default behavior?


From: Jacob
Subject: Re: [Duplicity-talk] command for default behavior?
Date: Sun, 8 Jun 2008 23:36:30 -0400

On Sun, 08 Jun 2008 19:42:12 -0500
Kenneth Loafman <address@hidden> wrote:

> Jacob wrote:
> > On 8 Jun 2008 21:05:13 -0000
> > "Dan Gomet" <address@hidden> wrote:
> > 
> >> Hi,
> >>
> >> a small thing, but somewhat inconvenient when scripting: is there a 
> >> command that reproduces the "default backup behavior" (incremental backup, 
> >> but switch to full if not possible)?
> >>
> >> I'd propose two new commands, e.g. "backup" and "restore", in addition to 
> >> full, incr etc. These commands could also help prevent annoyances when 
> >> inadvertently switching the source and destination args on the command 
> >> line.. Such mistakes can very easily happen when using bash history, even 
> >> to experienced users.
> > 
> > There's actually a "restore" command already. As for "backup", would it be 
> > just easy to use the incremental command? I'd think that would fall back to 
> > full if no backups exist.
> 
> That is correct.  For backup, with no command present, the default is
> 'incremental', so just leave off any command and you have the default.

Well, except his point was that the default (leaving command blank) can get you 
into trouble if you accidentally swap the source and destination. To clarify, 
would incremental fall back to full if no backups existed?

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]