Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy data cross object storage #595

Closed
yitzhaklevi opened this issue Jul 17, 2023 · 4 comments
Closed

copy data cross object storage #595

yitzhaklevi opened this issue Jul 17, 2023 · 4 comments

Comments

@yitzhaklevi
Copy link

Is it possible to use S5CMD to transfer data from S3 to GS ? (or vise versa)
(Currently thinking about transferring from S3 to local file system to GS (after configurating properly), but this solution would probably run slower + require local disk memory.
Thanks !

@szeitlin
Copy link

Should be possible if you're logged into a machine on one, you can pull or push to the other (I'm doing this now with a couple of different filesystems, just not those).

@yitzhaklevi
Copy link
Author

Thanks @szeitlin for the quick response !
I didn't quite understand your answer, to which machine I need to be connected ?

@szeitlin
Copy link

Having slept on it, I'm actually not sure if what I'm doing would work for what you want to do. I think probably what you need to do is have 2 profiles - one for S3, and one for GCS, and it doesn't look like s5cmd currently supports being able to use both at the same time.

I'm currently working with a system where I can log in and install my credentials for the other storage system, so I only need one set. I'm not sure if you could get that to work with e.g. EC2 or something.

@igungor
Copy link
Member

igungor commented Jul 28, 2023

Hello @yitzhaklevi

Unfortunately, it's not possible right now. As you mention, you'd need a buffer (such as disk, or memory) to first download, and then upload the objects you want to transfer.

If it's a one time thing, you may want to take a look at S3 to GCS transfer guide. If you'd like to synchronize occasionally, rclone tool is good at syncing between different storage providers.

Duplicate of #529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants