Skip to content

新建Google团队盘进行rclone sync备份

之前已经搞过AutoRclone的Service Account,将所有的service account对应的账号全加入到了一个googlegroup当中去了。这次只要把这个group email加进管理员权限即可

建盘,加group

获得root folder id

rclone config file当中加入新的配置项

vi /root/.config/rclone/rclone.conf

[gd_sbny_dup_omgd_shared]
type = drive
scope = drive
service_account_file = /root/AutoRclone/accounts/30a76a14196axxxx57d2b.json
service_account_file_path = /root/AutoRclone/accounts/
team_drive = 0AF------------PVA

验证

rclone sync

origin=gd_omgd_shared
dest=gd_sbny_dup_omgd_shared
rclone sync ${origin}: ${dest}: --drive-server-side-across-configs --create-em
pty-src-dirs -v --progress

1 thought on “新建Google团队盘进行rclone sync备份”

Leave a Reply

Your email address will not be published.