As you have a release version of Backup and Migrate for D7 (on the day it was released - w00t!), do you have plans to port Files to D7? These are two great modules.
| Comment | File | Size | Author |
|---|---|---|---|
| #43 | backup_migrate_files-7.x-Ronan-June-8-plus-fix.tar_.gz | 9.87 KB | hbfkf |
| #15 | backup_migrate_files.tar_.gz | 9.11 KB | Anonymous (not verified) |
| #8 | backup_migrate_files.tar_.gz | 9.25 KB | Anonymous (not verified) |
Comments
Comment #1
gnappoman commentedI need this! 4 D7 2
Comment #2
zoltán balogh commentedFollowing
Comment #3
mattbk commentedSubscribe
Comment #4
mehtatejas commentedSubscribe
Comment #5
oscarescudero commentedmany users of D7 and me need it too.
Comment #6
sea4 commented+1 I support the call for a D7 version :-)
Comment #7
Goulou commentedI vote for it!
Comment #8
Anonymous (not verified) commentedI expect Ronan et al are busy, so I have made a first-pass at porting this to D7. I've changed as little as possible in order to get it working.
I couldn't get 'public://' to work, so you'll have to specify 'sites/default/files' or whatever
It appears to be functioning okay for me, but I make no guarantees. Use it at your own risk!!
Comment #9
rodych commentedSubscribe
Comment #10
brightboldThanks @imonemus - I will give this a try!
Comment #11
ogi commentedsubscribe
Comment #12
Anonymous (not verified) commentedNote that you have to add .htaccess to the list of excluded files (in the profile) or you get permission problems when restoring. This file is set read-only in D7.
If anyone is actually using this version, I'll amend it to exclude this file by default.
Comment #13
drupa11y commentedSubscribe
Comment #14
Anonymous (not verified) commentedOkay, here is a new version with a few minor fixes.
1. The file .htaccess is listed with the excluded files by default
2. You must now specify public:// or similar for the files destination directory instead of sites/default/files (I couldn't get it to work both ways).
3. You can backup with drush. Unfortunately, you can't restore with drush as there is a bug in the relevant part of the BAM module. I'll raise an issue for that if this module gets adopted.
If you've used the previous version I uploaded here, check that your schedule is set to backup files and not database (I changed the id for drush compatibility).
Comment #15
Anonymous (not verified) commentedComment #16
geek-merlinsub
Comment #17
leemako commentedsub
Comment #18
Shai commentedI used the version from #15. I installed it and it's working. Great job, thanks.
Shai Gluskin
Comment #19
tebb commentedThanks for your work imonemus.
Hope we can have this as a D7 release soon.
Comment #20
tonycpsu commentedSubscribing
Comment #21
webankit commented+1
Comment #22
jeffwidman commented+1
Comment #23
thomas4019 commented+1
Comment #24
plastikkposen commented+1
Comment #25
nazgul17 commented+1
Comment #26
blackspiraldancer commentedfollowing
Comment #27
Anonymous (not verified) commentedSubscribed and works nicely
Comment #28
Anonymous (not verified) commentedI'd like to modify this module so that it has the possibility to also backup site configuration/modules. I reviewed the PHP for it and it looks like it references back to the backup migrate module. Anyone have any ideas? I'm still rather new to PHP.
Comment #29
brightboldwipeout_360: The Backup & Migrate module does indeed back up database tables, so that should get all your site & module configuration. Are you trying to do something that isn't covered either by this module or that one?
Comment #30
Anonymous (not verified) commentedI would like to see something that backs up the whole install directory but copying the modules/libraries from one machine to another doesn't take long. I'll eventually be moving my installation to a multi-server instance and I am looking for a way to expedite the deployment process.
Comment #31
TripX commented+1
Comment #32
sachbearbeiter commented+1
Comment #33
bdunwood commented+1
Comment #34
spacereactor commented+1
Comment #35
thomjjames commentedsubscribing +1
Comment #36
JGO commentedMe want! :)
Comment #37
basicmagic.net commentedsubscribe
Comment #38
JGO commentedBtw the one posted here seems to work fine, maybe it should be made more official as a dev version ..
Comment #39
ankur commentedUsing the port posted in comment #15 above, I'm getting the following error when trying to create a new backup profile:
Fatal error: Unsupported operand types in /var/www/html/iolani/drupal/includes/form.inc on line 1681
The error goes away when I disable backup_migrate_files and am only using backup_migrate and comes back when re-enabling backup_migrate_files.
I'll see if I can come back with a patch, but want to throw this out there in case anyone else is also trying to work with this.
Comment #40
Anonymous (not verified) commentedI notice that Ronan committed a D7 version on 8th June. You might want to try that version in preference to my hack. (It's under "all releases").
Comment #41
Anonymous (not verified) commentedComment #42
xandeadx commented+1
Comment #43
hbfkf commentedThe D7 version from 8th June by Ronan (see comment #40) has a small bug when I use it with Drupal 7.2: When you edit a "Backup and Migrate" profile, you get something like
Notice: Undefined index: exclude_filepaths in backup_migrate_files_destination_filesource->backup_settings_form() (line 93 of ... destinations.filesource.incHere's the fix that seems to work:
I attach the module as I use it (it's the release by Ronan plus my fix).
Comment #44
Anonymous (not verified) commentedIt might be an idea to raise another issue for that bug (#43) and make up a patch for ronan. As a D7 version is now available, should we think about closing this thread?
Comment #45
koppie commentedI agree with imonemus. I've downloaded and tested the module and it seems to work fine. What I'm really wondering is why it doesn't show up on the module home page: http://drupal.org/project/backup_migrate_files
I had to go to the "releases" page to get the D7 version: http://drupal.org/node/556772/release
Since the module seems to work, at least for most people, it ought to be available on the module home page at least as a dev version. IMHO.
Comment #46
ronan commented