Backup_Migrate API?

jeff00seattle - June 9, 2009 - 19:52
Project:Backup and Migrate
Version:6.x-2.x-dev
Component:Documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:backup_migrate API, backup_migrate_perform_backup
Description

I want to use this module programmatically. In other words, I want to make a request to perform a backup through a function on this module.

If I configure manual backups through this modules UI, then is it sufficient that I call function backup_migrate_perform_backup() to perform backups if it was called from another slice of PHP code on my site?

Thanks for the GREAT module!!!

#1

ronan - June 9, 2009 - 21:02

backup_migrate_perform_backup() requires a settings array which you will have to programatically build and pass in. _backup_migrate_backup_with_defaults() will use the default settings and requires no input (or you can give it an optional destination id.)

 
 

Drupal is a registered trademark of Dries Buytaert.