4

If I need to duplicate the contents of a database "foo" into a second database "bar" with MySQL, I would usually do something like this:

mysqldump -u root foo > foo.sql
mysql -u root -e "CREATE DATABASE bar;"
mysql -u root bar < foo.sql

What would be the equivalent procedure with ArangoDB?

mikewilliamson
  • 24,303
  • 17
  • 59
  • 90

1 Answers1

5

Try to use arangodump and arangorestore tools, for example:

arangodump --server.database myDatabase1 --output-directory "myDumpFolder"
arangorestore --server.database myDatabase2 --input-directory "myDumpFolder"
yojimbo87
  • 65,684
  • 25
  • 123
  • 131