From 7d2a24779a8c18b3082efa2a3a3f17fa07be8525 Mon Sep 17 00:00:00 2001 From: Heiko Date: Wed, 25 Oct 2023 10:50:55 +0200 Subject: [PATCH 1/3] [BTS-1602] Add --ignore-collection flag to arangodump Details can be found here: https://github.com/arangodb/arangodb/pull/20021 --- site/content/3.12/components/tools/arangodump/examples.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/content/3.12/components/tools/arangodump/examples.md b/site/content/3.12/components/tools/arangodump/examples.md index 593d7bc457..d4337dad48 100644 --- a/site/content/3.12/components/tools/arangodump/examples.md +++ b/site/content/3.12/components/tools/arangodump/examples.md @@ -105,6 +105,13 @@ It can be specified multiple times if required: arangodump --collection myusers --collection myvalues --output-directory "dump" ``` +To exclude specific collections from the dump, use the `--filter-collection` option. +It can be specified multiple times if required: + +``` +arangodump --ignore-collection myusers --ignore-collection myvalues --output-directory "dump" +``` + Structural information for a collection is saved in files with name pattern `.structure.json`. Each structure file contains a JSON object with these attributes: From 89c6bb88fd55181e6d6cbcb270921dded9848244 Mon Sep 17 00:00:00 2001 From: hkernbach Date: Wed, 25 Oct 2023 10:59:12 +0200 Subject: [PATCH 2/3] added arangodump feature addition to release notes --- .../3.12/release-notes/version-3.12/whats-new-in-3-12.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md index 3e85579ec3..9adfa64c0e 100644 --- a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md @@ -10,6 +10,13 @@ The following list shows in detail which features have been added or improved in ArangoDB 3.12. ArangoDB 3.12 also contains several bug fixes that are not listed here. +## arangodump + +The backup tool [arangodump](../components/tools/arangodump/_index.md) now supports +a new flag called `--ignore-collection`. Collections can now be excluded from the dump +by using this flag. It can be specified multiple times to exclude multiple collections. + + ## ArangoSearch ### WAND optimization (Enterprise Edition) From f5e1f6e3328eac9d1f7b846cd2c4a98b2100a638 Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Mon, 6 Nov 2023 14:24:27 +0100 Subject: [PATCH 3/3] Review --- .../components/tools/arangodump/examples.md | 6 +++--- .../version-3.12/whats-new-in-3-12.md | 17 ++++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/site/content/3.12/components/tools/arangodump/examples.md b/site/content/3.12/components/tools/arangodump/examples.md index d4337dad48..86143731cb 100644 --- a/site/content/3.12/components/tools/arangodump/examples.md +++ b/site/content/3.12/components/tools/arangodump/examples.md @@ -99,14 +99,14 @@ arangodump --dump-data false --include-system-collections true --output-director ``` To restrict the dump to just specific collections, use the `--collection` option. -It can be specified multiple times if required: +You can specify it multiple times if required: ``` arangodump --collection myusers --collection myvalues --output-directory "dump" ``` -To exclude specific collections from the dump, use the `--filter-collection` option. -It can be specified multiple times if required: +To exclude specific collections from the dump, use the `--ignore-collection` +option instead: ``` arangodump --ignore-collection myusers --ignore-collection myvalues --output-directory "dump" diff --git a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md index 9adfa64c0e..051c94c92f 100644 --- a/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md @@ -10,13 +10,6 @@ The following list shows in detail which features have been added or improved in ArangoDB 3.12. ArangoDB 3.12 also contains several bug fixes that are not listed here. -## arangodump - -The backup tool [arangodump](../components/tools/arangodump/_index.md) now supports -a new flag called `--ignore-collection`. Collections can now be excluded from the dump -by using this flag. It can be specified multiple times to exclude multiple collections. - - ## ArangoSearch ### WAND optimization (Enterprise Edition) @@ -175,6 +168,16 @@ permanent connectivity issues: - `arangodb_network_connectivity_failures_dbservers_total`: Number of failed connectivity check requests sent to DB-Servers. +## Client tools + +### arangodump + +_arangodump_ now supports a `--ignore-collection` startup option that you can +specify multiple times to exclude the specified collections from a dump. + +It cannot be used together with the existing `--collection` option for specifying +collections to include. + ## Miscellaneous changes ### In-memory edge cache startup options and metrics