Skip to content

Latest commit

 

History

History
117 lines (68 loc) · 2.47 KB

File metadata and controls

117 lines (68 loc) · 2.47 KB

Rclone (by Nick Craig-Wood) is "rsync for the cloud". Basically, it is used to transfer data to or from a variety of supported cloud storage providers (eg Google Drive).

Rclone is used by [[UnionFS Cleaner]] and [[Backup|Backup-and-Restore]] to upload media and backup Cloudbox, respectively.

New Rclone Setup

  1. Run the command:

    rclone config
    
  2. Rclone Config Menu:

    n
    

    (add a new remote).

  3. Remote Name:

    google
    

    Note: This is the same is specified under Rclone Renote under [[settings.yml|First Time Install: Configuring Settings]] (default is google in lowercase).

  4. Type of storage to configure:

    drive
    

    Note: You can also type in the number for Google Drive.

  5. Create a [[Google Drive API Client ID and Client Secret]] for Rclone.

  6. Client ID:

    Client ID from Step 5.

  7. Client Secret:

    Client Secret from Step 5.

  8. (New for Rclone 1.40) Scope that rclone should use when requesting access from drive:

    drive
    

    (Full access all files, excluding Application Data Folder)

    Note: You can also type in the number for the option.

  9. (New for Rclone 1.40) ID of the root folder:

    Leave blank and press enter.

  10. (New for Rclone 1.40) Service Account Credentials JSON file path:

    Leave blank and press enter.

  11. Use auto config?

    n
    

    (you are working on a remote or headless machine)

  12. If your browser doesn't open automatically go to the following link:

    • Copy the link the screen shows and paste it in your browser on the host computer.

    • If asked, login with your Google account and click Allow.

      • Note: You must use the same Google account as the Google Drive one you intend to use (see [[Prerequisites| Basics: Prerequisites#4-google-drive-account]]).
    • Copy the verification code.

  13. Enter verification code>

    Paste the verification code from above.

  14. Configure this as a team drive?

    n
    

    (no)

  15. Confirm Remote is OK:

    y
    

    (Yes this is OK)

  16. Rclone Config Menu:

    q
    

    (Quit config)

Rclone already setup with Google Drive

  1. Edit your rclone configuration file (i.e rclone.conf).

  2. Rename the Google Drive remote to what you have specified in [[settings.yml|First Time Install: Configuring Settings]] (default is google in lowercase).

  3. Copy this file into ~/.config/rclone/.