Copy command missing (?)

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
Please show the effort you've put in to solving the problem and please be specific -- people are volunteering their time to help you! Low effort posts are not likely to get good answers! DO NOT REDACT any information except passwords/keys/personal info. You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/ -->

What is the problem you are having with rclone?

I'm trying to copy a snapshot of Starknet blockstate to sync my node. The guide has been produced by the team at ZKLend. I believe something may be missing from their guide. I get:

Command copy needs 2 arguments minimum: you provided 1 non flag arguments: ["zkl end-pathfinder-backup:mainnet/mainnet-v0.6.3-98021.tar.xz"]

Run the command 'rclone version' and share the full output of the command

root@starknet:~# rclone version
rclone v1.63.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-75-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

cloudflare

c

rclone copy -P zklend-pathfinder-backup:mainnet/mainnet-v0.6.3-98021.tar.xz .

The rclone config contents with secrets removed.

[zklend-pathfinder-backup]
type = s3
provider = Cloudflare
region = auto
endpoint = https://pathfinder-backup.zklend.com/

A log from the command with the -vv flag

Paste  log here

welcome to the forum,

if the remote name has a space in it, need to enclose in quotes, try something like
"zkl end-pathfinder-backup":mainnet/mainnet-v0.6.3-98021.tar.xz

if you need additional assistance, then run the command with -vv and post the full output

here is the full output as you ask
root@starknet:~# rclone copy -P zklend-pathfinder-backup:mainnet/mainnet-v0.6.3- 98021.tar.xz -vv
2023/07/11 17:37:56 DEBUG : rclone: Version "v1.63.0" starting with parameters [ "rclone" "copy" "-P" "zklend-pathfinder-backup:mainnet/mainnet-v0.6.3-98021.tar. xz" "-vv"]
Usage:
rclone copy source:path dest:path [flags]

Flags:
--create-empty-src-dirs Create empty source dirs on destination after co py
-h, --help help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command copy needs 2 arguments minimum: you provided 1 non flag arguments: ["zkl end-pathfinder-backup:mainnet/mainnet-v0.6.3-98021.tar.xz"]
root@starknet:~#

mainnet-v0.6.3- 98021 has a space character in it, need to quote it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.