You are here

public function BackupMigrateInterface::restore in Backup and Migrate 8.4

Perform the restore to a given source loading it from the given file in the given destination.

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 lib/backup_migrate_core/src/Main/BackupMigrate.php
Perform the restore to a given source loading it from the given file in the given destination.

File

lib/backup_migrate_core/src/Main/BackupMigrateInterface.php, line 37

Class

BackupMigrateInterface
The core Backup and Migrate service.

Namespace

BackupMigrate\Core\Main

Code

public function restore($source_id, $destination_id, $file = NULL);