What is the problem you are having with rclone?
I'm setting up rclone for the first time (actually the second, as I was in an old version of rclone when I did the first remote config, so I deleted the first config and started again). I configured a Onedrive remote. For config_driveid, I chose the default, but I am not sure if I chose right. Does anyone now why I have so many drives and what they mean? Did I make the right choice?
My main concern is loosing data; I am relying on Onedrive version history and I want that to be preserved in all circumstances. Any help to avoid risk of data loss is also appreciated.
Run the command 'rclone version' and share the full output of the command.
rclone v1.72.0
* os/version: linuxmint 22.2 (64 bit)
* os/kernel: 6.14.0-36-generic (x86_64)
* os/type: linux
* os/arch: amd64
* go/version: go1.25.4
* go/linking: static
* go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Microsoft Onedrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone config
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv flag
I did not run it with -vv but it should be fine. I don't think it makes sense to repeat it with -vv. Also, I had no issues or fails. I redacted the hashes with XXX but some are repeating, so I numbered the repeating ones so that you can follow (e.g. XXX1). In particular, XXX1 correspond to the drive_id in the config.
rclone config
Current remotes:
Name Type
==== ====
OneDmain onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> d
Select remote.
Choose a number from below, or type in an existing value.
1 > OneDmain
remote> 1
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
Enter name for new remote.
name> onedrive
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
1 / 1Fichier
\ (fichier)
2 / Akamai NetStorage
\ (netstorage)
3 / Alias for an existing remote
\ (alias)
4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, ChinaMobile, Cloudflare, Cubbit, DigitalOcean, Dreamhost, Exaba, FileLu, FlashBlade, GCS, Hetzner, HuaweiOBS, IBMCOS, IDrive, Intercolo, IONOS, Leviia, Liara, Linode, LyveCloud, Magalu, Mega, Minio, Netease, Outscale, OVHcloud, Petabox, Qiniu, Rabata, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Servercore, SpectraLogic, StackPath, Storj, Synology, TencentCOS, Wasabi, Zata, Other
\ (s3)
5 / Backblaze B2
\ (b2)
6 / Better checksums for other remotes
\ (hasher)
7 / Box
\ (box)
8 / Cache a remote
\ (cache)
9 / Citrix Sharefile
\ (sharefile)
10 / Cloudinary
\ (cloudinary)
11 / Combine several remotes into one
\ (combine)
12 / Compress a remote
\ (compress)
13 / DOI datasets
\ (doi)
14 / Dropbox
\ (dropbox)
15 / Encrypt/Decrypt a remote
\ (crypt)
16 / Enterprise File Fabric
\ (filefabric)
17 / FTP
\ (ftp)
18 / FileLu Cloud Storage
\ (filelu)
19 / Files.com
\ (filescom)
20 / Gofile
\ (gofile)
21 / Google Cloud Storage (this is not Google Drive)
\ (google cloud storage)
22 / Google Drive
\ (drive)
23 / Google Photos
\ (google photos)
24 / HTTP
\ (http)
25 / Hadoop distributed file system
\ (hdfs)
26 / HiDrive
\ (hidrive)
27 / ImageKit.io
\ (imagekit)
28 / In memory object storage system.
\ (memory)
29 / Internet Archive
\ (internetarchive)
30 / Jottacloud
\ (jottacloud)
31 / Koofr, Digi Storage and other Koofr-compatible storage providers
\ (koofr)
32 / Linkbox
\ (linkbox)
33 / Local Disk
\ (local)
34 / Mail.ru Cloud
\ (mailru)
35 / Mega
\ (mega)
36 / Microsoft Azure Blob Storage
\ (azureblob)
37 / Microsoft Azure Files
\ (azurefiles)
38 / Microsoft OneDrive
\ (onedrive)
39 / OpenDrive
\ (opendrive)
40 / OpenStack Swift (Rackspace Cloud Files, Blomp Cloud Storage, Memset Memstore, OVH)
\ (swift)
41 / Oracle Cloud Infrastructure Object Storage
\ (oracleobjectstorage)
42 / Pcloud
\ (pcloud)
43 / PikPak
\ (pikpak)
44 / Pixeldrain Filesystem
\ (pixeldrain)
45 / Proton Drive
\ (protondrive)
46 / Put.io
\ (putio)
47 / QingCloud Object Storage
\ (qingstor)
48 / Quatrix by Maytech
\ (quatrix)
49 / Read archives
\ (archive)
50 / SMB / CIFS
\ (smb)
51 / SSH/SFTP
\ (sftp)
52 / Sia Decentralized Cloud
\ (sia)
53 / Storj Decentralized Cloud Storage
\ (storj)
54 / Sugarsync
\ (sugarsync)
55 / Transparently chunk/split large files
\ (chunker)
56 / Uloz.to
\ (ulozto)
57 / Union merges the contents of several upstream fs
\ (union)
58 / Uptobox
\ (uptobox)
59 / WebDAV
\ (webdav)
60 / Yandex Disk
\ (yandex)
61 / Zoho
\ (zoho)
62 / iCloud Drive
\ (iclouddrive)
63 / premiumize.me
\ (premiumizeme)
64 / seafile
\ (seafile)
Storage> 38
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
Option region.
Choose national cloud region for OneDrive.
Choose a number from below, or type in your own value of type string.
Press Enter for the default (global).
1 / Microsoft Cloud Global
\ (global)
2 / Microsoft Cloud for US Government
\ (us)
3 / Microsoft Cloud Germany (deprecated - try global region first).
\ (de)
4 / Azure and Office 365 operated by Vnet Group in China
\ (cn)
region>
Option tenant.
ID of the service principal's tenant. Also called its directory ID.
Set this if using
- Client Credential flow
Enter a value. Press Enter to leave empty.
tenant>
Edit advanced config?
y) Yes
n) No (default)
y/n>
Use web browser to automatically authenticate rclone with remote?
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes (default)
n) No
y/n>
2025/12/09 14:11:34 NOTICE: Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
2025/12/09 14:11:34 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=XXX
2025/12/09 14:11:34 NOTICE: Log in and authorize rclone for access
2025/12/09 14:11:34 NOTICE: Waiting for code...
2025/12/09 14:11:39 NOTICE: Got code
Option config_type.
Type of connection
Choose a number from below, or type in an existing value of type string.
Press Enter for the default (onedrive).
1 / OneDrive Personal or Business
\ (onedrive)
2 / Root Sharepoint site
\ (sharepoint)
/ Sharepoint site name or URL
3 | E.g. mysite or https://contoso.sharepoint.com/sites/mysite
\ (url)
4 / Search for a Sharepoint site
\ (search)
5 / Type in driveID (advanced)
\ (driveid)
6 / Type in SiteID (advanced)
\ (siteid)
/ Sharepoint server-relative path (advanced)
7 | E.g. /teams/hr
\ (path)
config_type> 1
Option config_driveid.
Select drive you want to use
Choose a number from below, or type in your own value of type string.
Press Enter for the default (XXX1).
1 / Bundles_XXX (personal)
\ (XXX1)
2 / ODCMetadataArchive (personal)
\ (XXX2_XXX)
3 / OneDrive (personal)
\ (XXX1)
4 / XXX (personal)
\ (XXX2_XXX)
5 / XXX (personal)
\ (XXX2_XXX)
config_driveid>
Drive OK?
Found drive "root" of type "personal"
URL: https://onedrive.live.com?cid=XXX1&id=XXX
y) Yes (default)
n) No
y/n>
Configuration complete.
Options:
- type: onedrive
- token: XXX
- drive_id: XXX1
- drive_type: personal
Keep this "onedrive" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
Current remotes:
Name Type
==== ====
onedrive onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q