Cpanel Restore Error

Why am I getting this error?

root@localhost:/home/backup# /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/ --path backup-3.27.2020_22-03-42_jzmcon.tar.gz
Backup logs to be generated in /home/cyberpanel/6834
Traceback (most recent call last):
File “/usr/local/CyberCP/plogical/”, line 916, in
File “/usr/local/CyberCP/plogical/”, line 903, in main
for items in os.listdir(args.path):
NotADirectoryError: [Errno 20] Not a directory: ‘backup-3.27.2020_22-03-42_jzmcon.tar.gz’

I have also tried via the gui and got the following:

[Errno 2] No such file or directory: ‘/home/backup/backup-3.27.2020_22-03-42_jzmcon/meta.xml’ [736][5009]

You need to use the directory without the file name, the script imports any backup files it finds in the specified directory chosen by --path