btsync is messing up rootfs

Recommended Posts


i was wondering why one of my server told me his 100 % rootfs. It is a very light installation of ubuntu server.

So i researched the reason and found Btsync as the bad guy. I have 2 other btsync installation and found the same symptom there.

The /var/lib/btsync is messing up the rootfs and i got more than 10g there! Why? That's not common in linux to mess up the rootfs with a small programm.

I found it on my raspberry as well. There  was more than 2,4g antoher installation had 8,5g occupied space by BTsync.

So why there are such big db files saved in /var/lib/btsync? Why is there no clean up of them? the db are getting bigger and bigger and will break down any system in the future.

What is the workaround for that issue?



Share this post

Link to post
Share on other sites


db files keep entries about each file and subfolder in your sync_shares. So the more files and nested folders you have, the bigger db is, nothing is deleted from db. The package was released a few days ago, and has the db grown that big that quickly? 

I think it's the logs and journals files that take much space - these ones and their zip archives can be safely deleted. However, it's highly not recommended to delete the db files. 

Share this post

Link to post
Share on other sites

Yes, but already before it was too big. But with the new release it is not usefull anymore. So now i decided to delete btsync completely because it is not worthfull to stick to it in this condition. I will step back to older version or to completely another programm for syncing my backups between my servers.

I used btsync  now for about 2 years but it's ressource need is bigger and bigger which is not good for background syncing.

Share this post

Link to post
Share on other sites

@Dersch the longer you use Sync, the more db grows, especially if you have a lot of files in the folder.  Database is deleted when you disconnect a folder.  So you can just remove the folder from Sync and add it back. Database will start from scratch.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.