Configuring the Backup Storage

Go the Admin panel -> Setup -> General Settings -> Backup to select a storage type for the backups.

For local storage, select the Local Only option and save the form. For cloud storage, select the Cloud Only or Local and Cloud options and save the form.

Cloud Storage

FTP

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to ftp like below and replace the FTP parameters.

FILESYSTEM_CLOUD=ftp
FTP_HOST=your-ftp-host
FTP_USERNAME=your-ftp-username
FTP_PASSWORD=your-ftp-password
FTP_PORT=21
FTP_ROOT=/path/to/storage/root/
FTP_PASSIVE=true
FTP_SSL=true
FTP_TIMEOUT=30

SFTP

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to sftp like below and replace the SFTP parameters.

FILESYSTEM_CLOUD=sftp
SFTP_HOST=your-sftp-host
SFTP_USERNAME=your-sftp-username
SFTP_PASSWORD=your-sftp-password
SFTP_SSH_PRIVATE_KEY=
SFTP_PORT=22
SFTP_ROOT=/path/to/storage/root/
SFTP_TIMEOUT=30

Amazon S3

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to s3 like below and replace the Amazon S3 parameters.

FILESYSTEM_CLOUD=s3
AWS_ACCESS_KEY_ID=your-s3-access-key
AWS_SECRET_ACCESS_KEY=your-s3-secret-key
AWS_DEFAULT_REGION=your-s3-region-code
AWS_BUCKET=your-s3-bucket
AWS_URL=

Dropbox

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to dropbox like below and replace the Dropbox parameters.

FILESYSTEM_CLOUD=dropbox
DROPBOX_ROOT=path/to/storage/root
DROPBOX_AUTHORIZATION_TOKEN=your-dropbox-authorization-token

Backblaze

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to backblaze like below and replace the Backblaze parameters.

FILESYSTEM_CLOUD=backblaze
BACKBLAZE_ACCOUNT_ID=your-backblaze-account-id
BACKBLAZE_APPLICATION_KEY=your-backblaze-app-key
BACKBLAZE_BUCKET=your-backblaze-bucket

DigitalOcean

You have to add the config below in your /.env file and you have to set the FILESYSTEM_CLOUD= variable to digitalocean like below and replace the DigitalOcean parameters.

FILESYSTEM_CLOUD=digitalocean
DIGITALOCEAN_KEY=your-s3-access-key
DIGITALOCEAN_SECRET=your-s3-secret-key
DIGITALOCEAN_REGION=your-s3-region-code
DIGITALOCEAN_BUCKET=your-s3-bucket