Skip to content

Encountering primary key error while running rethinkdb restore for rethinkdb 2.4 version #281

@harsha448

Description

@harsha448

/usr/bin/rethinkdb restore backup.tar.gz -c "server_ip" --password-file ./password.txt --no-secondary-indexes --force
Extracting archive file...
Done (2 seconds)
Importing from directory...
Traceback (most recent call last):
File "/usr/local/bin/rethinkdb-restore", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/rethinkdb/_restore.py", line 339, in main
do_restore(options)
File "/usr/local/lib/python3.7/site-packages/rethinkdb/_restore.py", line 315, in do_restore
_import.import_tables(options, sources)
File "/usr/local/lib/python3.7/site-packages/rethinkdb/_import.py", line 1315, in import_tables
.pluck(["db", "name", "primary_key"]),
File "/usr/local/lib/python3.7/site-packages/rethinkdb/_import.py", line 1311, in
for x in options.retryQuery(
KeyError: 'primary_key'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy