Unable to backup a domain: PSAMailbackup.exe exit with code -1

Created:

2016-11-16 12:54:46 UTC

Modified:

2017-04-24 12:07:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to backup a domain: PSAMailbackup.exe exit with code -1

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Unable to backup domain, the following error occurs:

 Unable to backup domain: PSAMailbackup.exe exit with code -1

In %plesk_dir%PMM\\sessions\\<timestamp>\\PSAMail.tech.log the following can be found:

-----------------------------Exception_handled--------------------------------
System.IO.IOException: The file exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at MailMsgMigrMng.MailBackupWriter..ctor(IMailBackupContentWriter contentWriter)
at MailMsgMigrMng.MailMigratorMng.BackupMessages(String dumpFile, String ProviderIdString)
at PSAMailbackup.MailBackup.Main(String[] args)

Cause

C:\\Windows\\Temp directory contains 65535 files like tmpXXXX.tmp .

Bug #PPPM-3884 . It is fixed in Plesk Onyx.

Resolution

Upgrade to the latest Plesk version .

If upgrade is not possible, manually remove those files from C:\\Windows\\Temp folder.

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