શું Rclone Onedrive થી કનેક્ટ થવા માટે ધીમું છે?અપલોડ ગતિ મર્યાદા ડમ્પ કરો? API પ્રવેગકને ગોઠવો

વપર઼ાશમાં રક્લોન OneDrive પર ફાઇલો ટ્રાન્સફર કરતી વખતે, તમને ધીમી ગતિ, ડિસ્કનેક્શન વગેરે જેવી સમસ્યાઓ આવી શકે છે...

શા માટે Rclone Onedrive સાથે કનેક્ટ થવામાં ધીમું છે?

મૂળ કારણ OneDrive API ની મર્યાદાને ટ્રિગર કરવાનું છે, અને ડિફોલ્ટ Rclone બિલ્ટ-ઇન API એક જ સમયે બહુવિધ લોકો દ્વારા ઉપયોગમાં લેવાય છે, તેથી આ સમસ્યાઓ વધુને વધુ સ્પષ્ટ બની રહી છે...

શું Rclone Onedrive થી કનેક્ટ થવા માટે ધીમું છે?અપલોડ ગતિ મર્યાદા ડમ્પ કરો? API પ્રવેગકને ગોઠવો

OneDrive થી કનેક્ટ થવા માટે સ્વ-નિર્મિત ખાનગી API નો ઉપયોગ કરવાથી આ પરિસ્થિતિઓમાં ઘણો સુધારો થઈ શકે છે, અને ત્રણ મહિનાના Office 365 E5 ડેવલપર ટ્રાયલ વર્ઝન માટે, Rclone નો પ્રસંગોપાત ઉપયોગ એપીઆઈને જાણીજોઈને બ્રશ કરવાને બદલે, ફીને આપમેળે રિન્યૂ કરશે, જે વધુ છે. સુરક્ષિત અને સ્થિર.

વધુમાં, સ્વ-બિલ્ટ API નો ઉપયોગ અન્ય એકાઉન્ટ્સ અને અન્ય એપ્લિકેશનો દ્વારા પણ થઈ શકે છે.

જો તે Google ડ્રાઇવ સ્વ-નિર્મિત API છે, તો કૃપા કરીને આ ટ્યુટોરીયલનો સંદર્ભ લો ▼

Rclone કનેક્ટ Onedrive સ્પીડ ટેસ્ટ

પહેલાનું Onedrive▼ સાથે કનેક્ટ કરવા માટે Rclone ના ડિફોલ્ટ API નો ઉપયોગ કરવાની ઝડપનું પરીક્ષણ કરવાનું છે

Rclone કનેક્શન Onedrive સ્પીડ ટેસ્ટ આ પહેલાનો ત્રીજો ફોટો છે જે નેટીઝન્સ Onedrive સાથે કનેક્ટ કરવા માટે Rclone ના ડિફોલ્ટ API નો ઉપયોગ કરવાની ઝડપનું પરીક્ષણ કરે છે.

બાદમાં નેટીઝન્સ દ્વારા Onedrive ▼ સાથે જોડાવા માટે તેઓએ અરજી કરેલ Microsoft API નો ઉપયોગ કરવા માટેની કસોટી છે.

બાદમાં નેટીઝન્સનો ચોથો ફોટો છે જે તેઓએ અરજી કરેલ Microsoft API નો ઉપયોગ કરીને Onedrive સાથે કનેક્ટ થવાની ઝડપનું પરીક્ષણ કરી રહ્યા છે.

  • તે સ્પષ્ટપણે જોઈ શકાય છે કે ઝડપનો તફાવત 10 ગણા કરતાં વધુ છે.

Microsoft Onedrive નેટવર્ક ડિસ્ક API કેવી રીતે બનાવવી?

માઈક્રોસોફ્ટ એઝ્યુર મેનેજમેન્ટ સેન્ટરમાં ક્લાઈન્ટ આઈડી અને ક્લાઈન્ટ સિક્રેટ કેવી રીતે મેળવવું, માઈક્રોસોફ્ટ વનડ્રાઈવ નેટવર્ક ડિસ્ક API કેવી રીતે બનાવવી તે જોવા માટે કૃપા કરીને નીચેની લિંક પર ક્લિક કરો ▼

Rclone ટોકન મેળવે છે

તમારા સ્થાનિક કમ્પ્યુટર પર Rclone ડાઉનલોડ કરો ▼

વિન્ડોઝને ઉદાહરણ તરીકે લો, ફોલ્ડર પર જાઓ જ્યાં rclone.exe ડિકમ્પ્રેશન પછી સ્થિત છે, એક્સપ્લોરરના એડ્રેસ બારમાં cmd દાખલ કરો અને વર્તમાન પાથમાં કમાન્ડ પ્રોમ્પ્ટ ખોલવા માટે Enter દબાવો.

નીચેના આદેશમાં બદલોClient_ID,Client_secret અને ચલાવો ▼

rclone authorize "onedrive" "Client_ID" "Client_secret"
  • આગળ એક બ્રાઉઝર પૉપ અપ થશે, તમને તેને અધિકૃત કરવા માટે તમારા એકાઉન્ટમાં લૉગ ઇન કરવાનું કહેશે.

અધિકૃતતા પછી, નીચેનો સંદેશ આદેશ પ્રોમ્પ્ટ વિન્ડોમાં દેખાય છે:

If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code...
Got code
Paste the following into your remote machine --->
{"access_token":"xxxxxxxxxxxxxxxxxx","expiry":"2024-05-15T21:18:39.5036298+08:00"}
<---End paste
  • {"access_token":"xxxxxxxxxxxxxxxxxx","expiry":"2024-05-15T21:18:39.5036298+08:00"}આ સમગ્ર સામગ્રી (કૌંસ સહિત) ટોકન છે, નકલ કરો અને સાચવો.

Rclone OneDrive થી કનેક્ટ કરો

SSH નીચેનો આદેશ દાખલ કરો▼

rclone config

નીચેની માહિતી દેખાશે, ▼ ચલાવવા માટે કૃપા કરીને નીચેની સૂચનાઓનો સંદર્ભ લો

  • નોંધ:કારણ કે RCLONE સમય સમય પર અપડેટ કરવામાં આવશે, જ્યારે તમે આ ટ્યુટોરીયલ જોશો, ત્યારે મેનુ વિકલ્પો સહેજ બદલાઈ શકે છે, પરંતુ સામાન્ય વિચાર બદલાશે નહીં. ઓપરેશનની નકલ કરવાનું વિચારશો નહીં.
$ rclone config

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> n # 输入 n,新建
name> onedrive # 输入网盘名称,类似标签,这是用来区别不同的网盘。
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
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 Drive
\ (amazon cloud drive)
5 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Lyve Cloud, Minio, RackCorp, SeaweedFS, and Tencent COS
\ (s3)
6 / Backblaze B2
\ (b2)
7 / Better checksums for other remotes
\ (hasher)
8 / Box
\ (box)
9 / Cache a remote
\ (cache)
10 / Citrix Sharefile
\ (sharefile)
11 / Compress a remote
\ (compress)
12 / Dropbox
\ (dropbox)
13 / Encrypt/Decrypt a remote
\ (crypt)
14 / Enterprise File Fabric
\ (filefabric)
15 / FTP Connection
\ (ftp)
16 / Google Cloud Storage (this is not Google Drive)
\ (google cloud storage)
17 / Google Drive
\ (drive)
18 / Google Photos
\ (google photos)
19 / Hadoop distributed file system
\ (hdfs)
20 / Hubic
\ (hubic)
21 / In memory object storage system.
\ (memory)
22 / Jottacloud
\ (jottacloud)
23 / Koofr, Digi Storage and other Koofr-compatible storage providers
\ (koofr)
24 / Local Disk
\ (local)
25 / Mail.ru Cloud
\ (mailru)
26 / Mega
\ (mega)
27 / Microsoft Azure Blob Storage
\ (azureblob)
28 / Microsoft OneDrive
\ (onedrive)
29 / OpenDrive
\ (opendrive)
30 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
\ (swift)
31 / Pcloud
\ (pcloud)
32 / Put.io
\ (putio)
33 / QingCloud Object Storage
\ (qingstor)
34 / SSH/SFTP Connection
\ (sftp)
35 / Sia Decentralized Cloud
\ (sia)
36 / Storj Decentralized Cloud Storage
\ (storj)
37 / Sugarsync
\ (sugarsync)
38 / Transparently chunk/split large files
\ (chunker)
39 / Union merges the contents of several upstream fs
\ (union)
40 / Uptobox
\ (uptobox)
41 / Webdav
\ (webdav)
42 / Yandex Disk
\ (yandex)
43 / Zoho
\ (zoho)
44 / http Connection
\ (http)
45 / premiumize.me
\ (premiumizeme)
46 / seafile
\ (seafile)
Storage> 28 # 输入28表示选择Microsoft OneDrive
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id> # 输入 Client Id (客户端 ID)
Microsoft App Client Secret
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_secret> # 输入 Client Secret (客户端密码)
Edit advanced config? (y/n)
y) Yes
n) No
y/n> n # 输入 n
Remote config
Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes
n) No
y/n> n # 输入 n
For this to work, you will need rclone available on a machine that has a web browser available.
Execute the following on your machine (same rclone version recommended) :
rclone authorize "onedrive" "client_id" "client_secret"
Then paste the result below:
result> {"access_token":"XXXXXXXXX","expiry":"2024-05-15T21:18:39.5036298+08:00"} # 输入 token
Choose a number from below, or type in an existing value
1 / OneDrive Personal or Business
\ "onedrive"
2 / Root Sharepoint site
\ "sharepoint"
3 / Type in driveID
\ "driveid"
4 / Type in SiteID
\ "siteid"
5 / Search a Sharepoint site
\ "search"
Your choice> 1 # # 这里询问你要选择的类型,因为你使用的是OneDrive,所以输入1
Found 1 drives, please select the one you want to use:
0: OneDrive (business) id=xxxxxxxxxxxxxx
Chose drive to use:> 0 # 检测到网盘,此处号码是0,所以输入0
Found drive 'root' of type 'business', URL: https:// xxx.sharepoint. com/personal/xxxxxx/Documents
Is that okay?
y) Yes
n) No
y/n> y # 请你确认,如果没有问题,请输入 y

--------------------
[od-e5-api]
type = onedrive
client_id = xxxxxxxxxx
client_secret = xxxxxxxxxxxxxxxx
token = {"access_token":"xxxxxxxxxxxxxxxxxx","expiry":"2024-05-15T21:18:39.5036298+08:00"}
drive_id = xxxxxxxxxxxxxxxxxxxxxxxxx
drive_type = business
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y # 最后会显示网盘的配置信息,请确认是否准确无误? 如果没有问题,请输入 y
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 # 输入 q 退出
  • અત્યાર સુધી, Rclone સ્વ-બિલ્ટ API નો ઉપયોગ કરીને OneDrive નેટવર્ક ડિસ્ક સાથે સફળતાપૂર્વક કનેક્ટ થયું છે.

એકવાર રૂપરેખાંકિત થઈ ગયા પછી, તમે નીચેનાનો ઉપયોગ કરી શકો છોrcloneજોવા માટે આદેશ:

onedrive▼ ના ટોચના સ્તર પર નિર્દેશિકાઓની સૂચિ બનાવો

rclone lsd onedrive:

onedrive▼ માં બધી ફાઇલોની યાદી બનાવો

rclone ls onedrive:

નામની ડિરેક્ટરીમાં સ્થાનિક ડિરેક્ટરીની નકલ કરોbackuponedrive ડિરેક્ટરી▼

rclone copy /home/source onedrive:backup

કટ ડિલીટ કમાન્ડની નકલ કરો

Rclone રૂપરેખાંકન ફાઇલને onedrive નેટવર્ક ડિસ્કની રૂટ ડિરેક્ટરીમાં કૉપિ કરો ▼

rclone copy /root/.config/rclone/rclone.conf onedrive:/

સ્થાનિક નકલ કરો /home/backup બેકઅપ ડાયરેક્ટરી પર જાઓ જ્યાં onedrive નામની નેટવર્ક ડિસ્ક ગોઠવેલ છે અને તેનાથી વિપરીત ▼

rclone copy --progress /home/backup onedrive:backup
  • આ પરિમાણ ઉમેરીને --ignore-existing નેટવર્ક ડિસ્ક પર બેકઅપ લેવામાં આવેલી ફાઇલોને અવગણી શકાય છે, જે ઇન્ક્રીમેન્ટલ બેકઅપની સમકક્ષ છે ▼
rclone copy --ignore-existing /home/backup onedrive:backup

સ્થાનિક CWP મેન્યુઅલ બેકઅપ ફાઇલને onedrive નામની નેટવર્ક ડિસ્કની બેકઅપ ડિરેક્ટરીમાં કૉપિ કરો અને ઊલટું ▼

rclone copy --progress /newbackup/full/manual/accounts/eloha.tar.gz onedrive:cwp-newbackup/full/manual/accounts/

Onedrive નેટવર્ક ડિસ્કમાંથી, CWP સ્વચાલિત શેડ્યૂલ કરેલ બેકઅપ ફાઇલને લોકલમાં કૉપિ કરો /newbackup કેટલોગ▼

rclone copy --progress onedrive:cwp-newbackup/full/daily/Friday/accounts/eloha.tar.gz /newbackup/

rclone copy --progress onedrive:cwp-backup2/ /home/backup2/

Onedrive નેટવર્ક ડિસ્કમાંથી, CWP મેન્યુઅલ બેકઅપ ફાઇલને લોકલમાં કૉપિ કરો /newbackup/newbackup/full/manual/accounts/ કેટલોગ▼

rclone copy --progress onedrive:cwp-newbackup/full/manual/accounts/eloha.tar.gz /newbackup/newbackup/full/manual/accounts/

onedrive ની નેટવર્ક ડિસ્કમાંથી નકલ કરોવેસ્ટાસીપીસ્થાનિકમાં ફાઇલોનો બેકઅપ લો /home/backup કેટલોગ▼

rclone copy --progress onedrive:backup/admin.2018-04-12_13-10-02.tar /home/backup

ખસેડો (કટ) આદેશ ▼

rclone move /home/backup onedrive:backup

રૂપરેખાંકન નામ onedrive▼ સાથે નેટવર્ક ડિસ્કની બેકઅપ ડિરેક્ટરી કાઢી નાખો

rclone delete onedrive:backup

એક બેકઅપ ડિરેક્ટરી બનાવો કે જે onedrive ▼ નામની નેટવર્ક ડિસ્કને ગોઠવે છે

rclone mkdir onedrive:backup

નકલ કરો ▼

rclone copy

ખસેડો ▼

rclone move

કાઢી નાખો ▼

rclone delete

સમન્વયન ▼

rclone sync

વધુ Rclone આદેશ વપરાશ ટ્યુટોરિયલ્સ માટે, કૃપા કરીને નીચે Rclone આદેશ સંગ્રહનો સંદર્ભ લો▼

OneDrive ને કેવી રીતે માઉન્ટ કરવું?

જો તમારે સ્થાનિક ડિરેક્ટરીમાં માઉન્ટ કરવાની જરૂર હોય, તો તમે અમારા અગાઉના Rclone માઉન્ટિંગ ટ્યુટોરિયલનો સંદર્ભ લઈ શકો છો▼

OneDrive ખાનગી API ની મર્યાદાઓ

જો કે સ્વ-નિર્મિત ખાનગી API અપલોડિંગ અનુભવને સુધારી શકે છે, જો વારંવાર ઉપયોગ કરવામાં આવે તો અપલોડિંગ મર્યાદિત હોઈ શકે છે.

Microsoft OneDrive API માટે મહત્તમ મર્યાદા થ્રેશોલ્ડ શું છે?

માઇક્રોસોફ્ટે સ્પષ્ટપણે જણાવ્યું નથી કે OneDrive API ની મહત્તમ મર્યાદા થ્રેશોલ્ડ શું છે. નીચેનો મૂળ દસ્તાવેજ છે:

વપરાશના આધારે, અમે થ્રેશોલ્ડને ફાઇન-ટ્યુન કરીએ છીએ જેથી વપરાશકર્તાઓ વિશ્વસનીયતા અને પ્રભાવ સાથે સમાધાન કર્યા વિના મહત્તમ સંસાધનોનો ઉપયોગ કરી શકે.

  • જેમ તમે અન્ય પ્રકારની API મર્યાદાઓના વર્ણનને જોઈને અનુમાન લગાવી શકો છો, ત્યાં બે મર્યાદાઓ છે, કુલ અને આવર્તન.
  • કુલ કૉલ્સની સંખ્યા છે જે એક દિવસમાં કરી શકાય છે, અને ફ્રીક્વન્સી એ કૉલ્સની સંખ્યા છે જે પ્રતિ મિનિટ કરી શકાય છે.
  • અને એકવાર થ્રોટલિંગ થ્રેશોલ્ડ પહોંચી ગયા પછી, ફાઇલ અપલોડ થ્રોટલ કરવામાં આવે છે.
  • સત્તાવાર દસ્તાવેજોમાંથી ચોક્કસ મૂલ્ય મેળવી શકાતું ન હોવાથી, શું આ ચોક્કસ મૂલ્ય વાસ્તવિક પરીક્ષણ દ્વારા મેળવી શકાય છે?
  • જવાબ નકારાત્મક છે.વાસ્તવિક પરીક્ષણમાં કોઈ નિયમો મળ્યા ન હતા, તેથી આ મર્યાદા ગતિશીલ રીતે સમાયોજિત કરવામાં આવી છે અને સત્તાવાર દસ્તાવેજીકરણને અનુરૂપ છે.

હું OneDrive API દ્વારા પ્રતિબંધિત થવાનું કેવી રીતે ટાળી શકું?

ટૂંકા સમયમાં ઘણી બધી ફાઇલો અપલોડ કરશો નહીં, ફાઇલના કદમાં કોઈ ફરક પડતો નથી, કી ફાઇલોની સંખ્યા છે.

Office 365 E5 સ્વચાલિત નવીકરણ વિશે:

  • ઘણા વર્ષોથી ડેવલપર ટ્રાયલ વર્ઝનનો ઉપયોગ કરતા વપરાશકર્તાઓના અનુભવ અનુસાર, જ્યાં સુધી તમે સ્વ-નિર્મિત ખાનગી API નો ઉપયોગ કરો છો, ત્યાં સુધી તમે સબ્સ્ક્રિપ્શન રિન્યૂ કરી શકો છો.
  • આવર્તન માટે, ત્યાં કોઈ ધોરણ નથી, અને વધુ સારું.
  • જાણીજોઈને API ને બ્રશ કરવું એ નુકસાન માટે યોગ્ય નથી, ખાસ કરીને GitHub ક્રિયાઓનો ઉપયોગ કરીને, કારણ કે સર્વર Microsoft Azure છે, તેથી ઘણા લોકો API ને અર્થહીન બ્રશ કરવા માટે સમાન પદ્ધતિઓનો ઉપયોગ કરે છે, અને Microsoft Azure તેને સરળતાથી ઓળખવા માંગે છે.

હોપ ચેન વેઇલિયાંગ બ્લોગ ( https://www.chenweiliang.com/ ) શેર કર્યું "Rclone Onedrive સાથે કનેક્ટ થવામાં ધીમું છે?અપલોડ ગતિ મર્યાદા ડમ્પ કરો? તમને મદદ કરવા માટે API પ્રવેગકને ગોઠવો"

આ લેખની લિંક શેર કરવા માટે આપનું સ્વાગત છે:https://www.chenweiliang.com/cwl-27906.html

નવીનતમ અપડેટ્સ મેળવવા માટે ચેન વેઇલિઆંગના બ્લોગની ટેલિગ્રામ ચેનલ પર આપનું સ્વાગત છે!

🔔 ચૅનલની ટોચની ડિરેક્ટરીમાં મૂલ્યવાન "ChatGPT કન્ટેન્ટ માર્કેટિંગ AI ટૂલ વપરાશ માર્ગદર્શિકા" મેળવનારા પ્રથમ બનો! 🌟
📚 આ માર્ગદર્શિકામાં ઘણું મૂલ્ય છે, 🌟આ એક દુર્લભ તક છે, તેને ચૂકશો નહીં! ⏰⌛💨
ગમે તો શેર કરો અને લાઈક કરો!
તમારી શેરિંગ અને લાઈક્સ એ અમારી સતત પ્રેરણા છે!

 

评论 评论

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો વપરાય છે * લેબલ

ટોચ પર સ્ક્રોલ કરો