Hi.
I want to move my files from external HDD (WD Elements 1TB, mounted as /Volumes/Elements) to the network share (Microsoft OneDrive).
After moving around 100GB (my HDD is full in 80% - 800GB) rclone is hanging.
I'm not sure if I'm using the proper commands.
mount network share rclone --vfs-cache-mode writes mount share_onedrive: /Users/jkacz/share_onedrive_folder/
simultaneously in new terminal: sync HDD to OneDrive. rclone sync --progress /Volumes/Elements/ /Users/user/share_onedrive_folder/
I want to use OneDrive to use the files now, and create a backup to HDD every month.
I'll try to use the command similar to the step number 3:
*rclone sync --progress /Users/user/share_onedrive_folder/ /Volumes/Elements/ *
My question is: is this a proper way to sync the files?
Currently the process takes hours and hours (I thought copying should be much faster).
Also sending the files to the cloud is using only 20% of bandwith and it is bouncing (like 300kb/s for two seconds, 3MB/s for two seconds and again...)
Thank you in advance for your help.
System info:
MacOS Catalina (10.15.7)
rclone v1.53.3
os/arch: darwin/amd64
go version: go1.15.5
IMHO, not the way to use rclone.
you are using rclone twice
rclone mount
rclone sync to that rclone mount
no need for rclone mount for such a simple copy/sync operation.
try rclone sync /Volumes/Elements/ share_onedrive:
and if for some reason, you want to double use rclone sync to a rclone mount, then try not using vfs cache, and you will not run out of hard drive space
@asdffdsa right, thanks!
Now it is working properly, it's not hanging. I wanted to have a preview of the files, so I used two commands, but it seems to be not the right way.
I have a few questions more:
I have a visualisation of the progress: Transferred: 706.071M / 208.485 GBytes, 0%, 3.243 MBytes/s, ETA 18h13m29s
The amount of the total data is wrong. I assume it will grow automatically to the right size in time, right? (It's because the whole HDD was not scanned at the beginning if I understand correctly) Edit: --check-first solved the problem
The ETA: ETA 18h13m29s - this is the time to send the data (currently 208.485 GBytes) to the OneDrive, right? And it is including the network bandwith limitations, right?
Currently I stopped rclone, and I want to see the files.
I'm using the command rclone mount, but I'm getting the error: Fatal error: Directory is not empty:.
I can remove the content of the directory, or use --allow-non-empty parameter, but it will cause downloading the files from the beginning. Is it possible to mount it and sync the files with the folder (in the folder there are some files from OneDrive, but some new are missing, and I want to mount it and sync only the differences).
I can see, that the files are send simultaneosuly (few at the same time). Is it ok for the health of the HDD? Maybe I should limit amount of files to 1, to force rsync to read the files sequentially, as they were written on HDD? Edit: I think it has a difference - I've added --transfers=1 parameter
I can see the progress of copying the file, and some files have been copied in 100%, but I'm checking it on my phone, and they are not available.
I understand, that there is some delay between they will be visible, and it is because of the OneDrive architecture, but if they were copied in 100%, they will be visible in a while for sure, right?
your approach is overly complex, hard to give advice on it and all these problems that you have as a result of that.
--allow-non-empty should not be used, unless you really 100% understand what it does, and if you understood what it does, i am sure you would not use it.
@asdffdsa Why do you think it's complex? I just want to sync HDD with remote drive.
Do you think I should do something in a different way? Rsync [Edit: Rclone] is a new tool for me. It's complex for the beginner, sorry.
Of course, rclone
And yes, I'm using the command right now. But all the questions are still valid.
The important is the question number 5 - when I used two commands (mound and sync) I had the moved files on the phone app in the same time. When I'm using one command, they are "sent" in 100%, but I cannot see them in my phone. I don't understand it.
Currently I'm using only the command: rclone sync /Volumes/Elements/ share_onedrive:
In the command line I can see that files are transferred, but they are not (on the phone app they are not visible, right now after 20 min, it looks like no files were copied).
I'm thinking, maybe there is a limitation of max data transfer in OneDrive? But if yes, then why rclone is showing that everything is ok and files are transferred? Strange
if you want to see the folders names, rclone lsd share_onedrive:
append a folder name to the end of share_onedrive:
then rclone ls share_onedrive:foldername command.
I'm trying to debug it, but right now rclone is sending large files. I need to wait, I don't want to disturb. I will reply after it process to the smaller files.
in the mean time, you can still run another rclone command in another command prompt.
so run the rclone lsd or rclone ls, that will not affect that rclone sync
Now it looks good, sorry for the confusion. I uploaded 8,8GB file and it was visible immediately on the mobile app.
So I think I don't need anthing more. I will us this command. Thanks for your help @asdffdsa.