Blesta Source Documentation

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

preAction()

Pre-action setup method that is called before the index method, or the set controller action

public preAction() : 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

Tags
subpackage

app.controllers

copyright

Copyright (c) 2010, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results