Hello,

Since I have move my website form a shared host to a VPS, I've the following message :

"Unable to create or write to the save directory 'sites/default/files/backup_migrate/manual'. Please check the file permissions that directory and try again.
Could not run backup because the file could not be saved to the destination."

I've the same message in the drupal reports for the sheduled directory.

I've verify the access right of my directory, and I've :
sites/default/files/backup_migrate : 775
sites/default/files/backup_migrate/scheduled : 775

Have you got an idea of the origin of the problem?

Thanks in advance

Comments

rahulbarge21’s picture

Version: 6.x-2.4 » 7.x-2.0

Hi,

I have same problem in drupal 7.

Thank You,
Rahul Barge

ronan’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Are you guys still having problems?

wizonesolutions’s picture

Yep — B&M seems to be getting its private file settings from an entirely different place. Changing it directly in the Manual Backups Directory destination didn't even help.

selinav’s picture

I had solved the problem in setting again the module

wizonesolutions’s picture

Do you mean you reinstalled?

selinav’s picture

No, for me what I've done,

1) in admin/config/system/backup_migrate/destination I update the destination
2) update profil
3) delete schedules and create others

else you can try to unistall completely and reinstall.

cmstom’s picture

These commands is what resolved this issue for us. Just had to recreate the private directory that we set in the File System config settings.

[ftpuser@domain public_html]# rm -rf sites/default/files/private/
[ftpuser@domain public_html]# mkdir sites/default/files/private
[ftpuser@domain public_html]# drush bb
Default Database backed up successfully

rudyard55’s picture

Does this module respect windows folder permissions? And what path format is valid for windows? The network drive that I'm trying to save to is mounted locally on the webserver and is visible under the service account user. (it's an intranet site) And I've given explicit permissions for read/write to the webserver machine on the destination folder. The service account profile on the webserver also has explicit read/write on the destination folder. I've tried both a UNC path and a "regular" windows path declaration to reference the destination folder. Whenever I try to run the back up I get "Unable to create or write to the save directory 'X:\foofolder1\foofolder2'. Please check the file permissions that directory and try again." (This occurs whether I use UNC or the above path format) Who/what* else needs to be given permission? (*account/machine/service)

damienmckenna’s picture

Version: 7.x-2.0 » 7.x-3.x-dev

Something to watch for - if you give a destination path that includes a symlink it may give a failure notice, even though it does save the backup file.

couturier’s picture

Is this still an issue with 7.x-3.2?

couturier’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing after more than two weeks with no activity. @DamienMcKenna, I am going through the 7.x issues I marked as postponed needs more info and closing the ones that seem outdated with no activity since almost three weeks ago. I hope I'm not marking some true bugs as closed, but I think for the most part a lot of these issues are very old and have been resolved with newer versions of the software. Hopefully users will come back at some point in the future and re-report any problems. Also, I think as we move more toward Drupal 8, the 7.x branch is going to be completely outdated in time, so as long as it works for most users right now we should be on target.

damienmckenna’s picture

Category: Support request » Task
Status: Closed (outdated) » Active

I think we should add some notes to the documentation about things to look for, e.g the symlink problem I mentioned above.

ivnish’s picture

Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.