{"id":9571,"date":"2021-07-10T09:49:03","date_gmt":"2021-07-10T09:49:03","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=9571"},"modified":"2024-03-19T12:48:41","modified_gmt":"2024-03-19T12:48:41","slug":"copying-data-from-storage-bucket-to-a-filestore-file-share","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/","title":{"rendered":"Copying data from Storage bucket to a Filestore file share"},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Copy data from Cloud Storage to Filestore&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Copy data from Cloud Storage to Filestore<\/span><\/h2>\r\n<p>Copying data from Google Cloud Storage to Google Cloud Filestore enables users to efficiently transfer and manage large datasets within their cloud infrastructure. This introduction provides an overview of the process and significance of copying data from Cloud Storage to Filestore.<\/p>\r\n<p>Google Cloud Storage serves as a scalable and durable object storage solution for storing various types of data, including files, images, and backups. On the other hand, Google Cloud Filestore provides a high-performance, fully-managed file storage service suitable for applications that require low-latency access to shared file systems.<\/p>\r\n<p>Copying data from Cloud Storage to Filestore involves transferring files from Cloud Storage buckets to Filestore instances, where they can be accessed and utilized by applications and users. This process can be performed using tools such as gsutil or the Cloud Console, offering flexibility and ease of use for users.<\/p>\r\n<h3><a href=\"https:\/\/prwatech.in\/blog\/\"><strong>Prerequisites<\/strong><\/a><\/h3>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/cloud.google.com\/free\/?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=japac-IN-all-en-dr-BKWS-all-core-trial-EXA-dr-1605216&amp;utm_content=text-ad-none-none-DEV_c-CRE_644159077391-ADGP_Hybrid+%7C+BKWS+-+EXA+%7C+Txt+~+GCP_General_core+brand_main-KWID_43700074766895889-aud-970366092687:kwd-87853815&amp;userloc_9062009-network_g&amp;utm_term=KW_gcp&amp;gad_source=1&amp;gclid=CjwKCAjw7-SvBhB6EiwAwYdCAR4cDE-TsZ_kVCYCYR1mZTa-kz1Gw1XbOOsZqzwmt_zR6_Ql78ybzhoCRi0QAvD_BwE&amp;gclsrc=aw.ds\">GCP account<\/a><\/p>\r\n\r\n\r\n\r\n<p>Console<\/p>\r\n\r\n\r\n\r\n<p>\u00a0Menu &gt; Cloud Storage &gt; Bucket<\/p>\r\n\r\n\r\n\r\n<p>the bucket and click on the file which you want to copy<\/p>\r\n\r\n\r\n\r\n<p>Copy the URI of file<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9572\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png\" alt=\"\" width=\"571\" height=\"301\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50-300x159.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Open Cloud Shell<\/p>\r\n\r\n\r\n\r\n<p>Paste the code below<\/p>\r\n\r\n\r\n\r\n<p>$\u00a0\u00a0 sudo gsutil cp \u2013r &lt;URI_of_File&gt; \/mount_directory<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9573\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-51.png\" alt=\"\" width=\"886\" height=\"118\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-51.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-51-300x40.png 300w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>It will copy the file from Cloud Storage Bucket into filestore file share directory<\/p>\r\n\r\n\r\n\r\n<p><strong>Copying data from a Filestore file share to a Cloud Storage bucket<\/strong><\/p>\r\n\r\n\r\n\r\n<p>$\u00a0\u00a0 sudo gsutil cp \u2013r \/mount_directory gs:\/\/&lt;Bucket_name&gt;\/folder_name<\/p>\r\n\r\n\r\n\r\n<p>It will copy the file from file share to cloud storage bucket<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9574\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-52.png\" alt=\"\" width=\"901\" height=\"134\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-52.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-52-300x45.png 300w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>You can use the below command also to copy the file to or from filestore instances<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">$\u00a0\u00a0\u00a0\u00a0 gsutil rsync -r mount-directory gs:\/\/bucket<\/pre>\r\n\r\n\r\n\r\n<p>It will copy the whole files containing in mount directory into bucket<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9575\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-53.png\" alt=\"\" width=\"873\" height=\"130\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-53.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-53-300x45.png 300w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/figure>\r\n<p>&nbsp;<\/p>\r\n<p><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Copy data from Cloud Storage to Filestore&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Copy data from Cloud Storage to Filestore<\/span><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Copy data from Cloud Storage to Filestore Copying data from Google Cloud Storage to Google Cloud Filestore enables users to efficiently transfer and manage large datasets within their cloud infrastructure. This introduction provides an overview of the process and significance of copying data from Cloud Storage to Filestore. Google Cloud Storage serves as a scalable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1630,1],"tags":[1540,1537,605,699,700,984,711,617,683,684,685,611,692],"class_list":["post-9571","post","type-post","status-publish","format-standard","hentry","category-cloud-storage","category-google-cloud-platform","tag-filestore","tag-filestore-in-gcp","tag-gcp","tag-gcp-certification","tag-gcp-cloud-console","tag-gcp-course","tag-gcp-instance","tag-google-cloud","tag-google-cloud-certification","tag-google-cloud-console","tag-google-cloud-courses","tag-google-cloud-platform","tag-google-cloud-training"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Copy data from Cloud Storage to Filestore - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Copy data from Cloud Storage to Filestore - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-10T09:49:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-19T12:48:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/\",\"url\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/\",\"name\":\"Copy data from Cloud Storage to Filestore - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png\",\"datePublished\":\"2021-07-10T09:49:03+00:00\",\"dateModified\":\"2024-03-19T12:48:41+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png\",\"width\":628,\"height\":332},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Copying data from Storage bucket to a Filestore file share\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Copy data from Cloud Storage to Filestore - Prwatech","description":"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Copy data from Cloud Storage to Filestore - Prwatech","og_description":"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-07-10T09:49:03+00:00","article_modified_time":"2024-03-19T12:48:41+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/","url":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/","name":"Copy data from Cloud Storage to Filestore - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png","datePublished":"2021-07-10T09:49:03+00:00","dateModified":"2024-03-19T12:48:41+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Copy data from Cloud Storage to Filestore with Prwatech - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/07\/image-50.png","width":628,"height":332},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/google-cloud-platform\/cloud-storage\/copying-data-from-storage-bucket-to-a-filestore-file-share\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Copying data from Storage bucket to a Filestore file share"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=9571"}],"version-history":[{"count":8,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9571\/revisions"}],"predecessor-version":[{"id":10978,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/9571\/revisions\/10978"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=9571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=9571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=9571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}