且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安排将文件从FTP服务器加载到Google Cloud Storage中

更新时间:2023-01-06 20:53:48

您可以使用Cloud Storage FUSE 工具,可让您将GCS存储桶作为文件系统挂载在Linux或MacOS系统上.要安装 FUSE,请遵循文档.

You can use Cloud Storage FUSE tools that allows you to mount the GCS bucket as a file system on Linux or MacOS systems. To install FUSE please follow the documents.

现在,您需要开发一个脚本,该脚本会将文件从VM传输到存储(挂载),并且可以使用

Now you need to developed an script which will transfer files from the VM to the Storage (mount) and for scheduling this job you can use cron job.