When you enable the module, go to back and migrate from config.

On first screen you see the following errors and warnings.

Notice: Undefined index: groups in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 91 of modules/contrib/backup_migrate/src/Config/DrupalConfigHelper.php).
Warning: Invalid argument supplied for foreach() in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 91 of modules/contrib/backup_migrate/src/Config/DrupalConfigHelper.php).
Notice: Undefined index: #description in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 116 of modules/contrib/backup_migrate/src/Config/DrupalConfigHelper.php).
Notice: Undefined index: #description in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 116 of modules/contrib/backup_migrate/src/Config/DrupalConfigHelper.php).

Warnings

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RavindraSingh created an issue. See original summary.

pareshpatel’s picture

Status: Active » Needs review
FileSize
2.39 KB

Here is the patch.

Alluuu’s picture

I get the same error in my log, but with the difference that my backup doesn't get created, even with 2048M memory allocation for PHP the script still runs out of memory.. I have 2 nodes and a few modules installed, and remember being able to do backups on D7 with 256M and hundreds of nodes..

merolhack’s picture

Priority: Normal » Major
Status: Needs review » Active

The patch added in #2 gives me an error:

Checking patch backup_migrate.info.yml...
error: while searching for:
description: 'Backup the Drupal database and files or migrate them to another environment.'
package: Other
type: module
core: 8.x

#configure: -- pending new D8 routing format -- as per https://www.drupal.org/node/2118147 -- admin/config/system/backup_migrate

error: patch failed: backup_migrate.info.yml:2
error: backup_migrate.info.yml: patch does not apply
Checking patch src/Config/DrupalConfigHelper.php...
ronan’s picture

Status: Active » Fixed

Should be fixed in dev

frederico’s picture

I can confirm this has indeed been fixed in the latest dev version posted on 2017-Jan-01 (8.x-4.0-alpha1+11-dev). Thanks Ronan!!!

lamjo’s picture

hi,

I downloaded the version dev 2017-janv-01, when I want to backup the entire site and download it in local, I have this error:

Fatal error: Call to a member function create() on a non-object in C:\wamp\www\drupal-8.2.4\modules\backup_migrate\vendor\backupmigrate\core\src\Source\MySQLiSource.php on line 48

Status: Fixed » Closed (fixed)

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