question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ark snapshot:restore fails

See original GitHub issue

When trying to restore a snapshot with the ARK cli, it consistently fails with the following:

β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1% | ETA: 567s | 52457/3896400 | Duration: 8serror: invalid input syntax for type bytea
    at Connection.parseE (~/.config/yarn/global/node_modules/pg/lib/connection.js:602:11)
    at Connection.parseMessage (~/.config/yarn/global/node_modules/pg/lib/connection.js:399:19)
    at Socket.<anonymous> (~/.config/yarn/global/node_modules/pg/lib/connection.js:121:22)

Step one, block import, seems to work OK. After that, when it tries to import the transactions table, the error shown above is thrown.

I have attempted restores with a combination of 3 different snapshots (from different sources) and 5 different VPS’.

Your Environment

  • Version used: 2.6.1
  • Environment name and version: nodejs 12.15.0
  • Server type and version: linux-x64
  • Operating System and version: Ubuntu 18.04

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
espresso-timecommented, Feb 12, 2020

@faustbrian post 2.6

0reactions
ghostcommented, Oct 16, 2020

This issue has been closed. If you wish to re-open it please provide additional information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

raft: Failed to restore snapshot #354 - openark/orchestrator
getting the below error on 2 of my 3 orhchestrator nodes after upgrading to 3.0.3: 2017/12/04 13:05:17 [ERR] raft: Failed to restore ......
Read more >
Failed to restore snapshot - how to solve related issues
The snapshot operation will fail if there is a missing index. Setting the ignore_unavailable option to true will cause indices that do not...
Read more >
Velero Docs - Overview
Ark gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes. Ark lets you: Take backups of your...
Read more >
VMware Revert from Snapshot Error "Trust Relations...
I took a snapshot of a VM in vmware and then after a week I tried to revert the snapshot and then logon...
Read more >
Database error after backup/restore - Conjur
This looks like it's gonna work, since I'm able to backup my initial Conjur environment, then run my unittest that creates/updates/deletes all sorts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found