GDrive - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki

Table of Contents

  1. Intro
  2. Special Commands
  3. PTS Clone Notice
  4. Manual Configuration
  5. Summary

1. Intro

Main points about using gdrive:

  • gdrive serves as a storage point for PTSmove
  • gdrive serves as a backup & restore point for all generated data
  • gdrive is mandatory even if only using team drives (tdrive)

By default, you can utilize rclone without using your own keys. As of October 2018, it has been reported that Google has rated limited rclones' default keys due to over extensive use. It is recommended that you generate and utilize your own keys!

2. Special Commands

  • Typing sudo sgdrive & pressing ENTER shows you the gdrive status.
  • Typing sudo ngdrive & pressing ENTER shows you the gdrive mount code.
  • Typing sudo systemctl restart gdrive & pressing ENTER shows you the gdrive status.

3. PTS Clone Notice

As of PTS 7.4, PTS takes care of the gdrive for the user! No more manual editing, but we will keep the manual instructions below. PTS Clone makes it that simple. Just have your Google OAuth Keys ready, select gdrive, deploy, and that's it!

4. Manual Configuration

RClone as of 1.44

START: Type n & Press ENTER

NAME: Type gdrive & press ENTER

STORAGE: Type drive & press ENTER

CLIENT ID:

  • Failure to create one results in your drive operating at 10% speeds!
  • Click Here for instructions on how to generate one!

CLIENT ID:

  • Failure to create one results in your drive operating at 10% speeds!
  • Click Here for instructions on how to generate one!

SCOPE: Ignore & press ENTER

ROOT_FOLDER_ID: Ignore & press ENTER

SERVICE_ACCOUNT_FILE: Ignore & press ENTER

EDIT ADVANCED CONFIG: Type n & press ENTER



USE AUTO CONFIG?: Type n & press ENTER



ENTER VERIFICATION CODE: Some Tips Below

  • Windows Putty Users: Just highlight the code and then paste into a browser. Do not right click when copying; just highlight. When you copy the response from the browser to the putty terminal window, click the area and then right click.

  • Windows Ubuntu Users: There is a copy and paste hidden window if you right click on the top of the tool-bar.

  • Everyone Else: Should be good with standard right click, copy & paste with terminal (including MAC users)



CONFIGURE THIS AS A TEAMDRIVE: n & press ENTER

IS THIS OK: y & press ENTER

Main Menu: q & press ENTER

5. Summary

So either you conducted action the easy way or the hard way. Regardless, you configured rclone to talk to your Google Drive. PTS has safeguards built in to prevent you from launching an unknown or non-working drive. Good luck!

⚠️ **GitHub.com Fallback** ⚠️