Configuring the Backup Storage
Navigate to the Admin panel → Setup → General Settings → Backup to choose your backup storage method.
Select from these storage options:
- Local Only: Backups saved exclusively on the website server
- Cloud Only: Backups saved exclusively to cloud storage
- Local and Cloud: Backups saved to both server and cloud
Cloud Storage Options
FTP
Add these configuration settings to your /.env file and set FILESYSTEM_CLOUD=ftp:
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
Add these configuration settings to your /.env file and set FILESYSTEM_CLOUD=sftp:
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
Configure these parameters in /.env with FILESYSTEM_CLOUD=s3:
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
Configure these parameters in /.env with FILESYSTEM_CLOUD=dropbox:
FILESYSTEM_CLOUD=dropbox DROPBOX_ROOT=path/to/storage/root DROPBOX_AUTHORIZATION_TOKEN=your-dropbox-authorization-token
Backblaze
Configure these parameters in /.env with FILESYSTEM_CLOUD=backblaze:
FILESYSTEM_CLOUD=backblaze BACKBLAZE_ACCOUNT_ID=your-backblaze-account-id BACKBLAZE_APPLICATION_KEY=your-backblaze-app-key BACKBLAZE_BUCKET=your-backblaze-bucket
DigitalOcean
Configure these parameters in /.env with FILESYSTEM_CLOUD=digitalocean:
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