moptek.blogg.se

Linux google drive sync
Linux google drive sync





linux google drive sync

  • Add scopes: “Google Drive API” -> “…/auth/drive”įrom the left hand pane, choose “Create credentials”.
  • Support email: enter your google account email.
  • Choose “ Create Credentials” and continue to the next section for configuring Oauth Consent ScreenĬreate Google Drive API credentials for rclone:įrom the left hand pane of the cloud console, choose “Oauth consent screen” and perform the configuration using the following values.
  • linux google drive sync linux google drive sync

    Search for and enable “ Google Drive API”.Navigate to “ APIs & Services” → “ Library”.Login with your Google account at: to begin the process for enabling the API. This installs the binary to location /usr/bin/rclone.īefore being able to configure access for rclone to our target Google Drive account, we need to enable the Google Drive API and create appropriate credentials. rclone v1.53.1 has successfully installed. To download/install rclone: $ cd $HOME $ curl | sudo bash. The following write-up describes an approach for using an open source package, rclone, to automate backups from Linux to Google drive. Using rclone with WSL2 gives me the option of restoring project files from a recent backup should I accidentally trash my WSL2 Linux distro.

    #LINUX GOOGLE DRIVE SYNC WINDOWS#

    I’m a big fan of both Windows & Linux, and the evolution of WSL2 (with an actual Linux kernel) is making it easier to work in an almost “real” Linux environment without the need for third-party virtualization software. Using rclone on Linux to Automate Backups to Google DriveĪs of now, Google has yet to release an official backup/sync client for Linux, and as a frequent WSL2 user, I was after a solution that would allow automated backups to Google drive from the WSL2 Linux file system/distro.







    Linux google drive sync