Guide: Backup File/Folder to Google TeamDrive with Encryption on Windows

This guide will walk you through the steps to backup a file or folder to Google TeamDrive using the encryption feature on Windows.

Prerequisites

  • Rclone must be installed on your Windows machine. If you don't have it installed, download it from the official website: https://rclone.org/downloads/
  • You must have a Google TeamDrive account and a team drive created.
  • You must have the Rclone config file set up to access your Google TeamDrive account. For more information on how to set up the config file, visit: https://rclone.org/drive/#making-a-new-remote

Steps

  1. Download the script here: https://www.mediafire.com/file/hj3pg1zmwk73q7e/main.py/file.
  2. Extract the file and open the file named "backup_script.py" with a text editor.
  3. Find the following line:
    cmd = f"rclone copy {source_folder} remote:{destination_folder} --config rclone.conf --transfers 20 --checkers 20 --crypt-password {password} --crypt-show-mapping --progress"
  4. Replace remote in the line with the name of your Google TeamDrive account as specified in your Rclone config file.
  5. Save and close the file.
  6. Open Command Prompt (Win + X, then choose Command Prompt).
  7. Change the directory to the folder where the script file is located by using the following command:
    cd path/to/folder
  8. Run the script file by using the following command:
    python main.py
  9. A GUI window will appear, asking you to select the source folder (the folder you want to backup) and the destination folder (the folder in your Google TeamDrive account where you want to backup your data).
  10. Enter the password for encryption in the designated field.
  11. Click the "Run Backup" button to start the backup process. The backup process may take some time, depending on the size of the data you're backing up.
  12. Once the backup process is complete, a message will appear indicating that the backup was successful.

That's it! Your data is now securely backed up to your Google TeamDrive account with encryption.

Edit
Pub: 03 Feb 2023 00:46 UTC
Edit: 04 Feb 2023 00:52 UTC
Views: 1079