![post-title](https://i.ytimg.com/vi/_RsaNzZFuUU/hqdefault.jpg)
gcp windows教學 在 コバにゃんチャンネル Youtube 的精選貼文
![post-title](https://i.ytimg.com/vi/_RsaNzZFuUU/hqdefault.jpg)
Search
本篇是紀錄在Google 的Qwiklab 平台內,完成「Compute Engine: Qwik Start - Windows」這個quest 所學到的內容,包括如何透過GCP Console 在GCP ... ... <看更多>
【GCP 教學】 Windows 怎樣用最划算?系統搬上Google Cloud 前必知的3件事. Public · Event · by Cloud Ace Taiwan. ... <看更多>
#1. Day 9 GCP - 建立與設定Windows Server 2016 - iT 邦幫忙
總結透過今天的教學相信大家都已經在GCP上,順利的建立虛擬機器了,與AZURE中比較不同的部分,主要是GCP第一次建立設備,必須先設定首次登入的密碼,然後再修改成自訂密碼 ...
#2. [手把手教學] 如何在Google Cloud 上跑Windows Server 容錯移 ...
Running Windows Server Failover Clustering on GCP (1). 手把手介紹如何在Google Platform 上面建立Windows Server 容錯移轉叢集並達到IIS Web ...
#3. 第一次開Google VM要注意什麼?Compute Engine開機詳細介紹
繼上次分享《【GCP教學】第一次開Google VM就上手– Compute Engine操作簡介》之後, ... 的開機磁碟最小10GB,Windows最小是50GB,最大可以到64TB:.
#4. 【GCP 教學】 Windows 怎樣用最划算?系統搬上 ... - Accupass
【GCP 教學】 Windows 怎樣用最划算?系統搬上Google Cloud 前必知的3件事. Microsoft 公布將推出Win 11 引發關注,除了Windows 作業系統,Microsoft 其他產品如SQL ...
#5. GCP 雲端環境建置機學- MultiCharts討論區 - COCO研究院
[教學] GCP 雲端環境建置機學 ... 點擊載入圖片; 往下找,選擇windows server 2016 datacenter 後,按"確定" 10.jpg 點擊載入圖片; 打勾之後就可以按" ...
這些簡短的教學課程可協助您開始使用Cloud Platform 的產品、服務和API。 建立Linux VM. 建立、連結及刪除VM 執行個體. 產品:Google Compute Engine. 平均所需時間 ...
#7. 建立GCP上的虛擬機 | gcp windows 10 - 旅遊日本住宿評價
[手把手教學] 如何在Google Cloud 上跑Windows Server 容錯移... | gcp windows 10. Running Windows Server Failover Clustering on GCP (1) ... Windows 10 Remote ...
#8. 在GCP 上建立VM 架設Windows Server | Titangene Blog
本篇是紀錄在Google 的Qwiklab 平台內,完成「Compute Engine: Qwik Start - Windows」這個quest 所學到的內容,包括如何透過GCP Console 在GCP ...
#9. Day 9 GCP - 建立與設定Windows Server 2016 | 西夏詩人
透過今天的教學相信大家都已經在GCP上,順利的建立虛擬機器了,與AZURE中比較不同的部分,. 主要是GCP第一次建立設備,必須先設定首次登入的密碼,然後再 ...
#10. GCP教學:新增VM執行個體 - 電癮院
Google Cloud Platform 的自訂虛擬機,也就是「VM執行個體」,在建立的「彈性」上,真 ... 請參考這篇文章「GCP教學:使用Cloud Launcher一鍵架站」。
#11. 在GCP 上建立VM 架設Windows Server | 健康跟著走
google cloud platform windows教學 - 2019年4月16日—本篇是紀錄在Google的Qwiklab平台內,完成「ComputeEngine:QwikStart-Windows」這個quest所學到的內容,包括...
#12. GCP — 建立一台虛擬機 - Medium
利用GCP 主控台建立一個virtual machine; 利用gcloud command line 建立 ... Linux,和Windows Server, 更多資訊可以參考作業系統文件Firewall 勾選 ...
#13. 使用Google Cloud Platform 雲端主機免費版架設WordPress 教學
Google 在今年Cloud Next 大會上宣布將原有Google Cloud Platform(GCP)提供的300 美元試用額度時間從原本兩個月延長至一年,更推出「一律免費」(Always Free Tier) ...
#14. [教學] 如何在Google Cloud Platform 架設免費伺服器 - 傑瑞窩在這
您好:不好意思,請問一下,我在Windows 7作業系統下用Google Cloud Platform建立一個VM(Windows Sever 2012 R2),要如何讓這個VM讀取USB外接硬碟?搜尋網 ...
#15. 探索和評估Google Cloud Platform (GCP) VM 並將其遷移至Azure
請遵循教學課程來設定Azure,並準備GCP VM 來進行評量。 請注意: ... 此執行個體必須執行Windows Server 2012 R2 或Windows Server 2016。
#16. 【GCP 教學】 Windows 怎樣用最划算?系統搬上 ... - Facebook
【GCP 教學】 Windows 怎樣用最划算?系統搬上Google Cloud 前必知的3件事. Public · Event · by Cloud Ace Taiwan.
#17. [教學][Ubuntu 架站] 如何在Google Cloud Platform 架設Ubuntu ...
主要的雲端服務商有AWS、Microsoft Azure、Google Cloud Platform,本系列課程主要會使用Google Cloud Platform 建立Ubuntu 伺服器,並在Ubuntu 上 ...
#18. GCP 是什麼?Google Cloud Platform 完整介紹、常見問題 ...
由Google Cloud 認證架構師提供技術諮詢服務。 CloudMile Support 系統全年無休支援。 協助服務部署至GCP、專案相關基礎建設、GCP 主題教學。 此外, ...
#19. [教學] Google Compute Engine ( GCE ) 使用PuTTY SSH 登入 ...
GCE 教學:Google Compute Engine 連接VM 執行個體,除了Google Cloud Shell 和gcloud compute。Windows 上也可使用PuTTY SSH 登入GCE 實例。
#20. 【數位3C】Google雲主機也能跑Win10~GCP自定義Windows ...
Tweet 雖然GCP可以使用自定義影像檔但網路上的資訊, 或者是GCP官方文件基本都是關於Linux類的 ... 因為GCP上Googleoogle官方提供的影像檔案都是關於Windows Server類.
#21. VMware 的linux 虛擬主機遷移到GCP 雲端主機教學 - 雪莉的 ...
上次使用VMware Exsi 的Windows Server 2016 虛擬主機順利遷移到GCP 雲端主機使用後,這次使用Linux 的虛擬主機應該更是容易與簡單,果然很順利地 ...
#22. 【GCE】使用SSH工具連線至Google Compute Engine主機
在Google Compute Engine,使用其他工具連線需要先準備私鑰檔,才能連線到自己建立的linux主機(windows 主機則是下載RDP檔案開啟即可) ...
#23. [GCP] 使用費率一覽
使用Google Cloud Platform是需要付費的,而GCP費用項目包含許多種,以下針對GCP的收費進行說明。 ... 收費項目為RHEL、SUSE、WINDOWS、SQL SERVER等。
#24. 政府組態基準(GCB) - 行政院國家資通安全會報技術服務中心
Windows 8.1、Windows 10、Windows Server 2012 R2、Windows Server 2016、Red Hat ... 2016、Outlook 2016、Apache HTTP Server 2.4、Microsoft SQL Server 2016 ...
#25. Google Cloud Platform 架構使用基礎教學的總結 - 交通大學
(Google Cloud Platform 架構使用基礎教學108-10-16) ... GCP基礎講授及實作課程_ ... Lab2:Creating a Virtual Machine or Compute Engine: Qwik Start - Windows.
#26. Day 9 GCP | 蘋果健康咬一口
前言在前面的文章中,已經介紹過如何在AZURE的虛擬機器上,建立Windows Server 2016。 ... Image 034 - [教學] 如何在Google Cloud Platform 架設免費伺服器.
#27. google雲端主機 - 軟體兄弟
Google Cloud Platform 的許多運算工作負載都要比其他雲端平台更為便宜(平均可節省60% ... Windows Firewall Control 是一個功能強大的軟件,它擴展了Windows 防火牆的 ...
#28. Google Cloud Platform (GCP) 的VM 執行個體空間不夠怎麼辦 ...
在左上角「尋找你的電腦」找到Ubuntu 軟體,這就像是Windows 軟體市集一樣,在這裡安裝小工具都不需要任何的指令,只要點一點就可以簡單的完成。 查詢「 ...
#29. 簡介- Google Cloud Platform In Practice - GitBook
GCPUG透過網際網路串聯喜好Google Cloud的使用者,分享與交流使用GCP的點滴經驗。 ... 我們期望以實際的使用與建置案例與教學來架構這本書,讓需要使用到的朋友可以按 ...
#30. [EC2 教學] 使用SSH 從Windows 10 連線至Linux Instance
前一篇文章「EC2 免費教學:使用User Data 在EC2 Instance 上建一個簡單的網站」已經…
#31. 【攻略】教你如何簡單架設Google Cloud Platform Minecraft ...
回到VM執行個體,"遠端桌面通訊協定"下拉,選擇設定Windows密碼>設定>存好這組密碼後關閉, ... 這裏有大大整了差不多的影片教學, 但他是用Linux!!
#32. 我的GCP學習日誌#3 SFTP 使用SSH金鑰連線GCP - 小毛工作室
先準備好GCP的Compute Engine主機 ... 回到GCP的管理後台(Web console),切換到Compute Engine的執行個體列表 ... download filezilla foe windows.
#33. Google Cloud Platform 的優勢 - 藥師家
GoogleCloudPlatform(GCP)在許多方面都能符合您的企業需求。歡迎進一步瞭解我們具有前瞻性 ... Google Cloud Platform 的優勢 ... google cloud platform windows教學 ...
#34. WordPress / 架站教學一:使用Google 台灣主機免費架設自己 ...
雖然GCP 是要付費的伺服器租用服務,不過Google 還是很佛心的提供了一年300 ... 這裡(https://cloud.google.com/sdk/) 下載,依照你的作業系統(Windows, Mac, Linux, …) ...
#35. Compute Engine - Google Cloud Platform Console說明
Compute Engine · Compute Engine 是什麼? 使用前先瞭解功能和概念。 · Linux 入門指南: 建立和設定Linux 虛擬機器執行個體,以代管簡易的網路伺服器。 · Windows 入門指南 ...
#36. 安裝Google Cloud SDK | Penueling 磐凌科技 - 網頁系統開發
想要把本地的檔案推到GCP 上面,一定就會使用到Google Cloud SDK,官網上面有說明 ... 這邊是使用macOS 系統, windows 的指令可能會有不同,所以如果 ...
#37. 使用Azure Migrate 伺服器評量來探索GCP VM 執行個體 - GitHub
本教學課程說明如何使用Azure Migrate 探索Google Cloud Platform (GCP) ... Windows VM 執行個體, 允許WinRM 連接埠5985 上的輸入連線(HTTP),讓設備 ...
#38. Google Cloud Platform 教育版在PTT/Dcard完整相關資訊
提供Google Cloud Platform 教育版相關PTT/Dcard文章,想要了解更多Google Cloud SQL 教學、Google Cloud Platform Windows 教學有關運動與健身文章或書籍, ...
#39. [心得] Google Drive 遷移教學- 看板Free_box
如果是Google Drive 遷移Microsoft 的話,開GCP 有300 美金可以使用, ... 教學的rclone 版本為v1.54.1 第一步申請Google Cloud Platform (gcp) ...
#40. 從Google Container Engine 連線到 ... - Ada Hsu 的胡思亂想
... 對應的hosts 檔教學,適用Windows、Mac OS X 與Linux 系統 一文說明)內,此處設定mysql.gcp 對應到主資料庫,failover.gcp 對應到容錯資料庫。
#41. Google GCP 磁碟空間大小調整與檔案系統設定指令 - 鷹眼觀察
Google Cloud Platform (GCP)每一個VM 虛擬機所對應的磁碟空間(包含標準永久磁碟與SSD 永久磁碟),其硬碟空間的容量大小,可以在建立執行個體後, ...
#42. [Google Cloud Platform] 1-2 Google Cloud SDK安裝 - 給你魚竿
但是裝了之後可以用自己的電腦連到GCP平台. 而不需要每次都用網頁的方式控制. 1. 官網https://cloud.google.com/sdk/docs/quickstart-windows.
#43. google cloud platform教學GCP教學:使用Cloud - Azyvp
Google Cloud Platform 現在有300鎂x一年的免費使用教學將分為上下兩篇,上篇為VM的建立與設定,下篇為MC伺服器的安裝與開啟將會提及Windows Server與Ubuntu 的架設 ...
#44. Docker - 放棄思考
筆記、教學及技術分享,偶然會有人生哲學,或多或少有政治黑暗。 ... 上一回【申請Google Cloud Platform ( GCP ) 及示範Kubernetes Engine】.
#45. Windows 10 運行Ubuntu Linux 的Bash Shell 原生執行環境教學
以下是在Windows 10 中啟用bash shell 功能的步驟教學。 Step 1 在Windows 10 的開始功能表中,點選「設定」的圖示。 開始功能 ...
#46. GCP智慧雲端API及AutoML技術實戰 - 工研院產業學院
本課程將各項 GCP 產品初步教學及應用的資源,在四天的研習中,從入門到實作, ... l Microsoft Certificate DAT275x Principles of Machine Learning Python Edition.
#47. google compute engine啟動一台vm的平均時間 - 數位感
Compute Engine開機...2020年5月13日· 繼上次分享[GCP教學]第一次開Google VM就 ... 例如,如果在第一台虛擬機器上安裝Microsoft Office 和Microsoft Visio,在第二台 ...
#48. RunCloud 整合GCP 主機,建立WordPres 網站教學 - Pinterest
你在煩惱Windows 作業系統升級與購買正版的問題嗎?如今,你不需要依靠網路破解Windows 教學或是使用盜版Windows 10 系統了!現在只要透過我們今天所分享的正版序號 ...
#49. [教學] 如何使用Google Cloud Platform的App Engine | 辛比誌
在Google Cloud Platform出現以前,Google就已經有提供App Engine的服務給大家使用,分為付費與免費的版本,免費的版本所能執行的次數比較受到限制, ...
#50. Python x GCP 雲端程式開發實戰 - 台灣大學資訊系統訓練班
台灣大學資訊系統訓練班以教學口碑著稱,講師群發揮質樸簡單的資工人特色, ... 而近幾年,Google 發表了雲端運算平台Google Cloud Platform (GCP),開始將這些基礎 ...
#51. 共用通訊錄平台- Google Workspace - 宏庭科技
GCP 服務介紹 · 大數據資料倉儲 · IT 架構現代化 · 容器化微服務 · 無伺服器服務 ... Chromebook 商務筆電首選 · Chromebook 新一代教學神器 · 數位雲端教室方案 ...
#52. 虛擬機乾坤大挪移搬進vSphere就看這篇 - 網管人
若要安裝在相容的伺服器作業系統,則目前支援的有Windows Server 2008 SP2至Windows Server 2016。 圖1 下載VMware vCenter Converter Standalone 6.2。
#53. Google Cloud Platform 架設WordPress 心得整理﹍HTTPS + ...
不過就像以前有「一鍵安裝Windows 系統」這樣的封裝包,現在有個服務「BitNami」,專門整合各種開源軟件、開發框架等,也包含了WP。 GCP 提供了BitNami 的 ...
#54. Google Cloud Platform雲端主機!SFTP金鑰產生與連線設定 ...
但比較好的是,透過Windows來產生會過程會簡單許多,若是透過MAC的話,會需要輸入一些指令,以及要返覆的的查看建立的專案類型,才能產生金鑰,因此待會在 ...
#55. GCP不小心停用網路卡-啟用網路卡 - 聰明的生活
可經由Serial port進入windows的命令提示字元(command prompt)使用指令啟動。 打開Google Cloud Platform的”VM執行個體”,選擇要控的vm instances ...
#56. GCP價格計算,教您使用官方計算機估算每月使用費! - Re:從 ...
想把網站搬上Google Cloud Platform(下稱GCP),但不清楚GCP計費方式, ... 由於是以網站上雲端為主,因此本篇的計費教學也以GCE作為教學範例。
#57. [GCloud] 使用gcloud 連線到Google Cloud Platform 上的VM
但其實對GCP 這個平台還是相當的陌生… 有時候需要進去WordPress 機器裡執行一些指令操作,. 都只能從Google Cloud 網頁上,選擇SSH 的功能:.
#58. 在Google Cloud Platform (GCP) 上架設Minecraft 伺服器(上)
Google Cloud Platform 現在有300鎂x一年的免費使用 教學將分為上下兩篇,上篇為VM的建立與設定,下篇為MC伺服器的安裝與開啟 將會提及Windows Server ...
#59. 在Google 雲端平台上自我部署單一Tableau Server
Tableau 說明 · Windows 版Tableau Server 說明 ... 在Google 雲端平台上 ... 為了長期使用,GCP 提供需另行付費的靜態IP 位址。 遠端桌面會將您登入到Google 計算 ...
#60. Google 免費主機GCP 設定教學,不花1 毛錢輕鬆架設 ... - WebLai
GCP ( Google Cloud Platform ) 是一系列由Google 提供的雲端運算服務,這邊聽不懂沒關係,反正你只要知道GCP 就跟Google 其它的產品如Gmail, Google ...
#61. 故障診斷Windows 執行個體的常見訊息 - Amazon.com
Windows 執行個體使用者指南 · 意見回饋. 偏好設定. Amazon Elastic Compute Cloud. Windows 執行個體使用者指南. 什麼是Amazon EC2? 設定 · 開始使用教學課程 ...
#62. Overview | Maps JavaScript API | Google Developers
Android · Chrome · Firebase · Google Cloud Platform · All products · Terms · Privacy; Sign up for the Google Developers newsletter Subscribe.
#63. google谷歌云GCP搭建最新科学上网方式Trojan亲测稳定不断 ...
48 comments on “google谷歌云GCP搭建最新科学上网方式Trojan亲测稳定不断流强过v2ray 一键安装trojan 伪装网站ssl证书自动续期trojan Mac windows ios ...
#64. The Keyword | Google
Discover all the latest about our products, technology, and Google culture on our official blog.
#65. Google Cloud Platform 架站轉移教學 - HackMD
Google Cloud Platform 架站轉移教學**contributed by<`任品謙`、`李承儒`>** :::info 以下在需要代換的部份會用[代換部份] 來表示,記得整個.
#66. 在Google Cloud platform(GCP)上建立外部SSH連線 - Ank Blog
圖文教學可以看ivan's blog - [Google Cloud Platform(GCP)] SSH 連線到VM(虛擬機器) ... 在Client端(windows上)產中Public Key.
#67. Git 安裝教學
GitHub 的Git 圖形化工具有提供相對應的選項讓你安裝Git 命令列工具。 你可以從GitHub for Mac 官方網站下載,網址在http://mac.github.com。 在Windows 中安裝.
#68. 專為GCP 打造的Windows 10 DD 鏡像- 小易 - SteveYi
前陣子為了要在GCP 使用VPS,於是在一段時間裡製作了Windows DD 鏡像分別是: 1,中文繁體版Windows 10 工作站專業版2,英文版Windows 10 工作站專業 ...
#69. 机智云物联网开发者社区_智能硬件及开源硬件Gokit论坛
系统升级公告专区. 视频教学: 主题: 51, 帖数: 1865. 官方教学视频、Gokit、APP开发、产品展示. 官方客服: 主题: 1441, 帖数: 4468 ... GCP生态: 主题: 89, 帖数: 116.
#70. GCP Workshop1 - 用GCP 自架Web server - 墨冊
Agenda: Sign up GCP (Google Cloud Platform); Add SSK Key; Boot your first server; Install Apache; Homework. 1. Sign ...
#71. 「教學」建立試用結束後的Google Cloud Platform 免費方案
因此我們所建立的執行個體(instance) 規格與使用量不超過上述的標準,就可以繼續免費使用Google Compute Engine 服務。 相關文章:「教學」使用GCP 台灣主機五分鐘快速架設 ...
#72. NetAdmin 網管人 05月號/2020 第172期 - 第 117 頁 - Google 圖書結果
不僅如此,還有一些含有誤導資訊的線上教學也加劇了企業的風險 ... 還提供客戶完整網路經營的平台,支援Azure、AWS、GCP雲端平台串接,另可選購企業行銷推廣工具, ...
gcp windows教學 在 [心得] Google Drive 遷移教學- 看板Free_box 的推薦與評價
因為教育號的無限空間即將取消了,目前要轉移到有無限空間的地方就只有 Google 或 M
icrosoft 的付費方案。
如果是 Google Drive 遷移 Google Drive 的話,建議開免費 GCP 來轉移,速度快流量
免費。
如果是 Google Drive 遷移 Microsoft 的話,開 GCP 有 300 美金可以使用,但是傳輸
到 Microsoft 要算流量費,注意不要超過 300 美金。
第一篇 使用 rclone
事先準備
一。針對申請 GCP 的部份,要有Google帳號與信用卡,超過流量才會扣款。當然也可以
使用自己的電腦。
二。需略懂 Linux,會盡量寫的新手也能看的懂。
三。教學的 rclone 版本為 v1.54.1
第一步 申請 Google Cloud Platform (gcp)
https://cloud.google.com/gcp/getting-started/?hl=zh-tw
免費試用
運用 $300 美元的免費抵免額和 20 項以上的一律免費產品,開始在 Google Cloud 中建
構內容。
點 [免費開始使用] 來申請帳號
1.登入
繼續使用 Google Cloud Platform,沒有帳號的話請點 [建立帳戶]
這裡我們直接登入現有的 google 帳號密碼登入
2.免費試用 Google Cloud Platform
步驟 2 之 1
服務條款 需要都勾選才能按下 [繼續]
步驟 2 之 2
帳戶類型 -> 個人
稅務資訊 -> 未登記稅籍的個人
填好必要的資料後按下 [開始免費試用]
3.XXX,歡迎使用!
感謝您提出申請。我們會在免費試用期間提供價值 $300 美元的抵免額,讓您在未來 90
天內使用。請放心,除非您啟用了自動計費功能,否則即便抵免額用盡也不會產生費用。
按下 [我知道了]
申請的時候我收到銀行簡訊扣款40元,但應該只是 Google 驗證用不會請款。
計畫啟動方式
。如要完成免費試用期的申請程序,請務必提供信用卡資訊或其他付款方式來設定帳單帳
戶及驗證身分。請放心,設定帳單帳戶並不會啟動收費機制。除非您升級為付費帳戶並明
確啟用計費功能,否則我們不會收費。您可以在試用期間隨時升級為付費帳戶。如在 90
天試用期間升級帳戶,仍可繼續使用剩餘的抵免額。
計畫涵蓋範圍
。免費試用期的抵免額適用於所有 Google Cloud 資源,包括 Google 地圖平台用量,唯
下列作業除外:
。同時執行超過 8 個核心 (或虛擬 CPU)。
。將 GPU 新增至 VM 執行個體。
。要求提高配額。如要查看 Compute Engine 配額總覽,請參閱資源配額一文。
。依據 Windows Server 映像檔建立 VM 執行個體。
。您必須升級為付費帳戶,才能執行上述各項操作。
4.開啟免費伺服器
https://cloud.google.com/free?hl=zh-tw
每個月可使用 1 個 f1-micro 執行個體,可彈性擴充的高效能虛擬機器。
每個月可以在下列其中一個美國區域中使用 1 個非先占 f1-micro VM 執行個體:
奧勒岡州:us-west1
愛荷華州:us-central1
南卡羅來納州:us-east1
每月 30 GB HDD
左上角 導覽選單 -> Compute Engine -> VM 執行個體
第一次開啟的時候要先等他一下
正在啟用 Compute Engine,這項作業可能需要幾分鐘的時間才能完成。「Compute Engin
e」說明文件
可能不會自動更新,建議可以點 [執行個體範本] 再點回 [VM 執行個體]
當可以使用的時候 VM 執行個體 的 [建立] 就可以點選了
。新增 VM 執行個體 ->
名稱:自訂
區域:us-central1 , us-central1-a
。機器設定 -> 機器系列 -> 一般用途
系列:N1
機器類型:f1-micro
。開機磁碟 -> [變更] -> 公開映像檔 ->
作業系統:CentOS
版本:CentOS 7
開機磁碟類型:標準永久磁碟
大小(GB):30
。安全性 -> 受防護的 VM
啟用 vTPM,啟用完整性監控功能 我都是取消勾選
右上角可以看到 本月使用「f1-micro」執行個體的前 744 小時完全免費。
按下 [建立]
我們把外部IP記錄下來,這裡使用 115.234.0.1 當範例
連結 -> SSH 按一下 往下的箭頭 有 在瀏覽器視窗中開啟 等等的選項 ->
在瀏覽器視窗中開啟會 自動帶 key 進去
因為是比較簡單的教學,我們使用 [在瀏覽器視窗中開啟] 的功能。
但大多時間建議使用 [使用其他 SSH 用戶端]
https://cloud.google.com/compute/docs/instances/connecting-advanced#thirdparty
tools
並在 VPC網路 -> 防火牆 -> 限定 SSH 連線的來源位置
VPC網路 -> 外部 IP 位置 -> 類型 -> 改成 靜態
第二步 使用免費的 GCP CentOS 7 安裝 Rclone
在第一步的時候我們已經在 GCP 的 SSH 裡選擇 在瀏覽器視窗中開啟
接下來的步驟都在那個 SSH 的視窗裡執行
我們先安裝必要的 unzip 與 screen
輸入
sudo yum install -y unzip screen
他會開始自己安裝看到下面的字樣
Installed:
screen.x86_64 0:4.1.0-0.26.20120314git3c2946.el7 unzip.x8
6_64 0:6.0-21.el7
Complete!
就是安裝完成了
輸入
date
可以看到時間為 UTC
Tue Mar 9 06:35:15 UTC 2021
我們改成台灣時間比較好懂
輸入
sudo ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
date
可以看到時間為台灣的時間了
Tue Mar 9 14:35:21 CST 2021
接下來安裝 rclone 輸入
curl https://rclone.org/install.sh | sudo bash
看到下面的字樣
rclone v1.54.1 has successfully installed.
Now run "rclone config" for setup. Check https://rclone.org/docs/ for more det
ails.
就是安裝完成了
第三步 設定 rclone config
幾個方式都會寫第一個先
1.gd 個人盤 -> gd 個人盤
輸入
rclone config
新增的選項是
n) New remote
所以我們輸入 n
n/s/q> n
我們自訂名稱輸入 gd01
name> gd01
會列出目前有 42 個服務可以使用,我們要輸入 15 / Google Drive
Storage> 15
預設值按輸入鍵就好
client_id>
client_secret>
再來是權限通常來源我都是選 2 唯讀,目的地才選 1 最大權限
scope> 1
預設值按輸入鍵就好
root_folder_id>
service_account_file>
進階選項
Edit advanced config? (y/n)
y) Yes
n) No (default)
預設值按輸入鍵就好
y/n>
遠端設定請輸入 n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n
Please go to the following link: 後面的連結點一下,登入你資料來源的帳號然後在
「rclone」想要存取您的 Google 帳戶 按下 [允許]
將那一串帶登入的 key 複製下來, ctrl+v 到下面的 code>
Enter verification code>
接下來是問要不要設定 Team Drive?請輸入 n
Configure this as a Shared Drive (Team Drive)?
y) Yes
n) No (default)
y/n> n
確認資訊是否正確?預設值按輸入鍵就好
[gd01]
type = drive
scope = drive
token = {"access_token":"xxxxxx"}
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
可以看到 gd01 已經建立完畢,我們依上面的步驟按 n 再建立 gd02
Current remotes:
Name Type
==== ====
gd01 drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
如果 gd01 gd02 都建立完畢後,我們再按 q 離開 rclone config
Current remotes:
Name Type
==== ====
gd01 drive
gd02 drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
我們先輸入
screen -S gd01togd02
建立多重視窗,視窗關閉或是下次要進來時輸入
screen -x gd01togd02
要看有開啟那些多重視窗可以輸入
screen -ls
如果要一個一個資料夾單獨複製可以使用 copy ,如果是整個目錄都複製可以使用 sync
如果我要將 gd01 我的雲端硬碟 > Music 整個複製到 gd02 我的雲端硬碟裡指令可以這
樣輸入
rclone -vv sync gd01:Music gd02:Music
下列是傳輸畫面,碎檔多的話速度就會變慢,單一大檔案的話速度會比較快
2021/03/09 15:27:06 INFO :
Transferred: 1.580G / 212.132 GBytes, 1%, 27.301 MBytes/s, ETA 2h11m37s
Transferred: 20 / 4364, 0%
Elapsed time: 1m1.3s
Transferring:
* Magic/CD3/CD3.bin: 80% /738.661M, 6.792M/s, 21s
* Magic/CD1/CD1.bin: 62% /727.434M, 5.787M/s, 46s
* Magic/CD4/CD4.bin: 72% /645.177M, 6.422M/s, 27s
* Magic/CD2/CD2.bin: 13% /734.545M, 3.964M/s, 2m41s
如果你想先搬重要的資料夾而且資料夾有空格與非英文字的話,要用 "" 包起來,例如
rclone -vv copy gd01:Music/"我愛聽的歌 第一集" gd02:Music/"我愛聽的歌 第一集"
2.gd 共用雲端硬碟td -> gd 共用雲端硬碟td
剛剛的視窗已經用於 gdtogd 我們有開 screen 所以直接把視窗關閉就可以
我們回到左上角導覽選單 -> Compute Engine -> VM 執行個體 -> 連結 -> 在瀏覽器視
窗中開啟
我們輸入
screen -ls
可以看到 gd01togd02 的多重視窗還存在,隨時可以輸入 screen -x gd01togd02 登入
There is a screen on:
10366.gd01togd02 (Attached)
1 Socket in /var/run/screen/S-dcshare.
不過這一次我們要設定 td 所以輸入
screen -S gd02tdtogd01td
一樣輸入
rclone config
e/n/d/r/c/s/q> n
name> gd01td
Storage> 15
client_id>
client_secret>
scope> 1
root_folder_id>
service_account_file>
y/n>
y/n> n
登入 gd01 帳號
Enter verification code> ctrl+v 貼上 code
Team Drive 這裡選 y
Configure this as a Shared Drive (Team Drive)?
y) Yes
n) No (default)
y/n> y
他會列出你目前所有的 Team Drive ,我們這次範例輸入 2
Fetching Shared Drive list...
Choose a number from below, or type in your own value
1 / ttest
\ "0Axxxx"
2 / test
\ "0Axxx"
Enter a Shared Drive ID> 2
y/e/d>
就能看到 gd01td 建立完成囉~
Current remotes:
Name Type
==== ====
gd01 drive
gd01td drive
gd02 drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
我們一樣輸入 n 建立 gd02td 前面步驟都相同
Configure this as a Shared Drive (Team Drive)?
y) Yes
n) No (default)
y/n> y
Fetching Shared Drive list...
Choose a number from below, or type in your own value
1 / abc001
\ "0Axxx"
Enter a Shared Drive ID> 1
y/e/d>
就能看到 gd02td 建立完成囉~
Current remotes:
Name Type
==== ====
gd01 drive
gd01td drive
gd02 drive
gd02td drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
我們這次只要複製其中一個資料夾的話可以這樣下,目錄名稱不需要帶 Team Drive 的名
稱,因為我們已經設定到 Team Drive 資料夾內
rclone -vv copy gd02td:Music/"我愛聽的歌 第二集" gd01td:Music/"我愛聽的歌 第二
集"
就開始複製囉~這次範例是4GB 一個檔案,可以看到速率就飆上去了~
Transferred: 19.215G / 69.114 GBytes, 28%, 82.048 MBytes/s, ETA 10m22s
Transferred: 4 / 18, 22%
Elapsed time: 4m0.7s
Transferring:
* part04.rar: 25% /3.905G, 20.265M/s, 2m26s
* part05.rar: 23% /3.905G, 20.369M/s, 2m30s
* part06.rar: 24% /3.905G, 21.818M/s, 2m18s
* part07.rar: 18% /3.905G, 17.719M/s, 3m3s
剩下要怎麼使用就自由發揮囉~
放了一天來看因為 SSH 允許所有人連入,只是要使用 key 才能登入。
輸入
sudo lastb
可以看到有人嘗試透過帳密登入但是都被擋下來了。
support ssh:notty 141.98.80.85 Wed Mar 10 08:20 - 08:20 (00:00)
guest ssh:notty 141.98.80.83 Wed Mar 10 08:20 - 08:20 (00:00)
ubnt ssh:notty 141.98.80.82 Wed Mar 10 08:20 - 08:20 (00:00)
guest ssh:notty 141.98.80.71 Wed Mar 10 08:20 - 08:20 (00:00)
test ssh:notty 141.98.80.69 Wed Mar 10 08:20 - 08:20 (00:00)
admin ssh:notty 141.98.80.82 Wed Mar 10 08:20 - 08:20 (00:00)
user ssh:notty 141.98.80.71 Wed Mar 10 08:20 - 08:20 (00:00)
admin ssh:notty 141.98.80.70 Wed Mar 10 08:20 - 08:20 (00:00)
admin ssh:notty 141.98.80.69 Wed Mar 10 08:20 - 08:20 (00:00)
uploader ssh:notty c-73-208-94-123. Wed Mar 10 06:31 - 06:31 (00:00)
pi ssh:notty 93.51.127.23 Wed Mar 10 06:29 - 06:29 (00:00)
ubnt ssh:notty 195.54.160.250 Wed Mar 10 03:25 - 03:25 (00:00)
admin ssh:notty 185.220.102.4 Wed Mar 10 00:37 - 00:37 (00:00)
admin ssh:notty 209.127.17.242 Wed Mar 10 00:37 - 00:37 (00:00)
admin ssh:notty 23.129.64.210 Wed Mar 10 00:37 - 00:37 (00:00)
admin ssh:notty 185.220.101.194 Wed Mar 10 00:37 - 00:37 (00:00)
odoo ssh:notty 202.28.194.163 Wed Mar 10 00:01 - 00:01 (00:00)
ubnt ssh:notty 31.210.22.2 Tue Mar 9 20:55 - 20:55 (00:00)
testuser ssh:notty 45.93.201.193 Tue Mar 9 18:55 - 18:55 (00:00)
zyfwp ssh:notty 195.54.160.250 Tue Mar 9 15:29 - 15:29 (00:00)
輸入
last
可以看到成功登入的使用者都是我自己 與 screen
test pts/2 35.235.241.16 Wed Mar 10 10:58 still logged in
test pts/1 35.235.240.5 Wed Mar 10 07:02 - 07:57 (00:55)
test pts/1 35.235.240.2 Wed Mar 10 01:21 - 02:08 (00:46)
test pts/3 :pts/2:S.0 Tue Mar 9 15:44 - 17:29 (01:45)
test pts/0 :pts/1:S.0 Tue Mar 9 15:23 - 15:46 (00:23)
test pts/1 35.235.241.18 Tue Mar 9 14:13 - 15:46 (01:32)
test pts/0 35.235.241.19 Tue Mar 9 14:05 - 14:27 (00:22)
reboot system boot 3.10.0-1160.15.2 Tue Mar 9 14:01 - 10:58 (20:56)
用瀏覽器登入的 IP 落在 35.235.241.0/24 與 35.235.240.0/24
https://cloud.google.com/iap/docs/using-tcp-forwarding#console
這裡寫著 35.235.240.0/20 我們只開這個區段 SSH 連入就好
左上角 導覽選單 -> 網路 -> VPC 網路 -> 防火牆
點一下 [default-allow-ssh] -> 編輯 -> 我們把 0.0.0.0/0 刪除
增加 35.235.240.0/20 -> 儲存
第二篇 使用 rclone + --drive-server-side-across-configs=true
回到 VM 執行個體 -> 連結 -> SSH -> 在瀏覽器視窗開啟
PTT 網友 LeisCat 提供 --drive-server-side-across-configs 這個參數的使用範例
在 Server 端傳輸檔案,不會使用到 Client 流量
首先我先將檔案複製一份來測試
rclone -vv copy --drive-server-side-across-configs gd01:test gd01:test2
可以看到是 server-side copy
2021/03/10 11:32:29 INFO : xxxxx: Copied (server-side copy)
而且速度很快
Transferred: 206.508G / 1.901 TBytes, 11%, 1.739 GBytes/s, ETA 16m40s
Transferred: 157 / 7994, 2%
Elapsed time: 2m1.0s
不過複製到 1.2TB 時限流了
Transferred: 1.219T / 1.901 TBytes, 64%, 322.791 MBytes/s, ETA 36m56s
Transferred: 6007 / 7994, 75%
Elapsed time: 1h6m1.0s
2021/03/10 12:36:33 DEBUG : pacer: low level retry 10/10 (error googleapi: Err
or 403: User rate limit exceeded., userRateLimitExceeded)
2021/03/10 12:36:33 DEBUG : pacer: Rate limited, increasing sleep to 16.575937
443s
我們就先用這一份 1.2 TB 的資料來做測試吧。
首先 gd01 的資料在 [我的雲端硬碟] -> [test2] 裡,我們要轉移到 gd02 [共用雲端硬
碟] -> [test2] 裡。
gd02 -> 共用雲端硬碟 -> test2 -> 管理成員 -> 將你 gd01 的帳號輸入並設定為 [管
理員] -> [共用]
要與機構外的使用者共用嗎?
共用對象 [email protected] 不在這個項目所屬的 Google Workspace 機構中。
選擇 [一律共用]
到 gd01 -> 共用雲端硬碟 -> test2 可以看到擁有者是 gd02 的組織
接下來我們建立 gd01tdtest2
rclone config
e/n/d/r/c/s/q> n
name> gd01tdtest2
Storage> 15
client_id>
client_secret>
scope> 1
root_folder_id>
service_account_file>
y/n>
y/n> n
按連結登入 gd01 帳號 -> 允許 -> 複製 code
Enter verification code> 貼上複製的 code
Configure this as a Shared Drive (Team Drive)?
y) Yes
n) No (default)
y/n> y
Fetching Shared Drive list...
Choose a number from below, or type in your own value
1 / test
\ "0Axxx"
2 / test2
\ "0Axxx"
Enter a Shared Drive ID> 2
y/e/d>
e/n/d/r/c/s/q> q
接下來我們將 gd01 test2 移動到 gd01 Team Drive test2 裡的 test2 目錄,擁有者是
gd02 的網域不是 gd01 的。
rclone -vv move --drive-server-side-across-configs gd01:test2 gd01tdtest2
:test2
可以看到是 server-side
2021/03/10 15:03:02 INFO : xxxxx: Moved (server-side)
2021/03/10 15:03:03 INFO :
Transferred: 0 / 1.139 TBytes, 0%, 0 Bytes/s, ETA -
Checks: 80 / 84, 95%
Renamed: 80
Transferred: 0 / 5940, 0%
Elapsed time: 1m0.8s
等他跑完就完成將 gd01 [我的雲端硬碟] 搬移到 gd02 擁有者的 [共用雲端硬碟] 裡了
。
第三篇 使用 rclone + --drive-server-side-across-configs + sa(Service Accounts)
我想使用 copy 的方式轉移,不想使用 move 的方式轉移,但是一個帳號有一天上傳 750
GB 的限制該如何突破?
Rclone 750G自動換號– AutoRclone使用教程
https://gsuitems.com/index.php/archives/13/
https://github.com/xyou365/AutoRclone
第一步 安裝必要軟體
我們依我們從第一篇開始建立的 GCP centos7 來教學
回到 ssh 視窗
安裝 git python36 輸入
screen -S testsa
sudo yum install -y git python36
看到 Complete! 資料就是安裝完成囉~
然後從 Github 下載代碼並安裝相關 Python 依賴包,輸入
sudo git clone https://github.com/xyou365/AutoRclone && cd AutoRclone && sudo
pip3 install -r requirements.txt
安裝完畢後到這個網站
https://developers.google.com/drive/api/v3/quickstart/python
按下 [Enable the Drive API] 此時需要登入 google 帳號請登入 GCP 的帳號,登入完
畢後再按一次 [Enable the Drive API]
Enter new project name:自訂我們輸入satest
協議請選 Yes
按下 [NEXT]
Confi your OAuth client
預設的 Desktop app 即可
按下 [CREATE]
You're all set!
You're ready to start developing!
按下 [DOWNLOAD CLIENT CONFIGURATION]
將下載的 credentials.json 存到硬碟裡
利用右上角的齒輪 -> 上傳檔案 -> 將剛剛下載的 credentials.json 上傳
檔案是傳在 user home 裡,所以輸入
cd ~/AutoRclone
sudo mv ../credentials.json ./
ll
可以看到我們需要的 credentials.json 已經建立完畢
total 100
drwxr-xr-x. 2 root root 19 Mar 11 15:38 accounts
-rw-r--r--. 1 root root 2821 Mar 11 15:38 add_to_google_group.py
-rw-r--r--. 1 root root 3122 Mar 11 15:38 add_to_team_drive.py
-rw-r--r--. 1 root root 37075 Mar 11 15:38 AutoRclone.jpg
drwxr-xr-x. 2 root root 43 Mar 11 15:38 credentials
-rw-rw-r--. 1 dcshare dcshare 430 Mar 12 16:48 credentials.json
-rw-r--r--. 1 root root 13310 Mar 11 15:38 gen_sa_accounts.py
-rw-r--r--. 1 root root 18166 Mar 11 15:38 rclone_sa_magic.py
-rw-r--r--. 1 root root 7377 Mar 11 15:38 Readme.md
-rw-r--r--. 1 root root 93 Mar 11 15:38 requirements.txt
第二步 建立 Service Accounts 帳號
我們只需要建立一個項目,建立100個 Service Accounts 一天 75TB 就足夠了。
輸入
sudo python3 gen_sa_accounts.py --quick-setup 1 --new-only
如果你遇到這個錯誤
Traceback (most recent call last):
File "gen_sa_accounts.py", line 323, in <module> download_keys=args.download
_keys
File "gen_sa_accounts.py", line 161, in serviceaccountfactory
proj_id = loads(open(credentials,'r').read())['installed']['project_id']
File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quote
s: line 1 column 2 (char 1
代表你 credentials.json 不是用上傳的方式,格式跑掉了~用這個方式傳入 sudo bash
-c "echo '[ctrl]+[v]' > credentials.json" 是不行的喔!
點一下 Please visit this URL to authorize this application: 後面的連結。
使用 Google 帳戶登入 -> 我們剛剛用 GCP 的帳號登入這裡相同 -> 允許 -> 複製授權
碼
貼到 Enter the authorization code: 裡
如果出現下列字樣
Service Usage API has not been used in project 123442485074 before or it is di
sabled. Enable it by visiting https://console.developers.google.com/apis/api/s
erviceusage.googleapis.com/overview?project=xxxxx then retry. If you enabled t
his API recently, wait a few minutes for the action to propagate to our system
s and retry.
Press Enter to retry.
請點一下他給的連結記得登入的帳號是 GCP 的帳號才看的到。
Service Usage API -> 啟用
在建立的時候會出現錯誤訊息
<HttpError 403 when requesting https://iam.googleapis.com/v1/projects/xxxxxxxx
/serviceAccounts?pageSize=100&alt=json returned "Identity and Access Managemen
t (IAM) API has not been used in project 379544142899 before or it is disabled
. Enable it by visiting https://console.developers.google.com/apis/api/iam.goo
gleapis.com/overview?project=xxxxx then retry. If you enabled this API recentl
y, wait a few minutes for the action to propagate to our systems and retry.".
我們點一下那個連結
https://console.developers.google.com/apis/api/iam.googleapis.com/overview?pro
ject=xxxxx
Identity and Access Management (IAM) API -> 啟用
重新輸入
sudo python3 gen_sa_accounts.py --quick-setup 1 --new-only
給他一點時間建立帳號
creat projects: 1
Creating 1 projects
Enabling services
Creating accounts in saf-18sxxxxx
Downloading keys from saf-18sxxxxx
輸入
cd ~/AutoRclone/accounts
ll
可以看到一堆建立好的 json 檔
批量提取 Service Accounts 參考
https://www.uud.me/qiwenzalun/autorclone-gclone.html/comment-page-1
輸入
cat ~/AutoRclone/accounts/*.json | grep "client_email" | awk '{print $2}'| tr
-d ',"' | sed 'N;N;N;N;N;N;N;N;N;/^$/d;G' > ~/email.txt
底下的 user 請取代為你的使用者名稱
這樣在 /home/user 裡就建立好 accounts 裡的 email 清單並且 10 個分隔。
右上角 齒輪 -> 下載檔案 -> 完整檔案路徑: /home/user/email.txt
確定下載 "email.txt" -> 另存新檔
第三步 將 Service Accounts 帳號加入 Group 方便管理
對於普通 Google 帳號
直接建立一個 Google Group 然後手動將 service accounts 對應的信箱一個一個加進去
,但每次只能加10個,每24小時只能加100個。
https://groups.google.com/
網路論壇 -> 建立群組 -> 步驟 1 (共 3 步) 輸入群組資訊
群組名稱:dcsatest20210313
群組電子郵件:會自動帶入我們填的群組名稱
信箱的部分改為 @googlegroups.com
建立外部群組
-> 下一個
步驟 2 (共 3 步) -> 選擇隱私權設定
誰可以搜尋群組 -> 群組成員
誰可以加入群組 -> 所有人皆可加入 我們加完後再來改
誰可以查看會話群組 -> 版主
誰可以張貼內容 -> 版主
誰可以查看成員 -> 版主
-> 下一個
步驟 3 (共 3 步) -> 新增成員
群組成員 -> 把 email.txt 前 10 個填進去
訂閱 -> 不要接收電子郵件
預設開啟 -> 直接新增成員,將成員直接新增到群組
-> 建立群組
須經人機驗證 (Captcha) -> 我不是機器人 -> 建立群組 -> 前往群組 -> 成員 -> 成員
-> 新增成員
把 email.txt 剩下的 9組 10 個帳號陸續 新增成員
都加完後 -> 群組設定 -> 誰可以加入群組 -> 僅受邀的使用者 -> 儲存變更
第四步 將來源與目的資料夾ID 加入群組信箱 [email protected] 的
權限
gd02 -> 共用雲端硬碟 -> test2 -> 管理成員 -> 將你群組信箱 dcsatest20210313@goo
glegroups.com 的帳號輸入並設定為 [管理員] -> [共用]
資料來源的資料夾也要加,如果來源不是 Team Drive 也可以開共用把群組信箱加為檢視
者
第五步 開始複製遇到750GB 流量上限自動切換帳號
複製的用法為 SourceID=來源ID DestinationID=目的ID DestinationPathName=目的資料
夾名稱 後面的 100 是我們建立的帳號數
python3 rclone_sa_magic.py -s SourceID -d DestinationID -dp DestinationPathNam
e -b 1 -e 100
SourceID 為你資料來源的網址 folders/ 後面那一段,我們假設為 hijklm
https://drive.google.com/drive/u/2/folders/hijklm
DestinationID 為你資料目的網址,我們用團隊盤 folders/後面這串ID 我們假如是 abc
defg
https://drive.google.com/drive/u/1/folders/abcdefg
輸入
cd ~/AutoRclone
sudo python3 rclone_sa_magic.py -s hijklm -d abcdefg -dp abcdefg -b 1 -e 100
就會如下開始開始複製囉
rclone is detected: /bin/rclone
generating rclone config file.
rclone config file generated.
Start: 07:02:58
rclone --config ./rclone.conf copy --drive-server-side-across-configs --rc --r
c-addr="localhost:5572" -vv --ignore-existing --tpslimit 3 --transfers 3 --dri
ve-chunk-size 32M --drive-acknowledge-abuse --log-file=log_rclone.txt "src001:
" "dst001:bd001" &
>> Let us go dst001: 07:02:58
dst001: 226GB Done @ 3245.456424MB/s | checks: 0 files
假如遇到
Failed to rc: connection failed: Post "https://localhost:5572/core/pid": dial t
cp [::1]:5572: connect: connection refused
可能是權限或是路徑的關係
看來源
rclone --config rclone.conf size --disable ListR src001:
沒資料
Total objects: 0
Total size: 0 Bytes (0 Bytes)
有可能是新增的共用權限還沒有完全同步完畢,資料越多同步需要越久。
再輸入一次
rclone --config rclone.conf size --disable ListR src001:
權限有慢慢增加了
Total objects: 873
Total size: 3.192 TBytes (3509160308933 Bytes)
再次輸入
cd ~/AutoRclone
sudo python3 rclone_sa_magic.py -s hijklm -d abcdefg -dp abcdefg -b 1 -e 100
當複製完成後做一下檢查輸入
rclone --config rclone.conf size --disable ListR src001:來源路徑
rclone --config rclone.conf size --disable ListR dst001:目標路徑
如果目標路徑檔案比較少那就重新複製一次
如果目標路徑檔案比較多那就去掉重複資料
rclone --config rclone.conf dedupe src001:來源路徑
rclone --config rclone.conf dedupe dst001:目標路徑
複製本地端的語法如下
cd ~/AutoRclone
sudo python3 rclone_sa_magic.py -sp YourLocalPath -d DestinationID -dp Destina
tionPathName -b 1 -e 100
之後大家再努力搬資料吧~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.217.35.54 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Free_box/M.1615280338.A.6AB.html
※ 編輯: iamdco (1.200.170.216 臺灣), 03/11/2021 12:31:06
※ 編輯: iamdco (1.200.98.177 臺灣), 03/13/2021 07:44:10
... <看更多>