\RestoreTask
A task that can restore the database and assets from a local or GDrive dump file..
Synopsis
class RestoreTask
extends BuildTask
{
- // members
- protected string $title = 'SilverStripe restore task';
- protected string $description = 'Restores a backup.';
- protected boolean $enabled = true;
- // methods
- public void run()
- public static string restoreBackup()
- public static string getRestoreStatusFileURI()
- public static string getRestoreOutputFileURI()
Hierarchy
Extends
- BuildTask
Members
protected
- $description
- $enabled
- $title
Methods
public
- getRestoreOutputFileURI() — Return the path to the restore task's STDOUT file
- getRestoreStatusFileURI() — Return the path to the restore status file
- restoreBackup() — Restores a backup by using Sspak.
- run()