Giter Site home page Giter Site logo

tdrbackups's Introduction

TD网盘防翻车一键转存备份脚本

准备工作:

1、申请一台VPS
2、在VPS配置好gclone
3、准备好三个不同域的Google Team Drive,并记录下ID

安装步骤:

1、ssh连接vps
2、一键安装脚本

sh -c "$(curl -fsSL https://raw.githubusercontent.com/vitaminx/TDRbackups/master/install.sh)"

3、配置参数

  • 根据提示依次输入:“rclone配置名”和转备好的“三个不同域TD盘ID”

4、使用脚本

  • 输入“./gd.sh”启动脚本
  • 按提示输入TD分享链接回车执行脚本

说明:

  • 此脚本每一份都是复制一遍、查缺补漏一遍、最后去重整理一遍,以此保证复制无遗漏;
  • 此脚本执行完后,每一次转存的内容都将在“三个不同的域”下建立一份拷贝,只要三个域不同时翻车(同时翻车的概率几乎为0)数据就是安全的;
  • 后期如果三个网盘中有一个或两个翻车,请立即寻找不同的域建立一个或两个网盘(始终保证三个网盘在三个不同的域)并复制文件到新建立的网盘,从新安装配置一遍脚本;
  • 此脚本实现方式比较“简单粗暴”,容易读懂容易理解容易修改,如有特殊需要,可自行修改脚本;

致谢

感谢TG的各位大佬的无私帮助,排名不分先后
  • shine,这个脚本最初版本的作者,https : //github.com/vcfe/gdgd
  • cgking,对shine的代码进行了简化
  • Kali Aska,他提供了提取共享文件夹名的核心代码
  • fxxkrlab,提供了对比文件夹的if函数代码
  • 我在他们的基础上制作了此版本,充其量只是个搬运工,惭愧!

tdrbackups's People

Contributors

vitaminx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.