![]() ![]() arangodump - collection myusers - collection myvalues - 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: arangodump - dump - data false - include - system - collections true - output - directory "dump".Set to true if you are using namedgraphs that you are interested in restoring.For example, to only dump structural information of all collections (including systemcollections), use: -include-system-collections : whether or not to include system collectionsin the dump.-dump-data : set to true to include documents in the dump.To adjust this, there are the following command-linearguments: Processed 43 collection ( s ), wrote 408173500 byte ( s ) into datafiles, sent 88 batch ( es )īy default, arangodump will dump both structural information and documents from allnon-system collections.When finished, arangodump will print out a summary line with some aggregatestatistics about what it did, e.g.: endpoint tcp : //192.168.173.13:8531 ername backup -server.database mydb -output-directory "dump" -thentication : whether or not to use authenticationHere’s an example of dumping data from a non-standard endpoint, using a dedicated database name:.-server.password : password to use (omit this and you’ll be prompted for thepassword).-server.endpoint : endpoint to connect to.-server.database : name of the database to connect to.If you want to connect to a different database or a different endpoint,or use authentication, you can use the following command-line options: arangodump - output - directory "dump" - overwrite trueĪrangodump will by default connect to the _system database using the defaultendpoint. ![]() If you are positive that you want to overwrite data in the outputdirectory, you can use the parameter -overwrite true to confirm this: This isan intentional security measure to prevent you from accidentally overwriting alreadydumped data. ![]() This will connect to an ArangoDB server and dump all non-system collections fromthe default database ( _system) into an output directory named dump.Invoking arangodump will fail if the output directory already exists.
0 Comments
Leave a Reply. |