burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite → Discover →
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Tools Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment →
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price
Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base Import data to kDrive from Google Drive

    Import data to kDrive from Google Drive

    This translation is out of date. Please see the French version for the most up-to-date information.

    This guide details how to import data from **Google Drive** using **rClone** on **kDrive** Infomaniak.

     

    COMPATIBILITY

    my kSuite ✗‍‍ | my kSuite+ ✗‍
    kSuite Standard 1 max user ✗‍ | kSuite Standard 2 min users ✗‍ | kSuite Pro ✔‍ | kSuite Entreprise ✔‍
    kDrive Solo ✔‍ | kDrive Team ✔‍ | kDrive Pro ✔‍

    ✔‍= Compatible offer  |  âś—‍= Not available

     

    1. Set up rclone for drive access

     

    Installing rclone on your computer

    There is a version of rclone with a graphical interface (GUI) but it is quite possible to do this via command line (CLI):

    1. Install rclone from a terminal application on your device by entering the following command:
      sudo -v ; curl https://rclone.org/install.sh | sudo bash
    2. Enter the password for your session on your computer to start the installation:
      • Refer to the official installation guide if necessary.

     

    Configuration of the remote disk (Google Drive) on rclone

    1. Once rclone is installed, enter the command rclone config.
      • Refer to the official configuration guide if necessary.
    2. Then choose to configure a new remote import by answering n for New remote.
    3. Name the remote disk, for example gdrive:
    4. Then choose the type of drive to import by responding with drive, which corresponds to Google Drive among the options offered.

    You then need to authorize the connection to Google Drive from a web browser.

    By default, rclone uses a shared client ID among all users, which can result in request limitations imposed by Google. It is strongly recommended to use your own client ID to avoid these restrictions.

    1. Access the Google API Console with your Google account.
    2. Create or select a project.
    3. Enable the Google Drive API via the button/link "Enable APIs and services".
    4. Search for the keyword Drive and click on Google Drive API:
    5. Click on the Enable button.
    6. Click on Credentials in the left sidebar (and not on a similar button).
    7. Click on Configure the OAuth consent screen (if not already done):
      • Enter a name, for example rclone.
      • Select "External" (or "Internal" if you are a Google Workspace user).
      • Under “Data access”, add the necessary scopes ("application fields"):
        • https://www.googleapis.com/auth/docs,https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.metadata.readonly
      • Save.
      • Add your email account as a test user under "Audience".
      • Go back to the "Google Auth Platform" section.
    8. Create OAuth credentials :
      • Click on "Create credentials / OAuth client ID".
      • Choose "Desktop app" and leave the default name, then click the Create button.
      • Keep the displayed client ID and client secret code.
    9. If "External" was chosen in step 7 above, go back to “Audience” in the left sidebar and click on “Publish the app.”

    Due to the "enhanced security" recently introduced by Google, you are theoretically supposed to "submit your application for verification" and wait several weeks for their response.
    In practice, you can directly use the client ID and client secret with rclone (read the rest of the guide). The only consequence will be a very intimidating confirmation screen when you log in via your browser to allow rclone to obtain its token-id. However, since this only happens during the initial setup of the remote storage, it is not a major issue.
    It is also possible to leave the application in "Test" mode, but in this case, any authorization will expire after one week, which can be cumbersome to renew frequently. If a short validity period does not pose a problem for your use, then keeping the application in test mode may be sufficient.

    Go back to rclone in the terminal:

    1. Provide rclone with the client_id by copying and pasting the Client ID obtained in step 8 above, and do the same for the secret phrase.
    2. Then choose the scope number 1:
    3. Press the “Enter” key to leave the service_account_file question blank..
    4. Answer “No” n to the question about “advanced configuration”.
    5. Answer “Yes” y to the question about connecting via web browser:
    6. A web page opens in your web browser allowing you to connect to Google and authorize the application you created in step 9 above.
    7. Once the permissions are granted, you should receive the following message:
    8. In the terminal, answer “No” n to the question about “Shared Drive (Team Drive)”.
    9. Answer “Yes” y to the last question:

     

    Configuration of the destination disk (kDrive) on rclone

    It is possible to act directly on the configuration file of rclone by pasting your kDrive configuration in the following format, for example:

    [kdrive]
    type = webdav
    url = https://kDrive_ID_HERE.connect.kdrive.infomaniak.com/
    vendor = other
    user = user@email.com
    pass = PASSWORD_HERE_OR_APP_PASSWORD_IF_2FA

    But here is how to proceed step by step, just like for the previous configuration:

    1. Still in the terminal, enter n for a new disk configuration and enter the name kDrive to recognize your destination disk:
    2. Then choose the type of disk to import by answering webdav, which corresponds to a WebDAV configuration among the options offered.
    3. Enter the following information:
      • url = direct access to kDrive (refer to this other guide regarding the kDrive ID for the connection URL)
      • vendor = rclone (option #6)
      • user = email address for logging into the Infomaniak user account
    4. Answer “Yes” y for the password question then enter the password:
      • application password in case double authentication is activated or ‍the one for your Infomaniak user account if you haven't activated 2FA.
    5. Leave bearer_token empty then answer “No” n to the question about “advanced configuration”.
    6. Answer “Yes” y to the last question and your 2 disks will be displayed:
      ‍

     

    2. Copy data from Google Drive to kDrive

    Prerequisites

    • Check the available options in the official guide before starting an import, especially these important commands:
      • --drive-skip-shortcuts to avoid infinite import loops
      • --drive-shared-with-me to get shared items
      • --drive-acknowledge-abuse to force the download of files blocked by Google

    Example command to start copying your Google Drive to the root of your kDrive:

    sudo rclone copy gdrive: kDrive:

    This will instantly start copying your folders, subfolders, and contents from Google Drive to the personal folder of your kDrive Infomaniak!

    The Google documents of type Gdocs, Sheets, Slide, etc. are converted to Office formats like .docx, .xlsx, etc. readable directly on kDrive.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display all FAQs for this product
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.