backdrop-contrib / backup_migrate

Port of the Drupal backup_migrate module to Backdrop
GNU General Public License v2.0
7 stars 14 forks source link

Cross port all "Advanced settings" functionality and update the module to current D7 state, add tests #91

Closed argiepiano closed 1 year ago

argiepiano commented 1 year ago

D7's current version includes a number of settings available under "Advanced settings". Most of these settings don't exit in Backdrop's current version:

This is a blocker for #87

argiepiano commented 1 year ago

This issue was expanded to incorporate most of the D7 changes that happened after the initial port. This included the advanced settings functionality, plus a few other new or changed features.

Additionally, there is some general cleanup of commented out code, and leftovers "Drupal" in backup_migrate.js.

argiepiano commented 1 year ago

Additionally, this takes care of #87. Closing that one.

argiepiano commented 1 year ago

PR #92 ready for testing.

argiepiano commented 1 year ago

I've added all relevant automated tests as well.

argiepiano commented 1 year ago

Reopening while people test this.

indigoxela commented 1 year ago

@argiepiano thank you so much for all your work! :pray:

After some testing, I found something odd: when trying to restore the active config, I get the screen for a database restore, which pretty misleading.

If I hit the restore button, I get:

    Unable to restore from file /tmp/backup_migrate_3lbxCr.tar because a tar file can't be restored to this database.
    Could not perform the restore.

No, of course that won't work, I'm trying to restore config, not the database. :wink: (I'm aware, that oddity existed before.)

indigoxela commented 1 year ago

OK, I'm just playing "user from hell", but realized, that BM lets me restore the config to the files directory – definitely where they do not belong. Should I open a new issue for that?

As for the other (newly added) advanced settings: I didn't test in all detail, but the functionality seems to work just fine. :+1:

argiepiano commented 1 year ago

Thanks @indigoxela. I started maintaining this module very recently and have never tried the config backup and restore. If you could open a separate issue that'd be great.

that BM lets me restore the config to the files directory – definitely where they do not belong

Can you clarify what you mean by this? Maybe in the new issue? Thanks!

argiepiano commented 1 year ago

Closing now that this PR is included in version 1-x.1.0.23