From 4e33dc3477c09be7272da48ea5be80c8b6ee51ec Mon Sep 17 00:00:00 2001 From: Distix listener Date: Thu, 29 Dec 2016 10:25:10 +0100 Subject: imported mails --- .../Maildir/new/1483003508.M497097P5123Q1.hrun | 171 +++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1483003508.M497097P5123Q1.hrun (limited to 'tickets') diff --git a/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1483003508.M497097P5123Q1.hrun b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1483003508.M497097P5123Q1.hrun new file mode 100644 index 0000000..284efca --- /dev/null +++ b/tickets/3802012a45ca4b7fb7d1aa3f3cda1775/Maildir/new/1483003508.M497097P5123Q1.hrun @@ -0,0 +1,171 @@ +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 756AB203D9 + for ; Thu, 29 Dec 2016 10:23:37 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 1EA1AB91; + Thu, 29 Dec 2016 09:23:37 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1cMWvw-0002NY-VS; Thu, 29 Dec 2016 09:23:37 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1cMWvv-0002NM-8r + for ; Thu, 29 Dec 2016 09:23:35 +0000 +Received: from pieni.net ([95.142.166.37] ident=postfix) + by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) (envelope-from ) id 1cMWvs-0007fI-9a + for obnam-dev@obnam.org; Thu, 29 Dec 2016 09:23:35 +0000 +Received: from exolobe3.liw.fi (82-181-57-241.bb.dnainternet.fi + [82.181.57.241]) + (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPSA id AC09B203D9; + Thu, 29 Dec 2016 10:23:24 +0100 (CET) +Received: from exolobe3 (localhost [127.0.0.1]) + by exolobe3.liw.fi (Postfix) with ESMTPS id 3EDFC1200C3; + Thu, 29 Dec 2016 11:23:23 +0200 (EET) +Date: Thu, 29 Dec 2016 11:23:22 +0200 +From: Lars Wirzenius +To: Paul Waring +Message-ID: <20161229092322.nx4voms6soafx65g@exolobe3> +References: <5e1732e1-ad95-ae51-5328-2896962371ea@xk7.net> +MIME-Version: 1.0 +In-Reply-To: <5e1732e1-ad95-ae51-5328-2896962371ea@xk7.net> +User-Agent: NeoMutt/20161126 (1.7.1) +X-Pepperfish-Transaction: e8f9-2afc-3e79-6c87 +X-Spam-Score: -2.9 +X-Spam-Score-int: -28 +X-Spam-Bar: -- +X-Scanned-By: pepperfish.net, Thu, 29 Dec 2016 09:23:35 +0000 +X-Spam-Report: Content analysis details: (-2.9 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -1.0 PPF_USER_AGENT_MUTT User-Agent: contains Mutt (Mutt isn't a spam + tool) -0.5 PPF_USER_AGENT User-Agent: exists + 0.5 PPF_MESSAGEID_NODOTS Message-Id contains no dots after the @ + -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: 158c4740c279b904d023a01a6041c5ee +Cc: obnam-dev@obnam.org +Subject: Re: 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: , + +Content-Type: multipart/mixed; boundary="===============0407934741661972598==" +Mime-version: 1.0 +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + + +--===============0407934741661972598== +Content-Type: multipart/signed; micalg=pgp-sha512; + protocol="application/pgp-signature"; boundary="2xd5ww3wbatfbgqs" +Content-Disposition: inline + + +--2xd5ww3wbatfbgqs +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Wed, Dec 28, 2016 at 08:35:45PM +0000, Paul Waring wrote: +> I recently tried restoring backups of client A on another machine B using +> the following command from the obnam documentation. +>=20 +> obnam mount -r /path/to/repository --to ~/restore/ +>=20 +> The error message I received was: +>=20 +> ERROR: R24424X: Repository client B does not exist +>=20 +> I had no idea what R24424X was or why obnam would be telling me that clie= +nt +> 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). + +The R.....X codes are Obnam's error codes. They're reasonably stable +and automatically generated. It's there to make it easier to grep for +errors. Some day it'll be useful to understand log files from users +who use a non-English locale, as the error code will be unchanged. + +See obnamlib/structurederror.py for details. In short, each error +message is a class (subclass of obnamlib.StructuredError) and the +class contains the error text (or template). + +The manual has an automatically generated list of error codes and +message: +http://code.liw.fi/obnam/manual/ci/obnam-manual.en.html#appendix-error-mess= +ages + +This particular error message is "generic", i.e., used for all obnam +commands that need to access the repository as a client, but the +client name isn't found (possibly becuase, as in your case, the +client name is automatically chosen from the computer hostname, and +the user didn't know about it). Thus, I'd like the error message text +to be suitable for them. Possibly something like: + + "Client B does not exist in the repository. Use --client-name A to + choose client name, and 'obnam clients' to see which exist." + +Improving the manual would be a good thing as well. + +> 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 cod= +e. + +Patch for error messsage or manual or both warmly welcome. Thank you. + +--=20 +I want to build worthwhile things that might last. --joeyh + +--2xd5ww3wbatfbgqs +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAlhk1gkACgkQbC+mFux6 +IDGqUBAAut3+KGf1a5PW4gDfy20AMIYnbS96c/D61yQoZUrDA0lPwgZ9UqsmkTpQ +4HFo65gVTkkjPo1f9pQ/GVpmphcXpW2jtrLW7Ixem7fKg0zRt7nUGw86nG+/NZMA +fqKJsjBBGLJ+ZJ5iYtzEd09wgyXxMamM0t0WYx+OXFJjBHUIIhfFz9q73FrxSaYQ +/dz398vi7D5w9Tl8ZUxW5V8ii44BHQgdL1VikVn8ORYFukZ3UMwMjYJDeETi4ATe +Ets5zAjm4xwdLZxkrqdWQml66i8++aQNkRbEFtE0eNy4CS5Qv40ijJC7l352hgg6 +e8CJ6l5q+vRj7KE0Lqhg1mM7nzSmODUFjdpzLKqI+5n9ZsMQhHUp9sSfB+kSvv6I +Se/qu7nf+qh67sn3hPzoH9DpHznvh19nioWsoAqvpPH0MJ5I1Cs6lVwLmX9iWedA +lMBUMLlYXA2sPOtoRfOLg2wR3OtxdRVMWcIyQEFpb6V+OCEuSb5Gz5Xk9GyaFQ5Y +70kcAgo8SdFddwXVyHdz5lUrfO/a9ZCoTBu7F4JCHke548Iy9Z8gw7IjtVoJD7lN +oU4OntXz/8y5Y5Bew1iIZ7itL+nqdLN14HXsiYPlk4GEi/7NmmlfPF6tTWtl+2by +KlS16T7aDajQmgLTUteuTj/u18zcScuqEz7nTq6BTz8s8A4xFD8= +=O8PH +-----END PGP SIGNATURE----- + +--2xd5ww3wbatfbgqs-- + + +--===============0407934741661972598== +Content-Type: text/plain; charset="us-ascii" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Disposition: inline + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org + +--===============0407934741661972598==-- + -- cgit v1.2.1