|
From: | edgar . soldin |
Subject: | Re: [Duplicity-talk] command for default behavior? |
Date: | Tue, 10 Jun 2008 11:15:36 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 |
Hi ken, does 'incr' actually stop if no full backup is found? regards ede --
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------------------------------------------------------------------------_______________________________________________ Duplicity-talk mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/duplicity-talk
--public class WhoDidIt{ // A comment. I love comments private static Person sender;
public static void main (String[] foo){ sender = new Person(); sender.setName(new String[]{"Edgar", "Soldin"}); Address address = new Address(); address.setStreet("Stadtweg 119"); address.setZip(39116); address.setCity("Magdeburg"); address.setCountry("Germany"); sender.setAddress(address); sender.setMobilePhone(" +49(0)171-2782880 "); sender.setWebSiteUrl(" http://www.soldin.de "); sender.setEmail(" address@hidden "); sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); sender.setGender(true); System.out.println(sender.toString()); } }
[Prev in Thread] | Current Thread | [Next in Thread] |