Velero
Learn how to configure Velero for use with Filebase.
Velero is an open-source backup and disaster recovery command line tool for Kubernetes clusters and their volume data.
Read below to learn how to use Velero with Filebase.
This guide was tested and written using Ubuntu 20.04.
[default]
aws_access_key_id = filebase-access-key
aws_secret_access_key = filebase-secret-key
Replace the following values to reflect your configuration:
- aws_access_key_id: Filebase Access Key
- aws_secret_access_key: Filebase Secret Key
velero install \
--provider aws \
--bucket filebase-sample-bucket \
--secret-file /path/to/velero-credentials \
--use-volume-snapshots=false \
--plugins velero/velero-plugin-for-aws:v1.4.0 \
--backup-location-config region=us-east-1,s3ForcePathStyle="true", s3Url=s3.filebase.com
Replace the following values to reflect your configuration:
- bucket: Your Filebase Bucket Name
- secret-file: Path to your velero-credentials file.
Velero is installed in the
velero
namespace by default. Please see the Velero documentation here for installing in different namespaces. This example creates a daily backup. Replace ‘Schedule Name’ with your preferred value.
velero schedule create --schedule "0 7 * * *"
Replace ‘Schedule Name’ with the name you gave your schedule when you created it and ‘Timestamp’ with the time stamp of the backup.
velero restore create --from-backup <SCHEDULE_NAME>-<TIMESTAMP>
If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 9mo ago