Knowledge base

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

Synchronize a VPS with kDrive

This guide provides instructions to synchronize kDrive with a VPS (or vice versa) via the WebDAV protocol found in the rClone application.

 

✘ UNAVAILABLE with
kSuite free / kSuite Standard
my kSuite / my kSuite+ (ik.me, etik.com, ikmail.com) 


 

Prerequisites

 

Synchronize kDrive and VPS via rClone

This operation allows you to retrieve in real-time the files and folders from kDrive and to read, create, or modify these files from your VPS while ensuring they are synchronized again on the kDrive server. An rClone mount point can be created with a folder on your VPS to manipulate these kDrive files.

Refer to the rClone documentation if you are looking for information about the available options:

  1. Example of rClone command:
    • rclone mount kdrive:/My_kDrive_Folder_Path /home/ubuntu/Target_Folder_Path --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G --cache-dir /home/ubuntu/rclone/cache --daemon --allow-other --dir-cache-time 1h --log-file /home/ubuntu/rclone/rclone.log --log-level INFO
    • The --daemon attribute of this command allows you to run the synchronization as a background task because without it, this sync stops at each VPS disconnection…
  2. Example of rClone configuration file:
    • [kdrive]
      type = webdav
      url = https://xx.connect.kdrive.infomaniak.com/xx
      vendor = other
      user = ***
      pass = ***
    • Server address: https://IDkDrive.connect.kdrive.infomaniak.com (see prerequisites above)
    • Username: email address to log in to your Infomaniak account
    • Password: create an application password for this specific use.

Has this FAQ been helpful?