\BackupController
The Controller which is used to call the BackUpTask
Synopsis
class BackupController
extends Controller
{
- // members
- public static array $allowed_actions = ;
- // methods
- public void BackupNow()
- public void get_client_ip()
- public void verifyIP()
- public void grabDumps()
Hierarchy
Extends
- Controller
Members
public
- $allowed_actions
Methods
public
- BackupNow() — Runs the backup task and returns a JSON encoded array with a status value and a data value
- get_client_ip() — Determins the client's IP Address
- grabDumps() — Gets download links to the latest backups
- verifyIP() — Verifies that the client's IP matches one of the two nominated IPs in the SiteConfig