AdminSystemBackup extends AdminController
Admin System Backup Settings
Table of Contents
Methods
| amazon() | Amazon S3 |
| amazonTest() | Test Amazon S3 backup connection |
| download() | Download a backup |
| ftp() | FTP backup Settings |
| ftpTest() | Test FTP backup connection |
| index() | On Demand backup |
| preAction() | Pre-action setup method that is called before the index method, or the set controller action |
| upload() | Upload a backup to the configured remote services |
| saveBackupSettings() | Saves the backup settings and updates the system cron task |
Methods
amazon()
Amazon S3
public
amazon() : mixed
amazonTest()
Test Amazon S3 backup connection
public
amazonTest() : mixed
download()
Download a backup
public
download() : mixed
ftp()
FTP backup Settings
public
ftp() : mixed
ftpTest()
Test FTP backup connection
public
ftpTest() : mixed
index()
On Demand backup
public
index() : mixed
preAction()
Pre-action setup method that is called before the index method, or the set controller action
public
preAction() : mixed
upload()
Upload a backup to the configured remote services
public
upload() : mixed
saveBackupSettings()
Saves the backup settings and updates the system cron task
private
saveBackupSettings(int $cron_task_run_id, mixed $interval, array<string|int, mixed> $vars) : mixed
Parameters
- $cron_task_run_id : int
-
The cron task run ID
- $interval : mixed
-
The time interval (in hours) to set for the cron task
- $vars : array<string|int, mixed>
-
A list of system settings to set
Return values
mixed —An array of error messages, or false if no errors