Reputation: 24783
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?
Upvotes: 4
Views: 679
Reputation: 68285
Try to use arangodump and arangorestore tools, for example:
arangodump --server.database myDatabase1 --output-directory "myDumpFolder"
arangorestore --server.database myDatabase2 --input-directory "myDumpFolder"
Upvotes: 5