4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-13 20:56:36 +00:00
AzuraCast/config/forms/backup_run.php
Buster "Silver Eagle" Neece 6de636f475
Unified Filesystem Overhaul (#3341)
This migration adds "Storage Locations", managed via a new System Administration panel, that can hold Station Media data, live broadcast recordings, and backups. These storage locations can be local (as they are by default) or remote via any S3-compatible service.
2020-11-09 21:06:48 -06:00

44 lines
1.1 KiB
PHP

<?php
return [
'elements' => [
'storage_location' => [
'select',
[
'label' => __('Storage Location'),
'choices' => $storageLocations,
],
],
'path' => [
'text',
[
'label' => __('Backup Filename'),
'description' => __('Path where the backup file should be located.'),
],
],
'exclude_media' => [
'toggle',
[
'label' => __('Exclude Media from Backup'),
'description' => __('This will produce a significantly smaller backup, but you should make sure to back up your media elsewhere. Note that only locally stored media will be backed up.'),
'selected_text' => __('Yes'),
'deselected_text' => __('No'),
'default' => false,
],
],
'submit' => [
'submit',
[
'type' => 'submit',
'label' => __('Save Changes'),
'class' => 'btn btn-lg btn-primary',
],
],
],
];