![]() If no value is provided for -server.database it will default to _system, meaning the subsequent invocations of arangorestore will each overwrite the previous data in the _system database. This can be achieved by providing the -server.database option in the same way as it can be done for arangodump. What am I doing wrong? How can I make the full backup and restore?Īrangorestore needs to be told to which database to restore the data to. The result if very far my expectations, I just get the collections in _system database for the root user (no other users, no databases). Then I move the created folders to the empty arangodb server on this server go with: arangorestore -input-directory "/tmp/dump/_system/"Īrangorestore -input-directory "/tmp/dump/collection/"Īrangorestore -input-directory "/tmp/dump/collection2/" ![]() On origin I make a dump of every database: USER=rootįor db in $(arangosh ername "$USER" -server.password "$PASSWORD" -javascript.execute-string "db._databases().forEach(function(db) ) ")Īrangodump -output-directory /tmp/dump/"$db" -overwrite true ername "$USER" -server.password "$PASSWORD" -include-system-collections -server.database "$db" I am using the one-node configuration, arangodb version is 3.4.4. ![]() My aim is to create the arango database dump (with all the users and passwords, permissions, databases, collections, roles and so on) and then make a full restore of this data on the other arango server (that was installed from scratch and empty).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |