Command copy needs 2 arguments maximum: you provided 3 non flag arguments: ["/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-03-Sat-Jun-2022.tar.gz" "/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-05-Sat-Jun-2022.tar.gz" "gdrive:basezapnovanodebackups/vps.mailez.io/2022-06-04/exodrive.zapbase.innn"]
Run the command 'rclone version' and share the full output of the command.
rclone v1.55.1
os/type: linux
os/arch: amd64
go/version: go1.16.3
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
gdrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
hello sir ,
i m using cyberpanel script to create the backup on the gdive but now it showing this error that is attached above please help me to short out this
noo sir this is empty at this but when we run the script so tar file will come here and after upload to the gdrive script automatically empty the backup folder
Flags:
--create-empty-src-dirs Create empty source dirs on destination after copy
-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 maximum: you provided 3 non flag arguments: ["/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-03-Sat-Jun-2022.tar.gz" "/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-05-Sat-Jun-2022.tar.gz" "gdrive:basezapnovanodebackups/vps.mailez.io/2022-06-04/exodrive.zapbase.innn"]
Total Time Taken 530 Seconds
~~~~~~~~~~~~~~ Starting BACKUP Creation and Upload to Google Drive ~~~~~~~~~~~~~~
2022-06-05
Usage:
rclone copy source:path dest:path [flags]
Flags:
--create-empty-src-dirs Create empty source dirs on destination after copy
-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 maximum: you provided 3 non flag arguments: ["/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-03-Sun-Jun-2022.tar.gz" "/home/exodrive.zapbase.innn/backup/backup-exodriv-12-15-05-Sun-Jun-2022.tar.gz" "gdrive:basezapnovanodebackups/vps.mailez.io/2022-06-05/exodrive.zapbase.innn"]
~~~~~~~~~~~~~~ Backup Creation and Upload to Google Drive Finished ~~~~~~~~~~~~~~
Total Time Taken 521 Seconds
~~~~~~~~~~~~~~ Starting BACKUP Creation and Upload to Google Drive ~~~~~~~~~~~~~~
If it's a bash script, you can add "-x" on the end.
Example:
felix@gemini:~$ cat blah
#!/usr/bin/bash -x
ls -al /home/felix/test
felix@gemini:~$ ./blah
+ ls -al /home/felix/test
total 0
drwxrwxr-x 1 felix felix 0 May 29 16:03 .
drwxr-x--- 1 felix felix 270 Jun 7 08:04 ..
We need the actual command as it's entered as that's going to tell you what's wrong.