I'am trying to restore a backup site from a copy made by Backup and Migrate
module in Drupal, I followed those steps:
- copy the drupal files to www directory
- create a new mySQL database
- install drupal using the new db
- enable backup and migrate module
- performed the restore
I faced this error :
Notice: Undefined index: files in theme_backup_migrate_file_list() (line 954 of .../sites/default/modules/backup_migrate/backup_migrate.module)
the issue was solved by the dev version of "Backup and Migrate" module.
after creating a backup with the dev version and restore it with the same version (dev) in the host machine I get nothing as result, nothing was changed my site still virgin and nothing in admin/reports/dblog
.
There are possible missing setting that be probable issue cause:
DB setting : I have the same setting (db name , table prefix ...)
php.ini
memory_limit = 128M
and my backup file is 126MAppache module
mod_rewrite
is enabled
Any Helpful hint please. I don't know what I am missing here.
My suggestion would be to:
Copy files to www
Use phpMyAdmin or similar tool to create empty database and import dump B&M created.
Change /sites/default/settings.php to connect to your new database.
Login to back-end and check on Configuration -> Media -> File system are all necessary paths writable to drupal. Just click "Save configuration" and if none of the fields get red border then it's ok. If some does then you have to change dir access flags (owner, what ever) to make those dirs writable.