Skip to content

Commit a6fe2f3

Browse files
hkernbachSimran-B
andauthored
[BTS-1602] Add --ignore-collection flag to arangodump (#318)
* [BTS-1602] Add --ignore-collection flag to arangodump Details can be found here: arangodb/arangodb#20021 * added arangodump feature addition to release notes * Review --------- Co-authored-by: Simran Spiller <[email protected]>
1 parent ffc2c4f commit a6fe2f3

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

site/content/3.12/components/tools/arangodump/examples.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,19 @@ arangodump --dump-data false --include-system-collections true --output-director
9999
```
100100

101101
To restrict the dump to just specific collections, use the `--collection` option.
102-
It can be specified multiple times if required:
102+
You can specify it multiple times if required:
103103

104104
```
105105
arangodump --collection myusers --collection myvalues --output-directory "dump"
106106
```
107107

108+
To exclude specific collections from the dump, use the `--ignore-collection`
109+
option instead:
110+
111+
```
112+
arangodump --ignore-collection myusers --ignore-collection myvalues --output-directory "dump"
113+
```
114+
108115
Structural information for a collection is saved in files with name pattern
109116
`<collection-name>.structure.json`. Each structure file contains a JSON object
110117
with these attributes:

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,16 @@ permanent connectivity issues:
168168
- `arangodb_network_connectivity_failures_dbservers_total`: Number of failed
169169
connectivity check requests sent to DB-Servers.
170170

171+
## Client tools
172+
173+
### arangodump
174+
175+
_arangodump_ now supports a `--ignore-collection` startup option that you can
176+
specify multiple times to exclude the specified collections from a dump.
177+
178+
It cannot be used together with the existing `--collection` option for specifying
179+
collections to include.
180+
171181
## Miscellaneous changes
172182

173183
### In-memory edge cache startup options and metrics

0 commit comments

Comments
 (0)