On 1/13/22 9:09 AM, Sergio García Maroto wrote:
I am trying to utilize new AWS S3 bucket backup contrib.
Using the collection API I am getting the following error
API CALL
http://servername:8983/solr/admin/collections?action=BACKUP&name=personbackup&collection=person&repository=s3&location=s3://bucketname/backupfolder
I recently did a test using the s3 backup repo, to help somebody figure
it out. I had it working.
I believe that the "location" parameter should be a directory name
inside the bucket, not a URL. I do not recall whether I had to create
that directory in the bucket before it would work, or whether it created
the directory for me. If it were me, I would create the directory in
AWS prior to running the API call.
I am assuming that you have taken steps to define the AWS access keys on
the startup command, and that you also took steps to add the required jars?
Thanks,
Shawn