I am trying to backup my data to my own server (using SFTP) using a Cloud Sync task.
However I am having a problem in that the task never stops running, it just keeps creating more data, even though that data doesn’t exist.
This is an image of the task setup:
The idea behind this setup was to basically just copy all data to the cloud once, then stop.
The data being uploaded was 619GB, seen here in Windows explorer.
[image removed because I am a new user and can only upload one per post… I’m sorry… What?]
However, after running for 6 days I eventually had to cancel it, because at this point it had uploaded 1.9TB of data, and it became clear to me it was never going to stop.
I ran “tree NASBackup290324/ -s” on my server and got this result: 6364 directories, 78670 files
…That’s 50k files and 6k folders LESS than what windows is reporting, and yet it’s taking up WAY more disk space than it should be.
I ran “du -hs NASBackup290324” and got this result: 1.9T NASBackup290324
…which corresponds happily to the TrueNAS Cloud Sync task status just before I cancelled it on the 4th April.
[image removed because I am a new user and can only upload one per post… I’m sorry… What?]
I have no idea how this is possible, and I am at my wits end with it at this point. If I can’t figure out how to do something as basic as sync my data to the cloud I might have to ditch TrueNAS entirely, because I need to start taking proper backups of my data.
Broadly speaking, looking at the data on the remote server as a mapped drive in Windows, it looks like my files are there, however there are too many files to check everything manually and my commands tell me that there are files missing, and there is a 1.2TB black hole, as this 619GB of data continues to take up 1.9TB on the remote server.
Has anyone else ever seen this behaviour before or can shed some light on what to do about it?