<?php12use Pterodactyl\Models\Backup;34return [5// The backup driver to use for this Panel instance. All client generated server backups6// will be stored in this location by default. It is possible to change this once backups7// have been made, without losing data.8'default' => env('APP_BACKUP_DRIVER', Backup::ADAPTER_WINGS),910// This value is used to determine the lifespan of UploadPart presigned urls that wings11// uses to upload backups to S3 storage. Value is in minutes, so this would default to an hour.12'presigned_url_lifespan' => env('BACKUP_PRESIGNED_URL_LIFESPAN', 60),1314// This value defines the maximal size of a single part for the S3 multipart upload during backups15// The maximal part size must be given in bytes. The default value is 5GB.16// Note that 5GB is the maximum for a single part when using AWS S3.17'max_part_size' => env('BACKUP_MAX_PART_SIZE', 5 * 1024 * 1024 * 1024),1819// The time to wait before automatically failing a backup, time is in minutes and defaults20// to 6 hours. To disable this feature, set the value to `0`.21'prune_age' => env('BACKUP_PRUNE_AGE', 360),2223// Defines the backup creation throttle limits for users. In this default example, we allow24// a user to create two (successful or pending) backups per 10 minutes. Even if they delete25// a backup it will be included in the throttle count.26//27// Set the period to "0" to disable this throttle. The period is defined in seconds.28'throttles' => [29'limit' => env('BACKUP_THROTTLE_LIMIT', 2),30'period' => env('BACKUP_THROTTLE_PERIOD', 600),31],3233'disks' => [34// There is no configuration for the local disk for Wings. That configuration35// is determined by the Daemon configuration, and not the Panel.36'wings' => [37'adapter' => Backup::ADAPTER_WINGS,38],3940// Configuration for storing backups in Amazon S3. This uses the same credentials41// specified in filesystems.php but does include some more specific settings for42// backups, notably bucket, location, and use_accelerate_endpoint.43's3' => [44'adapter' => Backup::ADAPTER_AWS_S3,4546'region' => env('AWS_DEFAULT_REGION'),47'key' => env('AWS_ACCESS_KEY_ID'),48'secret' => env('AWS_SECRET_ACCESS_KEY'),4950// The S3 bucket to use for backups.51'bucket' => env('AWS_BACKUPS_BUCKET'),5253// The location within the S3 bucket where backups will be stored. Backups54// are stored within a folder using the server's UUID as the name. Each55// backup for that server lives within that folder.56'prefix' => env('AWS_BACKUPS_BUCKET') ?? '',5758'endpoint' => env('AWS_ENDPOINT'),59'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),60'use_accelerate_endpoint' => env('AWS_BACKUPS_USE_ACCELERATE', false),6162'storage_class' => env('AWS_BACKUPS_STORAGE_CLASS'),63],64],65];666768