Hi there,

Just installed and enabled the module (also changed permissions to allow admin full rights) but I cannot see it in Admin->Structure...how can I use the module then? is there something else to tune up?

Regards,
Alex

Comments

federico.giunchi’s picture

subscribe

davnguyen’s picture

Exactly the same issue. Can't see the menu under /admin/config/system/backup_migrate either.

Guillermo Ramon’s picture

I installed Backup and Migrate and did not see any menu. Then, I went to "Help" and there were menus there.

firstlut’s picture

I'm using 7.x-2.1, but I'm having the same problem. Since I'm monkeying around with Drush, I can give you the error message I got:

Error: Cannot redeclare class backup_migrate_destination_db in
/Users/[me]/sites/d7-test/sites/all/modules/backup_migrate/includes/destinations.db.inc,
line 295

Hope this helps. Of course, this is all from my Mac using MAMP, so it could be something bone-headed that I've done.

palllas’s picture

Hi, just clear the cache.

holtzermann17’s picture

Works for me via admin/config/system/backup_migrate

wilgrace’s picture

Also getting the same problem -clean install, doesn't appear in the menu and I can't access via
admin/config/system/backup_migrate

rolfmeijer’s picture

Same here, but I got it fixed by going to /admin/config/system/backup_migrate (which doesn’t exsist, so it shows the content of /admin/config/system).
THEN I cleared caches, and the bam page was there and the menu item too.

wmdickson’s picture

Same issue here. I tried all of the above with no luck. PHP error log is empty.

EDIT: The issue I was having is with the latest RELEASE version. The latest dev version (which appears to be earlier than the latest release, however) works fine.

henrikakselsen’s picture

Same issue, unfortunately neither #8 og #9 works for me. I've tried this on a fresh install and a dev site, both localhost. Will report back after more testing.

mechdog’s picture

I'm having the same issue. I have tried the suggestions here and the menu still doesn't appear

abraxas1’s picture

same here. Drupal7, shared hosting, 7.x-2.x-dev.
i had the same behaviour with another module and it was a module conflict issue. can't figure out what other module i have installed might be doing this. getting annoying though. :-)

xmichaelyx’s picture

Same issue. I solved it by going to /admin/config/system/backup_migrate. Needs to be a better way, though.

Rory’s picture

I was encountering this issue with 7.x-2.2. Tried everything but finally (and I do mean finally) solved the problem by restarting the server.

Seems quite random due to the results observed by others. For me, I might put it down to my hardware, Mac OSX or the MAMP environment. I noticed things were quite slow at the time this issue was occuring and this was fixed also by the restart.

Rory’s picture

Seems like this could be a Mac / MAMP issue? Anyone with the same issue elsewhere?

HyperGlide’s picture

@ rory -- same issue on my Mac / MAMP stack

Rory’s picture

Title: Backup and Migrate menu not showing up » Backup and Migrate menu not showing up after enabling via Drush
Version: 7.x-2.x-dev » 7.x-2.2
Issue tags: +install, +error, +drush, +enable, +backup_migrate_destination_db

Due to enabling via Drush it seems. Occuring in both the 7.x-2.2 and 7.x-2.x-dev branches.

Error: Cannot redeclare class backup_migrate_destination_db...

I get the error every time unless I enable Backup and Migrate via the module list.

chen.730’s picture

I randomly ran into the set permission section at admin/user/permissions, and checked the boxes uder backup_migrate module. Then the menu showed up for me.

Rory’s picture

@chen.730 - were you using user id 1 at the time?

When I experienced this I was logged in as user id 1.

sonicthoughts’s picture

same issue with version 2.4 after enable with drush. not just a menu issue - there is no way to get to config. After clear cache it was available.

senortim’s picture

None of these solutions are working for me on my Mac/MAMP local install of D7.

  • Not enable in Drush
  • Not enable via Modules page
  • Not flushing caches (a whole lot)
  • Not going directly to /admin/config/system/backup_migrate
  • Not twiddling permissions
  • Not logging in as authorized user with permissions, not as user 1

I've even re-installed Backup & Migrate by hand (rather than Drush dl) but no luck there either.

The same codebase is running on my Test server, however. And there, B & M is working just fine. (I used the techniques above successfully on that instance of D7.)

Any other ideas??

senortim’s picture

For what it's worth, I ultimately got it working locally by creating a new database and importing the SQL file generated by B&M from my Test server (which suggests to me that its not MAMP, but rather something in the database, perhaps by Drush??)

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

Is everybody having this issue enabling with Drush?

Is everybody seeing the following error:
Cannot redeclare class backup_migrate_destination_db

Do you guys happen to have a copy of B&M in sites/default as well as one in sites/all? I seem to recall some versions of Drush have an issue when there are multiple copies of a module installed.

tdi_dk’s picture

I experienced this very same problem, when I was trying to install and use the module.

I did not use Drush, but still had the problem.

I tried clearing the cache without it working. Next I tried to totally reset my browser, as I thought this might help, but still no luck.

The weird thing is, that I then tried to login using Firefox instead of Safari, and still it wasn't there. But when I emptied the cash logged in to Firefox, it showed up.
And now if I login with Safari, I can see it.

Don't know what has happened, but now it works. So thought I would mention this, if it might help anybody else.

kenorb’s picture

kwerey’s picture

I got a new version of the Ronan got in this old thread, and since this old thread showed up at the top of results when I googled around for the problem I'll post my findings.

I got a DatabaseSchemaObjectExistsException error when I tried to install, and when I loaded the modules page against Backup & Migrate was listed as enabled but none of its config options were visible. Turns out Backup & Migrate creates four tables in your database on install: backup_migrate_destinations, backup_migrate_profiles, backup_migrate schedules and backup_migrate_sources. It does not remove any of these when you disable and remove it. Deleting them manually (Operations > DROP table in PHPmyAdmin), clearing the cache, and reinstalling fixed the problem right up for me.

couturier’s picture

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

It is quite possible the newer versions of both Drupal and Backup and Migrate will have resolved this issue, but I am closing due to non-response from the issue reporters.