# can we use S3-fuse for storing MySQL dumps?

I have a ubuntu 22.04 instance running in Aws and I’m using my secondary volume to store my mysql dumps at local and It is running out of space due to growing backup sizes,Instead i thought of using S3 fuse ,but when mounting a s3 bucket within the mount command itself we will give cache=/tmp ,so s3 bucket will initially store dumps in /tmp due this my root volume getting filled.how to overcome this issue?

Initialy tried this command

s3fs s3mysqlbackupbucket /mount/s3-bucket -o iam_role=Ec2-role -o allow_other -o use_cache=/tmp -o umask=0022

As an alternative approach i tried the below:

I mounted my S3 bucket at /mount/s3-bucket and created a directory called cache inside it. I then tried to use this cache directory with the command:

s3fs s3mysqlbackupbucket /mount/s3-bucket -o iam_role=Ec2-role -o allow_other -o use_cache=/mount/s3-bucket/cache -o umask=0022

After running this command, I am unable to create files in /mount/s3-bucket/. What is causing this issue?and How to overcome this?