arangodb / arangodb

🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
https://www.arangodb.com
Other
13.57k stars 836 forks source link

`arangodump --all-databases true --overwrite true` doesn't work #14896

Open Avocher opened 3 years ago

Avocher commented 3 years ago

My Environment

Component, Query & Data

Affected feature:

arangodump

Steps to reproduce

  1. Run arangodump --all-databases true --overwrite true

Problem:

--overwrite true doesn't work. It only changes the error messages from

FATAL [bd7fe] {dump} output directory 'dump' already exists. use "--overwrite true" to overwrite data in it

to

ERROR [94201] {dump} path specified is a non-empty directory
ERROR [f7ff5] {dump} An error occurred: path specified is a non-empty directory

Expected result: --overwrite true should allow overwriting directories

cpjulia commented 3 years ago

Hello thank you for sharing this issue. This was addresed in 3.9, and will be addressed in 3.8 after this PR is merged: https://github.com/arangodb/arangodb/pull/15073