CyberHosting

Cpanel Restore Error

Why am I getting this error?

[email protected]:/home/backup# /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/cPanelImporter.py --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/cPanelImporter.py", line 916, in <module>
main()
File "/usr/local/CyberCP/plogical/cPanelImporter.py", 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]

Comments

  • 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
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion