Velero
Learn how to configure Velero for use with Filebase.
What is Velero?
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.
1. Create a velero_credentials
file in your Velero download directory. In the file, enter the following information:
velero_credentials
file in your Velero download directory. In the file, enter the following information:Replace the following values to reflect your configuration:
aws_access_key_id: Filebase Access Key
aws_secret_access_key: Filebase Secret Key
2. Install Velero with the following command:
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.
3. Configure a backup schedule.
This example creates a daily backup. Replace ‘Schedule Name’ with your preferred value.
velero schedule create --schedule "0 7 * * *"
4. Restore from a backup.
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>
Last updated