Just changed harddrive, and thought I would spin off a node from snapshot instead of copying .tezos-node folder, but it seems that the import operation does not exists anymore:

$ ./tezos-node snapshot import 694626-BKrv2G5sRNJW.rolling
tezos-node: OPERATION argument: invalid argument: import
Usage: tezos-node snapshot [OPTION]... OPERATION FILE
Try `tezos-node snapshot --help' or `tezos-node --help' for more information.

$ ./tezos-node snapshot --help
       tezos-node snapshot [OPTION]... OPERATION FILE

       The snapshot command is meant to export snapshots files. Several
       operations are possible:

       export allows to export a snapshot of the current node state into a

           The directory where the Tezos node will store all its data.

           Force export command to dump a minimal snapshot based on the
           rolling mode.

       OPERATION (required)
           Operation to perform. Possible value: export.

No mention of import, anyone knows what's happening?

  • using $ ./tezos-node --version d272059b (2019-04-08 09:57:21 +0200)
    – petronius
    Commented Nov 16, 2019 at 20:23
  • There is an (old) version of mainnet where you can export snapshots but not import them. You should update your node (git pull && make build-deps && eval $(opam env) && make)
    – vect0r
    Commented Nov 16, 2019 at 22:23
  • God... It couldnt be not up to date, as I checked out the repo yesterday. Sudden inspiration: $ git remote get-url origin https://github.com/tezos/tezos.git !!! Correct repo is gitlab, not github, they should remove this old mirror... Thanks @vect0r, add that as answer and i'll accept it.
    – petronius
    Commented Nov 17, 2019 at 8:00
  • Hum, yes. The tezos sources are hosted on gitlab. It should be less confusing, I agree.
    – vect0r
    Commented Nov 17, 2019 at 10:30

1 Answer 1


I seems that your node is not up-to-date. You should:

  • Ensure the repository address: https://gitlab.com/tezos/tezos/ (it can be checked using git remote get-url origin)

  • update the node: git pull && make build-deps && eval $(opam env) && make

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.