If you find a way to mount the S3 bucket such that it shows up as a filesystem on your computer, then yes, you can restore to that. Not directly with restic, no.
Good question. Because the data size is ~500GB, and I don’t have space on my laptop. So I would have to buy an extrenal dirve. After reading blogs and questions about that, the restoring to an external drive will take a lot of time (many hours), then pushing the data from the external to the S3 too. So, if it would be possible to mount the S3 and restoring from a S3 to another, it would be great.
(Just get a VM from somewhere and the needed disk space (both if which is mostly paid by the time you use it), restore there locally and then push it to your destination wherever that is. It’s not rocket science really)
if the OP has skill and money, that is a good way to go
or
take that same money and purchase a cheap usb key
i think these settings could work, to keep the rclone vfs file cache as small as possible rclone mount --vfs-cache-max-age=1m transfers=32
--vfs-cache-max-age=1m
once a file has been copied from the local rclone vfs file cache to s3,
it will be purged from the local cache after after one minute, instead of the default of one hour.
transfers=32
rclone will copy 32 files at the same time.
You can get a full month of a Hetzner shared CPX11 for 4,58 € + roughly 6€ for 500GB of SSD space if you only buy it for a week. (0,05236 €/GB/Month) with a gigabit uplink.
So no, you most likely won’t be better off by buying a cheap usb key.
If you deal with S3 and command line backup utilities you are probably more technically inclined than the average folk.
A solution to the main question in form of a workaround was already provided as well as an answer to whether Restic itself can do restores to S3 buckets directly.
rclone has a pretty solid documentation and also super nice people on their forum to help with anything related to it
Folks, thank you very much for all your answers. I thought about my problem and my primary approach was not the good one. Using a VM with disk spaces to restore, then push the data into a S3 bucket sounds a good idea.
i assumed that the OP was looking for a long-term solution, not a one-shot with a rented vm.
tho, in this case, i believe that rclone can get this done.