What causes the "Attempting to get the size of the backup target failed. Forbidden: Forbidden status code: 403" error during backups/restore?
The error means that the BACKUP/RESTORE command is forbidden from accessing this info within the S3 bucket. Verify your Access Control List (ACL) and various privileges tied to your S3 bucket to make sure you have proper permissions to access the files within.
Example of the error:
ERROR 2297 ER_SUBPROC_SIZE: Leaf Error (node-*****): Attempting to get the size of the backup target failed. Forbidden: Forbidden status code: 403, request id: *******, host id: ****
An S3 Forbidden 403 error indicates a permission, configuration, or setup problem with the S3 bucket. SingleStore is unable to use the credentials that are being supplied to make the connection to the S3 bucket. Verify the S3 configuration. AWS provides guidance in their docs @ https://aws.amazon.com/premiumsupport/knowledge-center/s3-403-forbidden-error/.
Click the below links to learn about parameters that can be passed with BACKUP and RESTORE commands,