简体   繁体   中英

Migrating data to GCP persistent disk from local linux machine

I am trying to find commands to copy data from a local linux VM to GCP persistent disk. I think gsutil cp may be what I am looking for however I cannot find the documentation nor do I know the path to where I would need to copy the data to.

I have seen how to copy to google cloud bucket storage but not to a persistent disk.

Thanks, K

The following seems to have worked gcloud compute scp --recurse db/ machineName:/dir/path/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM