8000 Allow addEdge() to take vertex ids in the JS library by moonglum · Pull Request #528 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Allow addEdge() to take vertex ids in the JS library #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2,481 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2481 commits
Select commit Hold shift + click to select a range
c3f6e44
more transparency, new api style
hkernbach Oct 8, 2013
8168520
more transparency, new api style
hkernbach Oct 8, 2013
797cbc4
dashboard label fix for detailedgraph
hkernbach Oct 8, 2013
4044863
css fixes for apps-view and docs-view
hkernbach Oct 8, 2013
132032c
foxxcss
hkernbach Oct 8, 2013
2eb9ff1
keep deletions in compaction
jsteemann Oct 9, 2013
4cac289
added assertion
jsteemann Oct 9, 2013
5d5624a
added config file for arangodump
jsteemann Oct 9, 2013
77bb297
fix filename
jsteemann Oct 9, 2013
980ccb6
removed superfluous parameter
jsteemann Oct 9, 2013
7cf6198
added collection id translation for dumps
jsteemann Oct 9, 2013
fff528b
fix temp file creation on Windows
jsteemann Oct 9, 2013
473bf9d
fix some VS warnings
jsteemann Oct 9, 2013
bd2d2c3
fix Windows file handling
jsteemann Oct 9, 2013
b509e79
refuse to start if no app path is set
jsteemann Oct 9, 2013
49b6f64
Windows fixes
jsteemann Oct 9, 2013
52f480f
updated config files
jsteemann Oct 9, 2013
f8cba10
8000 config file handling
jsteemann Oct 9, 2013
937415f
updated Windows batch files
jsteemann Oct 9, 2013
baef8f2
updated batch files
jsteemann Oct 9, 2013
d950d4f
notes on Windows and upgrading
jsteemann Oct 9, 2013
9e88528
fixed typo
jsteemann Oct 9, 2013
47808ee
worked around arguments.callee
jsteemann Oct 10, 2013
1536caa
use batches in arangodump
jsteemann Oct 10, 2013
55ab125
better not use ofstream
jsteemann Oct 10, 2013
1427daf
resolve collection names on reimport
jsteemann Oct 10, 2013
9b3705a
updated arangorestore
jsteemann Oct 10, 2013
59afd52
updated Visual Studio projects
jsteemann Oct 10, 2013
cec068e
fixed alignment in compaction
jsteemann Oct 10, 2013
2cd22a9
fixed test
jsteemann Oct 10, 2013
83c8e8f
added docs
jsteemann Oct 11, 2013
cdd8109
dashboard new main-page
hkernbach Oct 11, 2013
78edf64
api button styling
hkernbach Oct 11, 2013
4b90201
removed tooltips for small charts
hkernbach Oct 11, 2013
6af82aa
green glow for searchInput + width
hkernbach Oct 11, 2013
123870a
updated sln
jsteemann Oct 11, 2013
017e6eb
delay for tooltips, updated nav-routes
hkernbach Oct 11, 2013
13a3b8c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 11, 2013
dcfe787
updated batch files
jsteemann Oct 11, 2013
76db5f4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 11, 2013
98b7682
notes on Windows
jsteemann Oct 11, 2013
9d7269a
updated navigate route
hkernbach Oct 11, 2013
af92d5f
updated CHANGELOG
jsteemann Oct 11, 2013
2268e4f
fixed header in aql modals
hkernbach Oct 11, 2013
6d73174
updated docs
jsteemann Oct 11, 2013
15777f1
OpenSans font, css changes
hkernbach Oct 11, 2013
b1bfe88
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 11, 2013
a7a5be5
collections settings menu no autoclose added
hkernbach Oct 11, 2013
89da26e
removed old background, changed some css
hkernbach Oct 11, 2013
e8c4aee
css
hkernbach Oct 11, 2013
0bac75c
css
hkernbach Oct 11, 2013
956bd53
updated manuals
jsteemann Oct 11, 2013
e3b0225
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 11, 2013
0048f92
fixed PDF generation
jsteemann Oct 11, 2013
c43dc9e
removed aboutView-links
hkernbach Oct 11, 2013
77036ff
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 11, 2013
1875f43
added dump & reload to new features
jsteemann Oct 11, 2013
2563664
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 11, 2013
91a267f
visual status for replication state
hkernbach Oct 11, 2013
1ef062c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 11, 2013
3ff9f60
radio buttons styling
hkernbach Oct 11, 2013
1add879
changed new styling for foxx-docu view
hkernbach Oct 11, 2013
091406b
added armv7
fceller Oct 12, 2013
184daa7
removed generated file
fceller Oct 13, 2013
2a78917
added modifications for raspberry
fceller Oct 13, 2013
d08ce37
added armv7
fceller Oct 12, 2013
27f23d9
removed generated file
fceller Oct 13, 2013
abce53e
added modifications for raspberry
fceller Oct 13, 2013
0679a35
do not install dot files
fceller Oct 13, 2013
722d7e0
added database selection to arango-dfdb
jsteemann Oct 14, 2013
e2e1f6e
report status at end
jsteemann Oct 14, 2013
bcc530d
remove database-specific directories underneath app-path and dev-app-…
jsteemann Oct 14, 2013
25a0868
replication applier will now preferrably use collection names instead…
jsteemann Oct 14, 2013
e0c4e84
make console a default object
jsteemann Oct 14, 2013
b32e510
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
fceller Oct 14, 2013
deab253
regenerated swagger
fceller Oct 14, 2013
2581910
regenerated swagger
fceller Oct 14, 2013
b06170f
release version 1.4.0-beta2
fceller Oct 14, 2013
8bffba5
updated compilation manual
jsteemann Oct 14, 2013
cb6004a
updated comment
jsteemann Oct 14, 2013
22bc1aa
fixed typo
jsteemann Oct 14, 2013
8c364e8
removed unused script
jsteemann Oct 15, 2013
d044276
adjusted message
jsteemann Oct 15, 2013
1c7ef2d
fixed #607: console was redefined
jsteemann Oct 15, 2013
aad0cb7
issue #608: added documentation on arangosh configuration
jsteemann Oct 15, 2013
f56a8a9
added tests for dump/restore
jsteemann Oct 15, 2013
b590e12
issue #612: extended documentation
jsteemann Oct 15, 2013
6a991e3
issue #612
jsteemann Oct 15, 2013
2e70f58
fixed "error with AQL in user function"
jsteemann Oct 16, 2013
3834ed3
issue #611: a bit more preselection in the graph viewer
jsteemann Oct 16, 2013
316f181
issue #611: more preselection
jsteemann Oct 16, 2013
e1d516f
issue #603
jsteemann Oct 16, 2013
0ebe111
hide div in footer
jsteemann Oct 16, 2013
d278880
Minor JSLint fixes in GraphViewer
mchacki Oct 16, 2013
bba3a33
GraphViewer Solved mergeconflict in arangoAdapter
mchacki Oct 16, 2013
e60ff3a
issue #611: Implemented rerendering after collection switch.
mchacki Oct 16, 2013
d47a1f8
GraphViewer: Fixed some broken tests due to changes in the arangoAdapter
mchacki Oct 16, 2013
01d97f4
Issue: 609 - Modified background colour to suggested value from @lueb…
mchacki Oct 16, 2013
2ecc3bd
moved path checks from --upgrade to server start and database creation
jsteemann Oct 16, 2013
18a3afe
create less collections for a new databases
jsteemann Oct 16, 2013
70dbbd0
removed unused file
jsteemann Oct 16, 2013
fd79f64
updated CHANGELOG
jsteemann Oct 16, 2013
b4e241e 8000
directory creation on startup
jsteemann Oct 16, 2013
20b21b2
updated manual
jsteemann Oct 16, 2013
7e0c9a1
fixed some VS complaints
jsteemann Oct 16, 2013
9b5cb90
closed issue #614
jsteemann Oct 17, 2013
12d3b82
removed resourceholder
jsteemann Oct 17, 2013
b88afda
fixed issue #615
jsteemann Oct 17, 2013
0c39ecf
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 17, 2013
bedd1d1
issue #617: Swagger API is missing '/_api/version'
jsteemann Oct 17, 2013
c97e6ac
updated documentation for console, added section about Foxx development
jsteemann Oct 17, 2013
7062d43
1.4.0-beta2
fceller Oct 17, 2013
453b566
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 17, 2013
1eb5451
fixed merge problem
fceller Oct 17, 2013
b52e650
added `replace` command for foxx-manager, updated docs
jsteemann Oct 17, 2013
3d8b9bf
added foxx-manager `installed` command
jsteemann Oct 17, 2013
700455b
open databases in deterministic order
jsteemann Oct 18, 2013
0bfcac5
faster server shutdown
jsteemann Oct 18, 2013
70a0497
updated CHANGELOG
jsteemann Oct 18, 2013
a23a320
removed multiline shell editor
hkernbach Oct 18, 2013
3985f6a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 18, 2013
896b11d
shell css
hkernbach Oct 18, 2013
12b5878
fixed typo in ifdef
fceller Oct 18, 2013
e3b0e3d
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 18, 2013
2588178
renamed titles and changed them to "h1" so that they appear in the ta…
luebbert42 Oct 18, 2013
9c837ad
Merge pull request #618 from luebbert42/devel
moonglum Oct 18, 2013
b2e0333
added zlib version
fceller Oct 18, 2013
89f0ba0
added first attempt for cmake
fceller Oct 18, 2013
fa9562b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 18, 2013
c3ba580
design
hkernbach Oct 18, 2013
585acfd
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
hkernbach Oct 18, 2013
3c03fb6
design
hkernbach Oct 18, 2013
7450a2d
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 20, 2013
fbaddd5
more tests with cmake
fceller Oct 20, 2013
055096c
more cmake
fceller Oct 20, 2013
17789f3
added mruby
fceller Oct 20, 2013
601e3f8
added arangod
fceller Oct 20, 2013
0acc644
mruby and output
fceller Oct 20, 2013
3965a55
potential fix for issue #622
jsteemann Oct 20, 2013
d2dabe5
moved TRI_ENABLE_MRUBY to command line
fceller Oct 20, 2013
442cad3
added tests
fceller Oct 20, 2013
93d9c6b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 20, 2013
07b5deb
fix typo in help text
jsteemann Oct 20, 2013
49ca923
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 20, 2013
e9b5462
fetch time outside of lock
jsteemann Oct 20, 2013
cdcc3dc
prep for 1.4 release
hkernbach Oct 20, 2013
60bf435
dashboard changed
hkernbach Oct 20, 2013
e97d9a3
added Jan's answer in the google group on how collections work in Fox…
luebbert42 Oct 21, 2013
bfe6c6e
FOXX -> Foxx
luebbert42 Oct 21, 2013
2efd0cc
commit for 1.4 final
hkernbach Oct 25, 2013
f99eedb
small design update
hkernbach Oct 25, 2013
4e0da17
dashboard bugfix
hkernbach Oct 25, 2013
6f81b29
changelog addition
hkernbach Oct 25, 2013
5b3cb32
css
hkernbach Oct 25, 2013
996000e
improved error messages for invalid new indexes
hkernbach Oct 25, 2013
d130713
single update interval for graphs and replication
hkernbach Oct 25, 2013
00748e3
removed console logs
hkernbach Oct 25, 2013
f7bf8f4
GraphViewer: Nodes will now user pointer and edges will now be thicke…
mchacki Oct 25, 2013
2764aba
Merge
mchacki Oct 25, 2013
f66434f
cmake
fceller Oct 26, 2013
6ae6ea4
moved to icu 52.1 for Mavericks
fceller Oct 26, 2013
d2fbe54
cosmetics
fceller Oct 26, 2013
ec495d0
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
fceller Oct 26, 2013
0a53768
added missing file
fceller Oct 26, 2013
32cc2ec
fixed var
fceller Oct 26, 2013
37e146b
added variables
fceller Oct 27, 2013
4c7405a
cosmetics
fceller Oct 27, 2013
53fbf9a
added variables
fceller Oct 27, 2013
3c65eae
added variables
fceller Oct 27, 2013
fa48b42
added variables
fceller Oct 27, 2013
d93a2be
added startup script
fceller Oct 27, 2013
bd0a027
use icu & v8 from 3rdParty
fceller Oct 27, 2013
fcbe746
added ARANGODB_ROOT
fceller Oct 27, 2013
d8dc0c0
fixed paths, added docs
fceller Oct 27, 2013
f5230ef
fixed paths (again)
fceller Oct 27, 2013
745eb9d
one that got away.... :D
frankmayer Oct 27, 2013
f9f1eaa
Merge pull request #644 from frankmayer/devel
fceller Oct 28, 2013
fb96642
issue #639: compiling v1.4 on maverick produces warnings on -Wstrict-…
jsteemann Oct 28, 2013
99906f3
manually merged PR from @frankmayer
jsteemann Oct 28, 2013
1c35baf
manually merged issue #643 by @frankmayer
jsteemann Oct 28, 2013
00b3f97
fixed jslint warnings
jsteemann Oct 28, 2013
a5191db
GraphViewer: Implemented Random Vertex on collection switch (#611)
mchacki Oct 28, 2013
dcff372
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
mchacki Oct 28, 2013
c02f006
some fixes for issue #642
jsteemann Oct 28, 2013
cb74f66
fixed memleak
jsteemann Oct 28, 2013
921f3f2
removed beta remark
fceller Oct 28, 2013
7f04a7e
issue #621: Standard Config needs to be fixed
jsteemann Oct 28, 2013
a60f7c2
fixed freeing of key
jsteemann Oct 28, 2013
a768d6a
rc1
fceller Oct 28, 2013
21aea16
issue #620
jsteemann Oct 28, 2013
00e5ff1
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
jsteemann Oct 28, 2013
5d1e2bd
merging failed... angst
jsteemann Oct 28, 2013
8d01f63
remove unused method
jsteemann Oct 28, 2013
7672f5c
issue #647: fixed tooltips
jsteemann Oct 28, 2013
055d7b3
issue #646: index creation in web interface
jsteemann Oct 28, 2013
c15f420
updated CHANGELOG
jsteemann Oct 28, 2013
f9cb543
indenting
jsteemann Oct 29, 2013
7c287a6
issue #634: Web interface bug: Escape does not always propagate
jsteemann Oct 29, 2013
8f42303
issue #645: Allow jumping from edge to linked vertices
jsteemann Oct 29, 2013
6070fd7
issue #621: always print fatal error at the end
jsteemann Oct 29, 2013
12ca4c6
issue #648: /batch API is missing from Web Interface API Docummentati…
jsteemann Oct 29, 2013
3a10ad8
release version 1.4.0-rc1
fceller Oct 29, 2013
3bc6120
lol self
jsteemann Oct 29, 2013
2b6b5a6
fixed syntax error on Win
jsteemann Oct 29, 2013
7b955fc
Windows warnings
jsteemann Oct 29, 2013
a883c80
fixed a warning in Windows
jsteemann Oct 29, 2013
0b00f2c
tooltips
jsteemann Oct 29, 2013
04176c6
added DOCUMENT_HANDLE function
jsteemann Oct 29, 2013
921e44f
fixed small memleak
jsteemann Oct 29, 2013
67bd7a6
Merge remote-tracking branch 'origin/devel' into 1.4
fceller Oct 29, 2013
4100a53
release version 1.4.0
fceller Oct 29, 2013
9670f4a
fixed sed on Mac
fceller Oct 29, 2013
51f97a2
fixed build number
fceller Oct 29, 2013
0270a4f
1.5.devel
fceller Oct 29, 2013
d9280ce
fixed version
fceller Oct 29, 2013
d5f3f89
added 1.4
fceller Oct 29, 2013
cf74bb7
new version 1.5
fceller Oct 29, 2013
e59709a
updated documentation
jsteemann Oct 29, 2013
4c562a7
updated documentation
jsteemann Oct 29, 2013
2db69e2
issue #642
jsteemann Oct 29, 2013
b862775
fixed thread shutdown (double detach)
jsteemann Oct 29, 2013
533a1f4
added collection status "loading"
jsteemann Oct 29, 2013
f074b62
removed second logger implementation
jsteemann Oct 29, 2013
ee405b1
updated CHANGELOG
jsteemann Oct 29, 2013
cf2cc5c
simplify logging
jsteemann Oct 30, 2013
9c52c73
removed some old example files
jsteemann Oct 30, 2013
976ee76
removed --log.format command line option
jsteemann Oct 30, 2013
1f3f4ea
issue #424: Documentation about IDs needs to be upgraded
jsteemann Oct 30, 2013
2842eb9
updated docs
jsteemann Oct 30, 2013
226679f
removed eol option
jsteemann Oct 30, 2013
8000
f86f837
added pretty print option
jsteemann Oct 30, 2013
8cb3434
added help text
jsteemann Oct 30, 2013
e7cdb16
print error details
jsteemann Oct 30, 2013
c95da02
show error details in arangoimp
jsteemann Oct 30, 2013
80f9437
issue #642: renamed macro from TRI_WARN_UNUSED to TRI_WARN_UNUSED_RESULT
jsteemann Oct 30, 2013
ee11fde
improve error message
jsteemann Oct 30, 2013
28d27a4
made AQL DOCUMENT function polymorphic
jsteemann Oct 30, 2013
63a2be9
issue #597: added more documentation
jsteemann Oct 30, 2013
3c1fdbb
allow dynamic parameters in DOCUMENT()
jsteemann Oct 30, 2013
f1f2070
fixed --javascript.check option for arangosh
jsteemann Oct 30, 2013
2dc61d8
more help
jsteemann Oct 30, 2013
267ba59
Paragraph on Foxx added
luebbert42 Oct 30, 2013
a1ca973
Merge pull request #649 from luebbert42/devel
jsteemann Oct 30, 2013
6d050b6
issue #650: Randonmess of any() should be improved
jsteemann Oct 31, 2013
715f795
windows fixes
jsteemann Oct 31, 2013
80d193e
updated Windows msi
jsteemann Oct 31, 2013
49350d9
Whitespace.
Oct 31, 2013
e7e47ce
Graph Module / Client: It has to send the ID, not the key
Oct 31, 2013
d9a14a8
Code Style
Oct 31, 2013
1c2b379
Graph Refactoring: Determination of ID pushed to Common
Oct 31, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated manuals
  • Loading branch information
jsteemann committed Oct 11, 2013
commit 956bd530b79514a1baa60ff672dd5e00849ded82
7 changes: 0 additions & 7 deletions Documentation/ImporterManual/BasicsTOC.md

This file was deleted.

7 changes: 0 additions & 7 deletions Documentation/ImporterManual/ImporterManual.md

This file was deleted.

11 changes: 7 additions & 4 deletions Documentation/Makefile.files
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ WIKI = \
DbaManualBasics \
DbaManualDatafileDebugger \
DbaManualEmergencyConsole \
DumpManual \
ExtendingAql \
FirstStepsArangoDB \
Glossary \
Expand Down Expand Up @@ -55,7 +56,6 @@ WIKI = \
HttpTraversals \
HttpUser \
ImpManual \
ImpManualBasics \
ImplementorManual \
ImplementorManualArangoErrors \
IndexBitArray \
Expand All @@ -81,7 +81,9 @@ WIKI = \
RefManualReplication \
RestDocument \
RestEdge \
RestoreManual \
SimpleQueries \
ToolsManual \
Transactions \
Upgrading \
UpgradingGeneral \
Expand All @@ -108,6 +110,7 @@ DOXYGEN_TOC = \
Documentation/InstallationManual/InstallationManual.md \
Documentation/Manual/Home.md \
Documentation/RefManual/RefManual.md \
Documentation/ToolsManual/ToolsManual.md \
Documentation/UserManual/UserManual.md \
Documentation/Manual/Upgrading.md

Expand Down Expand Up @@ -289,8 +292,8 @@ latex: Doxygen/.setup-directories Doxygen/arango-latex.doxy $(DOXYGEN)
python @top_srcdir@/Documentation/Scripts/tex2tex.py Doxygen/latex/DbaManual.tex > Doxygen/latex/DbaManual.inc.tex
cd Doxygen/latex && pdflatex -interaction batchmode dba-manual.tex || true

python @top_srcdir@/Documentation/Scripts/tex2tex.py Doxygen/latex/ImpManual.tex > Doxygen/latex/ImpManual.inc.tex
cd Doxygen/latex && pdflatex -interaction batchmode imp-manual.tex || true
python @top_srcdir@/Documentation/Scripts/tex2tex.py Doxygen/latex/ToolsManual.tex > Doxygen/latex/ToolsManual.inc.tex
cd Doxygen/latex && pdflatex -interaction batchmode tools-manual.tex || true

################################################################################
### @brief man pages
Expand Down Expand Up @@ -391,7 +394,7 @@ publish-pdf: $(OUTPUT_FOLDER)
cp Doxygen/latex/install-manual.pdf $(OUTPUT_FOLDER)
cp Doxygen/latex/user-manual.pdf $(OUTPUT_FOLDER)
cp Doxygen/latex/ref-manual.pdf $(OUTPUT_FOLDER)
cp Doxygen/latex/imp-manual.pdf $(OUTPUT_FOLDER)
cp Doxygen/latex/tools-manual.pdf $(OUTPUT_FOLDER)
cp Documentation/Manual/shell_reference_card.pdf $(OUTPUT_FOLDER)

## -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Manual/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ArangoDB's User Manuals {#ArangoDBUserManual}

- @BOOK_REF{DbaManual} @S_EXTREF{dba-manual.pdf,pdf}

- @BOOK_REF{ImpManual} @S_EXTREF{imp-manual.pdf,pdf}
- @BOOK_REF{ToolsManual} @S_EXTREF{tools-manual.pdf,pdf}

- also see the @ref Glossary

Expand Down
70 changes: 70 additions & 0 deletions Documentation/ToolsManual/DumpManual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Dumping Data from an ArangoDB database {#DumpManual}
====================================================

@NAVIGATE_DumpManual
@EMBEDTOC{DumpManualTOC}

To dump data from an ArangoDB server instance, you will need to invoke _arangodump_.
It can be invoked by executing the following command:

unix> arangodump --output-directory "dump"

This will connect to an ArangoDB server and dump all non-system collections from
the default database (`_system`) into an output directory named `dump`.
Invoking _arangodump_ will fail if the output directory already exists. This is
an intentional security measure to prevent you from accidently overwriting already
dumped data. If you are positive that you want to overwrite data in the output
directory, you can use the parameter `--overwrite true` to confirm this:

unix> arangodump --output-directory "dump" --overwrite true

_arangodump_ will by default connect to the `_system` database using the default
endpoint. If you want to connect to a different database or a different endpoint,
or use authentication, you can use the following command-line options:

- `--server.database <string>`: name of the database to connect to
- `--server.endpoint <string>`: endpoint to connect to
- `--server.username <string>`: username
- `--server.password <string>`: password to use (omit this and you'll be prompted for the
password)
- `--server.disable-authentication <bool>`: whether or not to use authentication

Here's an example of dumping data from a non-standard endpoint, using a dedicated
database name:

unix> arangodump --server.endpoint tcp://192.168.173.13:8531 --server.username backup --server.database mydb --output-directory "dump"

When finished, _arangodump_ will print out a summary line with some aggregate
statistics about what it did, e.g.:

Processed 43 collection(s), wrote 408173500 byte(s) into datafiles, sent 88 batch(es)

By default, _arangodump_ will dump both structural information and documents from all
non-system collections. To adjust this, there are the following command-line
arguments:

- `--dump-data <bool>`: set to `true` to include documents in the dump. Set to `false`
to exclude documents. The default value is `true`.
- `--include-system-collections <bool>`: whether or not to include system collections
in the dump. The default value is `false`.

For example, to only dump structural information of all collections (including system
collections), use:

unix> arangodump --dump-data false --include-system-collections true --output-directory "dump"

To restrict the dump to just specific collections, there is is the `--collection` option.
It can be specified multiple times if required:

unix> arangodump --collection myusers --collection myvalues --output-directory "dump"

Structural information for a collection will be saved in files with name pattern
`<collection-name>.structure.json`. Each structure file will contains a JSON object
with these attributes:
- `parameters`: contains the collection properties
- `indexes`: contains the collection indexes

Document data for a collection will be saved in files with name pattern
`<collection-name>.data.json`. Each line in a data file is a document insertion/update or
deletion marker, alongside with some meta data.

4 changes: 4 additions & 0 deletions Documentation/ToolsManual/DumpManualTOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TOC {#DumpManualTOC}
====================

- @ref DumpManual
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
ArangoDB Importer {#ImpManualBasics}
====================================
Importing Data into an ArangoDB Database {#ImpManual}
=====================================================

@NAVIGATE_ImpManual

@EMBEDTOC{ImpManualBasicsTOC}
@EMBEDTOC{ImpManualTOC}

This manual describes the ArangoDB importer _arangoimp_, which can be used for
bulk imports.
Expand All @@ -21,8 +20,8 @@ valid references.
Let's assume for the following examples you want to import user records into an
existing collection named "users" on the server.

Importing JSON-encoded Data {#ImpManualBasicsJson}
==================================================
Importing JSON-encoded Data {#ImpManualJson}
============================================

Let's further assume the import at hand is encoded in JSON. We'll be using these
example user records to import:
Expand Down Expand Up @@ -66,8 +65,8 @@ Please note that by default, _arangoimp_ will import data into the specified
collection in the default database (`_system`). To specify a different database,
use the `--server.database` option when invoking _arangoimp_.

Importing CSV Data {#ImpManualBasicsCsv}
========================================
Importing CSV Data {#ImpManualCsv}
==================================

_arangoimp_ also offers the possibility to import data from CSV files. This
comes handy when the data at hand is in CSV format already and you don't want to
Expand Down Expand Up @@ -98,8 +97,8 @@ Note that the quote and separator characters can be adjusted via the
`--quote` and `--separator` arguments when invoking _arangoimp_. The importer
supports Windows (CRLF) and Unix (LF) line breaks.

Importing TSV Data {#ImpManualBasicsTsv}
========================================
Importing TSV Data {#ImpManualTsv}
==================================

You may also import tab-separated values (TSV) from a file. This format is very
simple: every line in the file represents a data record. There is no quoting or
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ToolsManual/ImpManualTOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOC {#ImpManualTOC}
===================

- @ref ImpManual
- @ref ImpManualJson
- @ref ImpManualCsv
- @ref ImpManualTsv
130 changes: 130 additions & 0 deletions Documentation/ToolsManual/RestoreManual.md
10000
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
Reloading Data into an ArangoDB database {#RestoreManual}
=========================================================

@NAVIGATE_RestoreManual
@EMBEDTOC{RestoreManualTOC}

To reload data from a dump previously created with @ref DumpManual "arangodump",
ArangoDB provides the _arangorestore_ tool.

Invoking arangorestore {#RestoreManualInvoking}
===============================================

_arangorestore_ can be invoked from the command-line as follows:

unix> arangorestore --input-directory "dump"

This will connect to an ArangoDB server and reload structural information and
documents found in the input directory `dump`. Please note that the input directory
must have been created by running `arangodump` before.

_arangorestore_ will by default connect to the `_system` database using the default
endpoint. If you want to connect to a different database or a different endpoint,
or use authentication, you can use the following command-line options:

- `--server.database <string>`: name of the database to connect to
- `--server.endpoint <string>`: endpoint to connect to
- `--server.username <string>`: username
- `--server.password <string>`: password to use (omit this and you'll be prompted for the
password)
- `--server.disable-authentication <bool>`: whether or not to use authentication

Here's an example of reloading data to a non-standard endpoint, using a dedicated
database name:

unix> arangorestore --server.endpoint tcp://192.168.173.13:8531 --server.username backup --server.database mydb --input-directory "dump"

_arangorestore_ will print out its progress while running, and will end with a line
showing some aggregate statistics:

Processed 2 collection(s), read 2256 byte(s) from datafiles, sent 2 batch(es)


By default, _arangorestore_ will re-create all non-system collections found in the input
directory and load data into them. If the target database already contains collections
which are also present in the input directory, the existing collections in the database
will be dropped and re-created with the data found in the input directory.

The following parameters are available to adjust this behavior:

- `--create-collection <bool>`: set to `true` to create collections in the target
database. If the target database already contains a collection with the same name,
it will be dropped first and then re-created with the properties found in the input
directory. Set to `false` to keep existing collections in the target database. If
set to `false` and _arangorestore_ encounters a collection that is present in both
the target database and the input directory, it will abort. The default value is `true`.
- `--import-data <bool>`: set to `true` to load document data into the collections in
the target database. Set to `false` to not load any document data. The default value
is `true`.
- `--include-system-collections <bool>`: whether or not to include system collections
when re-creating collections or reloading data. The default value is `false`.

For example, to (re-)create all non-system collections and load document data into them, use:

unix> arangorestore --create-collection true --import-data true --input-directory "dump"

This will drop potentially existing collections in the target database that are also present
in the input directory.

To include system collections too, use `--include-system-collections true`:

unix> arangorestore --create-collection true --import-data true --include-system-collections true --input-directory "dump"

To (re-)create all non-system collections without loading document data, use:

unix> arangorestore --create-collection true --import-data false --input-directory "dump"

This will also drop existing collections in the target database that are also present in the
input directory.

To just load document data into all non-system collections, use:

unix> arangorestore --create-collection false --import-data true --input-directory "dump"

To restrict reloading to just specific collections, there is is the `--collection` option.
It can be specified multiple times if required:

unix> arangorestore --collection myusers --collection myvalues --input-directory "dump"

Collections will be processed by in alphabetical order by _arangorestore_, with all document
collections being processed before all edge collections. This is to ensure that reloading
data into edge collections will have the document collections linked in edges (`_from` and
`_to` attributes) loaded.

Restoring Revision Ids and Collection Ids {#RestoreManualIds}
=============================================================

_arangorestore_ will reload document and edges data with the exact same `_key`, `_from` and
`_to` values found in the input directory. However, when loading document data, it will assign
its own values for the `_rev` attribute of the reloaded documents. Though this difference is
intentional (normally, every server should create its own `_rev` values) there might be
situations when it is required to re-use the exact same `_rev` values for the reloaded data.
This can be achieved by setting the `--recycle-ids` parameter to `true`:

unix> arangorestore --collection myusers --collection myvalues --recycle-ids true --input-directory "dump"

Note that setting `--recycle-ids` to `true` will also cause collections to be (re-)created in
the target database with the exact same collection id as in the input directory. Any potentially
existing collection in the target database with the same collection id will then be dropped.

Setting `--recycle-ids` to `false` or omitting it will only use the collection name from the
input directory and allow the target database to create the collection with a different id
(though with the same name) than in the input directory.

Reloading Data into a different Collection {#RestoreManualDifferent}
====================================================================

With some creativity you can use _arangodump_ and _arangorestore_ to transfer data from one
collection into another (either on the same server or not). For example, to copy data from
a collection `myvalues` in database `mydb` into a collection `mycopyvalues` in database `mycopy`,
you can start with the following command:

unix> arangodump --collection myvalues --server.database mydb --output-directory "dump"

This will create two files, `myvalues.structure.json` and `myvalues.data.json`, in the output
directory. To load data from the datafile into an existing collection `mycopyvalues` in database
`mycopy`, rename the files to `mycopyvalues.structure.json` and `mycopyvalues.data.json`.
After that, run the following command:

unix> arangorestore --collection mycopyvalues --server.database mycopy --input-directory "dump"

7 changes: 7 additions & 0 deletions Documentation/ToolsManual/RestoreManualTOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TOC {#RestoreManualTOC}
=======================

- @ref RestoreManual
- @ref RestoreManualInvoking
- @ref RestoreManualIds
- @ref RestoreManualDifferent
35 changes: 35 additions & 0 deletions Documentation/ToolsManual/ToolsManual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
ArangoDB Client Tools (@VERSION) {#ToolsManual}
===============================================

@NAVIGATE_ToolsManual

This manual describes the client tools shipped with ArangoDB.

_arangosh_ is an interactive, JavaScript-enabled shell that can be used to administer
an ArangoDB server and run ad-hoc queries:

@CHAPTER_REF{UserManualArangosh}

_arangoimp_ is a tool to bulk insert data from JSON, CSV or tab-separated files (TSV)
files into an ArangoDB database:

@CHAPTER_REF{ImpManual}

ArangoDB since version 1.4 comes with two additional tools to support dumping data
from an ArangoDB database and reloading them.

_arangodump_ is a tool to create logical backups of one or many collections of an
ArangoDB database:

@CHAPTER_REF{DumpManual}

_arangorestore_ is a tool to reload data dumped with _arangodump_ into an
ArangoDB database. Data can be loaded into the same or a different database:

@CHAPTER_REF{RestoreManual}

Both _arangodump_ and _arangorestore_ are client tools that need to connect to a
running ArangoDB server instance. _arangodump_ will write all its output into a
directory that needs to be specified when invoking it. _arangorestore_ will read
files from a directory that was formerly created by invoking _arangodump_.

Loading
0