Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 632F0200CF1 for ; Mon, 17 Jul 2017 20:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 61C2616475D; Mon, 17 Jul 2017 18:06:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6DBBD16479D for ; Mon, 17 Jul 2017 20:06:21 +0200 (CEST) Received: (qmail 17185 invoked by uid 500); 17 Jul 2017 18:06:19 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 14182 invoked by uid 99); 17 Jul 2017 18:06:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2017 18:06:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 112F4F5561; Mon, 17 Jul 2017 18:06:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: abaker@apache.org To: commits@geode.apache.org Date: Mon, 17 Jul 2017 18:06:36 -0000 Message-Id: <2e82692079db4beab45d8273d8125f6b@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [27/58] [abbrv] geode git commit: GEODE-2420: Warn a user if they try to export too much data, update gfsh command ref to match latest code changes archived-at: Mon, 17 Jul 2017 18:06:22 -0000 GEODE-2420: Warn a user if they try to export too much data, update gfsh command ref to match latest code changes Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/74328d26 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/74328d26 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/74328d26 Branch: refs/heads/master Commit: 74328d2682b77f6ded1077af992944e8a6d99430 Parents: 287bdd0 Author: Dave Barnes Authored: Fri Jun 9 15:38:28 2017 -0700 Committer: Dave Barnes Committed: Fri Jun 9 15:38:50 2017 -0700 ---------------------------------------------------------------------- .../gfsh/command-pages/export.html.md.erb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/74328d26/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb ---------------------------------------------------------------------- diff --git a/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb b/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb index f0c6d54..e9c79d3 100644 --- a/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb +++ b/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb @@ -186,23 +186,27 @@ export logs [--dir=value] [--group=value(,value)*] [--member=value(,value)*] | \\-\\-end-time | Log entries that occurred before this time will be exported. Format: yyyy/MM/dd/HH/mm/ss/SSS/z OR yyyy/MM/dd | no limit | | \\-\\-logs-only | Whether to export only logs (not statistics) | If parameter not specified: false. If parameter specified without a value: true | | \\-\\-stats-only | Whether to export only statistics (not logs) | If parameter not specified: false. If parameter specified without a value: true | -| \\-\\-file-size-limit | Limits size of the file that can be exported. Specify 0 (zero) for no limit. Value is in megabytes by default or [k,m,g,t] may be specified. | If parameter not specified: 100m. If parameter specified without a value: 0 | +| \\-\\-file-size-limit | Limits total unzipped size of the exported files. Specify 0 (zero) for no limit. Value is in megabytes by default or [k,m,g,t] may be specified. | If parameter not specified: 100m. If parameter specified without a value: 0 | Table 4. Export Logs Parameters -**Example Commands:** +**Example commands, showing output:** ``` pre -export logs --dir=data/logs +gfsh>export logs --dir=data/logs +Logs exported to the connected member's file system: /my-locator/data/logs/exportedLogs_1489513007261.zip ``` -**Sample Output:** - ``` pre -gfsh>export logs -Logs exported to the connected member's file system: /data/my-locator/exportedLogs_1489513007261.zip +gfsh>export logs --dir=data/logs --file-size-limit=1k +Estimated exported logs expanded file size = 95599, file-size-limit = 1024. +To disable exported logs file size check use option "--file-size-limit=0". + +gfsh>export logs --dir=data/logs --file-size-limit=99k +Logs exported to the connected member's file system: /my-locator/data/logs/exportedLogs_1489513007261.zip ``` + ## export offline-disk-store Export region data from an offline disk store into gemfire snapshot files.