Creating backup fails with error: Runtime error in pmmcli: The system cannot find the path specified

Created:

2016-11-16 13:16:19 UTC

Modified:

2017-08-16 18:30:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Creating backup fails with error: Runtime error in pmmcli: The system cannot find the path specified

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.5 for Windows

Symptoms

Creating backup fails with error:

Error: Runtime error in pmmcli:
<class 'pywintypes.error'> (3, 'GetDiskFreeSpace', 'The system cannot find the path specified.')
Traceback (most recent call last):
File "C:\\Program Files\\SWsoft\\Plesk\\admin\\share\\pmmcli\\pmmcli.py", line 1887, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "C:\\Program Files\\SWsoft\\Plesk\\admin\\share\\pmmcli\\pmmcli.py", line 1762, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "C:\\Program Files\\SWsoft\\Plesk\\admin\\share\\pmmcli\\pmmcli.py", line 75, in doActivity
result = self.processor.doActivity()
File "C:\\Program Files\\SWsoft\\Plesk\\admin\\share\\pmmcli\\pmmcli.py", line 860, in doActivity
if osutil.free_bytes(local_dump_directory) < (long(disk_space_required) * 1048576):
File "C:\\Program Files\\SWsoft\\Plesk\\admin\\lib\\python\\osutil.py", line 188, in free_bytes
sectorsPerCluster, bytesPerSector, numFreeClusters, totalNumClusters = GetDiskFreeSpace(os.path.splitdrive(path)[0] + "\\\\")

Cause

Dump directory is missing on the server.

Resolution

  1. Open Windows registry via command line:

    regedit
  2. Check the value of the following key:

    "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\PLESK\\PSA Config\\Config\\" "DUMP_D"

Make sure the directory which is specified in the key exists on the server. If not, create it or point to another existing directory.

Have more questions? Submit a request
Please sign in to leave a comment.