Cannot create a backup on FTP storage with empty parameter "Directory for backup files storage"

Created:

2017-06-10 13:49:23 UTC

Modified:

2017-08-18 15:09:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot create a backup on FTP storage with empty parameter "Directory for backup files storage"

Applicable to:

  • Plesk Onyx for Windows
  • Plesk Onyx 17.5 for Windows

Note: This article has the reference to the issue with the fix available:

  • #PPPM-6466 "Backup to an FTP storage failed if the field “Directory for backup files storage” was empty."
    Fixed in:
Please consider updating your server:

Symptoms

  • Backup task is completed with status "error", created backup is unavailable to download and use.
  • FTP storage is configured to store backups.
  • No parameter for Directory for backup files storage is set up in FTP Storage Settings .
  • The following error message appears in %plesk_dir%\PMM\logs\[session-id]\backup.log :
    2017-06-10 13:35:41.128|13280] Warning: 8c901aab-cc1d-4c74-8e3e-8a352c4cba56 Cannot backup domain 'example.com' ( Repository error: Unable to create the destination directory 'ftp://' ) 
    [2017-06-10 13:35:41.175|13280] Debug: send-error-report ( <?xml version="1.0" encoding="utf-8"?><error><module>backup-agent</module><operation>backup</operation><step>general</step><message>psadumpagent.InformationalException: Cannot backup domain 'example.com' [Repository error: Unable to create the destination directory 'ftp://']</message></error> )
    [2017-06-10 13:35:41.222|13280] Debug: System.Exception: Repository error: Unable to create the destination directory 'ftp://'
    at psarepository.DumpExporter.AddFile(String filePath)
    at psadumpagent.RepositoryHelper.AddToRepository(CidType cidType, String srcPath, String dstPath, String dstName, String[] include, String[] exclude, String user, String password)
    at psadumpagent.ContentBuilder.AddFileCid(Object Object, CidType cidType, String fileToBackup, String filePrefix, String user, String password)
    at psadumpagent.ContentBuilder.AddFileToContent(Object Object, CidType cidType, String fileToBackup, Object Owner, String filePrefix)
    at psadumpagent.ContentBuilder.AddStringDataToContent(Object Object, CidType cidType, String[] data, Object Owner, String filePrefix)
    at psa9dumpagent.PSADomainObject.dumpMailSystem(Mailsystem mailSystem)
    at psa9dumpagent.PSADomainObject.doDomainDump()
    at psa9dumpagent.PSADomainObject.dump()
    at psa9dumpagent.Psa9DumpAgent.doDumpDomains(String[] domainNames, Object owner, IDomainOwner schemaOwner)
  • The following error can be found in stderr file under %plesk_dir%\PMM\sessions\ folder:

    Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at psarepository.DumpExporter.AddFile(String filePath)
    at psadumpagent.RepositoryHelper.AddFileToRepository(String fileName, String dstPath, String dstName)
    at psadumpagent.ContentBuilder.PutFile(Object Object, CidType cidType, String path, String extension, Object owner, String filePrefix)
    at psa9dumpagent.MailContentSaver.BackupIncrementally()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

Cause

This issue has been considered as Plesk bug #PPPM-6466 and will be fixed in future product updates.

Resolution

As a workaround, go to Tools & Settings > Backup Manager > FTP Storage Settings and specify " / " character (without quotes) in Directory for backup files storage field.

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