Posted by jeff00seattle on June 9, 2009 at 7:52pm
Jump to:
| Project: | Backup and Migrate |
| Version: | 6.x-2.x-dev |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | backup_migrate API, backup_migrate_perform_backup |
Issue Summary
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!!!
Comments
#1
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.)
#2