From e972197ea04cf7e7eef7f5aaf2c628219a4ebce8 Mon Sep 17 00:00:00 2001 From: Distix listener Date: Wed, 28 Dec 2016 21:40:15 +0100 Subject: imported mails --- .../cur/.this-dir-not-empty/.empty/empty-file | 0 .../new/.this-dir-not-empty/.empty/empty-file | 0 .../Maildir/new/1482957613.M271696P1501Q1.hrun | 106 +++++++++++++++++++++ .../tmp/.this-dir-not-empty/.empty/empty-file | 0 .../3802012a45ca4b7fb7d1aa3f3cda1775/ticket.yaml | 4 + 5 files changed, 110 insertions(+) create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/cur/.this-dir-not-empty/.empty/empty-file create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/.this-dir-not-empty/.empty/empty-file create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1482957613.M271696P1501Q1.hrun create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/tmp/.this-dir-not-empty/.empty/empty-file create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/ticket.yaml (limited to 'tickets') diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/cur/.this-dir-not-empty/.empty/empty-file b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/cur/.this-dir-not-empty/.empty/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/.this-dir-not-empty/.empty/empty-file b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/.this-dir-not-empty/.empty/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1482957613.M271696P1501Q1.hrun b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1482957613.M271696P1501Q1.hrun new file mode 100644 index 0000000..ec0f3dd --- /dev/null +++ b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1482957613.M271696P1501Q1.hrun @@ -0,0 +1,106 @@ +Return-Path: +X-Original-To: distix@pieni.net +Delivered-To: distix@pieni.net +Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPS id 191E824CEE + for ; Wed, 28 Dec 2016 21:36:03 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id A6296B86; + Wed, 28 Dec 2016 20:36:02 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1cMKx8-0004x0-A7; Wed, 28 Dec 2016 20:36:02 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1cMKx6-0004vt-Ls + for ; Wed, 28 Dec 2016 20:36:00 +0000 +Received: from davros.xk7.net ([46.43.0.197]) + by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) (envelope-from ) id 1cMKx4-00027t-Ka + for obnam-dev@obnam.org; Wed, 28 Dec 2016 20:36:00 +0000 +Received: from [IPv6:2a02:8011:1f:0:89e8:c233:ef9a:b197] (unknown + [IPv6:2a02:8011:1f:0:89e8:c233:ef9a:b197]) + by davros.xk7.net (Postfix) with ESMTPSA id 7F81AE561E + for ; Wed, 28 Dec 2016 20:35:45 +0000 (GMT) +To: obnam-dev@obnam.org +From: Paul Waring +Message-ID: <5e1732e1-ad95-ae51-5328-2896962371ea@xk7.net> +Date: Wed, 28 Dec 2016 20:35:45 +0000 +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 + Thunderbird/45.5.1 +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: 7bit +X-Pepperfish-Transaction: 2a62-4256-f3ed-151b +X-Spam-Score: -5.8 +X-Spam-Score-int: -57 +X-Spam-Bar: ----- +X-Scanned-By: pepperfish.net, Wed, 28 Dec 2016 20:36:00 +0000 +X-Spam-Report: Content analysis details: (-5.8 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -0.3 PPF_FROM_UK RBL: A Received line involves an address from the UK + [46.43.0.197 listed in gb.country.dnsbl.rjek.com] + -0.5 PPF_USER_AGENT User-Agent: exists + -0.0 SPF_PASS SPF: sender matches SPF record + -3.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] +X-ACL-Warn: message may be spam +X-Scan-Signature: bdc2be5dc634686df142fe367da3f314 +Subject: Improving error message when restoring on a different client +X-BeenThere: obnam-dev@obnam.org +X-Mailman-Version: 2.1.5 +Precedence: list +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +I recently tried restoring backups of client A on another machine B +using the following command from the obnam documentation. + +obnam mount -r /path/to/repository --to ~/restore/ + +The error message I received was: + +ERROR: R24424X: Repository client B does not exist + +I had no idea what R24424X was or why obnam would be telling me that +client B didn't exist when I wanted to restore client A (I keep one +client per repository, which may not be a typical use case). + +I eventually worked out that I had to use '--client-name A' as an extra +argument to 'obnam mount'. I was wondering if this error message could +be improved by hinting to the user as to which command line option they +need, e.g. + +ERROR: R24424X: Repository client B does not exist. If you are restoring +to a different client, try: --client-name [client] + +Alternatively, perhaps it might be worth documenting the use of +--client-name in the 'Restoring from backups' section of the manual? I +am happy to improve the docs, but I have no idea where to start with the +code. + +Thanks + +Paul + +-- +Paul Waring +Freelance consultant +https://www.pwaring.com + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/tmp/.this-dir-not-empty/.empty/empty-file b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/tmp/.this-dir-not-empty/.empty/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/ticket.yaml b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/ticket.yaml new file mode 100644 index 0000000..842e10a --- /dev/null +++ b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/ticket.yaml @@ -0,0 +1,4 @@ +ticket-id: +- 3802012a45ca4b7fb7d1aa3f3cda1775 +title: +- Improving error message when restoring on a different client -- cgit v1.2.1