Closed alicvsroxas closed 3 days ago
Managed to find solution with support. When doing a restore with an S3 bucket the same configurations of the s3storage part in the ABS CR should be the same in the Aerospike restore CR:
apiVersion: asdb.aerospike.com/v1beta1
kind: AerospikeRestore
metadata:
name: aerospikerestore
namespace: ${namespace}
spec:
backupService:
name: aerospikebackupservice
namespace: ${namespace}
type: Full
config:
destination:
label: destinationCluster
credentials:
# Make sure the password file is mounted in the backup service pod via secret at the path specified here.
password-path: ${password-path}
user: ${username}
seed-nodes:
- host-name: ${aerospike_cluster}.${namespace}
port: ${aerospike_port}
policy:
no-generation: true
no-indexes: true
source:
"path": "s3://${bucket_name}/${routine_name}/backup/1730897836735/data/ns1"
"type": aws-s3
"s3-region": ${aws_region}
// missed the following lines:
"s3-endpoint-override": ""
"s3-profile": ""
Would highly suggest adding in the docs an example of configuring an Aerospike restore with s3 bucket here: https://aerospike.com/docs/cloud/kubernetes/operator/backup-and-restore/restore-configuration
Closing this issue
Hello team,
I'm trying to use the aerospikerestore CR and restore data from an S3 bucket. Configuring aerospike backup CR works and I can see the files in S3 using:
But when I try and do a
full
/incremental
with the following CR:I get the following error from the aerospike operator:
When trying to do a restore in the
routine and timestamp
method:I get the following errors:
I'm following the examples in the following docs: https://aerospike.com/docs/cloud/kubernetes/operator/backup-and-restore/restore-configuration and taking reference from here: https://aerospike.com/docs/tools/backup-service/examples#direct-restore-using-a-specific-backup
Did I miss some configuration? I tried multiple ways of setting up the path to the s3 bucket but none seems to work.