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: Kenneth Loafman
Subject: Re: [Duplicity-talk] command for default behavior?
Date: Sun, 08 Jun 2008 19:42:12 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

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.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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