Forum Discussion
OneDrive Client, Files on Demand and Syncing large libraries
Hi i have problem with 2GB limit on .dat file. I sync 1 499GB on over 2 000 000 files. So i maked simple batch file to rename .dat file.
I really need 64 bit version of OneDrive bcs first init will make 2GB .dat file again and shutdown OneDrive 😕
SET Today=%Date:~8,2%%Date:~3,2%%Date:~0,2%
goto menu
:menu
@echo off
cls
cd /d %LOCALAPPDATA%\Microsoft\OneDrive
echo OneDrive limit over 2GB
echo ________________________________________________________________________
echo 1 - Stop OneDrive
echo 2 - Rename .dat file to _%Today%.dat
echo 3 - Restart OneDrive
echo 4 - exit
echo ________________________________________________________________________
SET /p source=
if %source% == 1 goto kill
if %source% == 2 goto rename
if %source% == 3 goto restart
if %source% == 4 goto exit
:kill
@echo on
start OneDrive /shutdown
goto menu
:rename
cd /d %USERPROFILE%\AppData\Local\Microsoft\OneDrive\settings\Business1\
rename "IDofOneDrive".dat "IDofOneDrive"_%Today%.dat
goto menu
:restart
@echo on
start OneDrive /restart
goto menu
:exit
exit
- JonasBackJan 23, 2021Iron ContributorJust keeping this thread active since it contains a LOT of important and valuable information.
Anyone want to mention some new findings or if they have some new suggestions not already shared here to solve these scenarios?
I really wish Microsoft would add the feature to "Keep files cloud only" so it doesn't need to sync or keep track of changes att all (just as we had with the traditional mapped network shares) but with the One Drive client rather than the old WebDav way of doing it. We always going to have business areas who store a lot of files and still want to use Explorer to browse instead of web browser.- Dread73Feb 03, 2023Brass Contributor
"I really wish Microsoft would add the feature to "Keep files cloud only" so it doesn't need to sync or keep track of changes att all (just as we had with the traditional mapped network shares) but with the One Drive client rather than the old WebDav way of doing it. We always going to have business areas who store a lot of files and still want to use Explorer to browse instead of web browser."
I 100% agree with you. Being able to put SharePoint Document Libraries or specific folders into One Drive as a Shortcut in Windows Explorer would be an awesome tool for those clients I have who are hard locked on Mapped Drives from on-Prem file servers. This would ease the transition to a proper Document Mangement system for those VERY reluctant to change and those who just plain don't like SharePoint document libraries for all of their files.
It would also ease my concerns about everyone downloading every file in the libraries to every device they own and log onto ... cause thats a security and maintenance nightmare I am trying to avoid lol!!
Come on MS, it shouldn't be that hard to implement! Leave the files 'in the cloud', but let our users find them and work on them in a way thats easy/familiar for them! - Ed DablinJan 24, 2021Copper Contributor
JonasBack There is a little known way to do this and we do this for folders that contain a large amount of videos of point clouds that consume a lot of GB. You need to make it so users only have Restricted View permission only for the sub-folder. This way it stays in the cloud only. Some discussion on this here:
Wish it was more user friendly to do.
- BaboonCZJan 23, 2021Copper ContributorOneDrive is finally a native 64-bit app 🙂
https://winaero.com/onedrive-is-now-a-native-64-bit-app/
Few months ago i start old backup folders transfer to Sharepoint Backup folder but is a limitation how many files i can move. And sometimes around christmas was released OneDrive x64 so i install it and start move files back from Shrapiont to Onedrive 😄
At this moment i have 1 709 GB on Onedrive and sync .dat file have 1,73GB. I'll wait to see what happens in the coming months.