gpt4 book ai didi

ssh - 如何通过 SSH/SCP 将文件发送到 Google Drive?

转载 作者:行者123 更新时间:2023-12-02 05:09:22 24 4
gpt4 key购买 nike

我们有Centos,有一个带有sql备份的目录。我们如何使用 cron 计划将这些备份发送到 Google Drive?

最佳答案

破解方法是使用 Google Colab,然后将 google 驱动器安装到其中。之后,您可以使用 ssh 访问 google collab 文件系统以及访问挂载的 google 驱动器。

我在这里写了一个python笔记本并尝试成功。 https://gist.github.com/bikcrum/f9d4cfb0c40dff23329b89cd664d4964

关于ssh - 如何通过 SSH/SCP 将文件发送到 Google Drive?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23006912/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com