public function BackupMigrateInterface::restore in Backup and Migrate 5.0.x
Perform the restore to a given source.
Parameters
string $source_id: The id of the source to restore.
string $destination_id: The id of the destination to read the backup from.
string $file: The ID of the file to be restored. Only optional when the destination does not store multiple files (like browser upload)
1 method overrides BackupMigrateInterface::restore()
- BackupMigrate::restore in src/
Core/ Main/ BackupMigrate.php - Perform the restore to a given source.
File
- src/
Core/ Main/ BackupMigrateInterface.php, line 42
Class
- BackupMigrateInterface
- The core Backup and Migrate service.
Namespace
Drupal\backup_migrate\Core\MainCode
public function restore($source_id, $destination_id, $file = NULL);