I got this error trying to save a backup to private files with the latest alpha.

Once I created the folder manually the backup worked.

CommentFileSizeAuthor
#7 destination-wrapped-class-2817045.patch897 bytesDinu R.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim created an issue. See original summary.

maxilein’s picture

There could be a warning of missing folders under site status report.

couturier’s picture

couturier’s picture

Status: Active » Postponed (maintainer needs more info)

Can you confirm that this problem still exists with the new 8.x-4.x-alpha2 release? Other users are reporting that this feature is working with more recent releases than the one you were using when you reported this.

banacan’s picture

I can confirm this is still a problem with alpha2

couturier’s picture

Status: Postponed (maintainer needs more info) » Active

Thank you for the update. I'm setting this back to active.

Dinu R.’s picture

Status: Active » Needs review
FileSize
897 bytes

Attached please find a patch that fixes this issue.

  • ronan committed e5c1943 on 8.x-4.x authored by Dinu Rodnitchi
    Issue #2817045 by Dinu Rodnitchi: 'The backup file could not be saved to...
ronan’s picture

Status: Needs review » Fixed

Patch fixes this. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

colinstables’s picture

Hi having the same problem can anyone tell me how to insert the patch would be extremely grateful

colinstables’s picture

Fixed I simply put only 'private' file with the backup_migrate child file in the public_html directory and bingo :)

yan’s picture

I just had the same problem with Drupal 8.6.1. But I can't re-open.

couturier’s picture

@yan Can you post a new issue with explanation?

amr.abou-elenin’s picture

It took a while from me to figure the reasons. I changed the paths several times and chicking the logs.
all was missing is to rebuild the cache .. so drush cr solved for me. or you can clear the cache through the web.

and it works fine with me.

hope this helps everyone.