public function BackupMigrateInterface::backup in Backup and Migrate 5.0.x
Perform the backup from a given source, save it to the given destination.
Parameters
string $source_id: The id of the source to backup.
string $destination_id: The id of the destination to save the backup to.
1 method overrides BackupMigrateInterface::backup()
- BackupMigrate::backup in src/
Core/ Main/ BackupMigrate.php - Perform the backup from a given source, save it to the given destination.
File
- src/
Core/ Main/ BackupMigrateInterface.php, line 29
Class
- BackupMigrateInterface
- The core Backup and Migrate service.
Namespace
Drupal\backup_migrate\Core\MainCode
public function backup($source_id, $destination_id);