Cannot import .dump file into database
closed
Danupong Buttongkum
{
"status": 500,
"data": {
"errors": [
{
"message": "Invalid value for positional parameter at index 0 (<database>): Invalid database name 'neo4j-p2p-data_v5'. (java.lang.IllegalArgumentException: Database name 'neo4j-p2p-data_v5' contains illegal characters. Use simple ascii characters, numbers, dots, question marks, asterisk and dashes.)\r\n\r\nLoad a database from an archive created with the dump command or from full Neo4j Enterprise backup.\r\n\r\nUSAGE\r\n\r\nneo4j-admin database load [-h] [--expand-commands] [--info] [--verbose] [--overwrite-destination[=true|false]]\r\n [--additional-config=<file>] [--from-path=<path> | --from-stdin] <database>\r\n\r\nDESCRIPTION\r\n\r\nLoad a database from an archive. <archive-path> must be a directory containing an archive(s). Archive can be a database\r\ndump created with the dump command, or can be a full backup artifact created by the backup command from Neo4j\r\nEnterprise. If neither --from-path or --from-stdin is supplied
server.directories.dumps.root
setting will be searched\r\nfor the archive. Existing databases can be replaced by specifying --overwrite-destination. It is not possible to\r\nreplace a database that is mounted in a running Neo4j server. If --info is specified, then the database is not loaded,\r\nbut information (i.e. file count, byte count, and format of load file) about the archive is printed instead.\r\n\r\nPARAMETERS\r\n\r\n <database> Name of the database to load. Can contain and ? for globbing. Note that
and ? have\r\n special meaning in some shells and might need to be escaped or used with quotes.\r\n\r\nOPTIONS\r\n\r\n --additional-config=<file>\r\n Configuration file with additional configuration.\r\n --expand-commands Allow command expansion in config value evaluation.\r\n --from-path=<path> Path to directory containing archive(s).\r\n It is possible to load databases from AWS S3 buckets, Google Cloud storage buckets, and\r\n Azure bucket using the appropriate URI as the path.\r\n --from-stdin Read archive from standard input.\r\n -h, --help Show this help message and exit.\r\n --info Print meta-data information about the archive file, instead of loading the contained\r\n database.\r\n --overwrite-destination[=true|false]\r\n If an existing database should be replaced.\r\n Default: false\r\n --verbose Enable verbose output.\r\n","path": [
"loadDb"
]
}
]
},
"sentryId": "29ed6a71b32d4a9db0d2bda50f6790bf"
}
Nissanka Fernando
closed
Nissanka Fernando
Hi Danupong, have you tried to renaming your dump file? From this error it looks like the name is invalid.