Email
Share

We Rock Your Web Forum » Content Management Systems » Drupal

Security notice: Backup and Migrate will not save backup files

(5 posts)
  1. DrupalJunkie

    senior member
    Joined: Oct '09
    Posts: 77

    I'm trying to access the "backup and migrate" settings in my Drupal 5.x installation, but keep getting the following error:

    Security notice: Backup and Migrate will not save backup files to the server because the destination directory is publicly accessible. If you want to save files to the server, please secure the 'files/backup_migrate' directory

    I've tried changing the permissions on the backup_migrate directory to 777, 775, 755, 666, etc. all to no avail. Is there something I'm missing here?

    Posted 1 year ago #

  2. Posted 1 year ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Try updating your backup and migrate module to the latest version. That should fix the issue.

    Posted 1 year ago #
  4. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Another thing to try if that doesn't work - make sure the parent directory to "backup_migrate" is writable. Ie. if you have files/backup_migrate, make sure the "files" directory has writable ("777") permissions.

    Posted 1 year ago #
  5. DrupalJunkie

    senior member
    Joined: Oct '09
    Posts: 77

    Thanks! That error is resolved, but now I get the error:

    Security warning: Couldn't modify .htaccess file. Please create a .htaccess file in your files/backup_migrate directory which contains the following lines:
    order allow,deny
    deny from all

    or add them to the existing .htaccess file

    Posted 1 year ago #
  6. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Simply add those lines to a file named .htaccess. If that doesn't work, delete the existing .htaccess file and try again - Backup and Migrate should automatically create the file for you.

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.