\apex\app\iobackups

Handles all backup functionality, including performing the local backups, plus uploading to the appropriate remote service (AWS, Dropbox, Google Drive, etc.)

Summary

Methods
Properties
Constants
perform_backup()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
backup_local()
No private properties found
N/A

Methods

perform_backup()

perform_backup(string  $type = 'full'): string

Performs a backup of the system, and stores archive file locally within the /data/backups/ directory.

Parameters

string $type

The type of backup to perform (db or full)

Returns

string —

The name or the .tar.gz archive that was created.

backup_local()

backup_local(string  $type): string

Perform a local backup, and save archive file to /data/backups/ directory

Parameters

string $type

The type of backup to perform (db / full)

Returns

string —

The name of the archive file within /data/backups/ directory