Closed (fixed)
Project:
Backup and Migrate
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Dec 2010 at 21:51 UTC
Updated:
22 May 2014 at 04:10 UTC
Jump to comment: Most recent
Comments
Comment #1
szantog commentedAs I see, it's not possible now. I try to make it, if I will have time, because this would be useful feature for me too.
Comment #2
danepowell commentedI switched to Aegir so I no longer use Backup Migrate directly, so I'm not really interested in this feature any longer. But at any rate, it seems like this functionality might already exist: #373786: Add option to store backup profiles in code
From that thread, it sounds like all you have to do is have cTools enabled?
Comment #3
deciphered#373786: Add option to store backup profiles in code
The above issue states that the functionality exists, but I can't find any evidence of the functionality. Was it removed maybe?
Shouldn't be too hard to add the functionality back in, but it would be interesting to know the story behind this.
Comment #4
Shai commentedI'm also interested in this. No export links show up and I have cTools enables.
Comment #5
jgraham commentedChiming in to confirm this issue. The functionality is partially present. I am not seeing any UI to expose the links.
For example the following links result in the form with the ctools exportable code;
You can just click on edit for a backup_migrate 'entity' (profile/schedule) and change 'edit' to 'export' for the same result.
However it would be great if you could build a feature through the GUI as provided by the features module.
Comment #6
damienmckennaSubscribe.
Comment #7
jdleonardsub
Comment #8
patcon commentedAnyone wondering about those hidden path should check at the equivalent of this for D7:
admin/config/system/backup_migrate/profile/list/export/PROFILE_ID
Ex: admin/config/system/backup_migrate/profile/list/export/default
Comment #9
Wolfgang Reszel commentedIt would be nice if someone could create a "features.inc" file at least for the D7 version.
Comment #10
RobW commentedYou can find the schedules the same way as #8:
../admin/config/system/backup_migrate/schedule/list/export/[schedule ID]
Features support would be great, or any way to import these exportables.
Comment #11
mile23How to use the exported array? Clues in this issue: #373786: Add option to store backup profiles in code.
+1 on Features integration.
Comment #12
traviscarden commentedMarked #373786: Add option to store backup profiles in code as a duplicate. (The solution there no longer reflects the current state of the data structure.)
Comment #13
john bickar commentedExample implementation of the export code found at admin/config/system/backup_migrate/profile/list/export/PROFILE_ID:
Working example code here.
Comment #14
ronan commentedThis is possible in the 3.x branch.
Comment #17
BarisW commentedShould this work now? I am able to export my configurations, but they don't end up on the other environments. Reverting the features doesn't seem to create the schedules? The custom destinations seem to work, but the schedules don't.
Comment #18
akalata commentedThis is the in-code solution for 7.x-2.x (in case someone can't upgrade to 7.x-3.x): #1820530: Document the ability to enable/disable backup scheduling in settings.php
Comment #20
ronan commentedThe latest dev should fix the issues with ctools and features.