Jump to content

[Support] Linuxserver.io - Resilio Sync

87 posts in this topic Last Reply

Recommended Posts

Could someone explain to me the difference between the sync and downloads folders?
  -v :/sync \ -v :/downloads \

I'm guessing that you can sync from /sync and to /downloads

Sent from my LG-H815 using Tapatalk

Share this post

Link to post

Pretty sure the /sync folder is where you keep your folders, but the /download one is where the chunks of the files are stored while it get transferred.


Like any bitTorrent client, one place to download, one place to store the end result.


In the case of unRaid, the /download would require a lot write and read, so put that in a cache if you can, then the /sync might be where the final file is moved and no more write on it?

Share this post

Link to post
On 2/6/2018 at 8:34 PM, Sniff said:

Is there a method to change some of the settings within resilio sync?  Specifically the advanced power settings.  Sync is set by default to rescan the directories every 10 minutes.  Folder_Rescan_Interval is set to 600 seconds.  Sync allows the change in the menu, then advises to restart to take effect.  Upon restart, all changes revert.  Is there a config file somewhere that we can alter?


Sync is spinning up my drives numerous times per day just to scan.  


I had this same issue and found a solution here: https://github.com/linuxserver/docker-resilio-sync/issues/7


I'm totally new to all of this so, to be clear, here are the steps I made: 

  • Update power user preferences in web-ui
  • Run the following code in unRAID terminal: sudo docker exec resilio-sync /bin/bash -c 'kill $(pidof rslsync)'
  • To test, I restarted my Resilio docker and verified the settings were saved. 

I changed my rescan interval to 86400 (one day). Also set config_refresh_interval, config_save_interval to the same value (as per this link). I have to wait to see if this allows my drives to sleep. My current sync is 30% complete. I feel like it should still sleep because the server sending to me is only scheduled to work from 10 PM to 8 AM (it's 4 PM now), but it may just keep the drive active while it waits. 


After my initial sync is complete I'm going to toy with the idea of rescanning once per week. According to this Resilio article it's really just a backup check. I'm amazed it's this difficult to change. I'm syncing a few TB and I don't think that's uncommon. 

Edited by SaintAlfonzo

Share this post

Link to post

Dumb question about these rescan intervals and similar parameters: As it is on the unRaid/NAS machine, technically it will never have any change from there, but only from my peers folders (other computers). How does these settings influence this kind of settings?


I am confused with this sentence from your article above:

  • You've got really many files on your storage, so folder rescan time is comparable to the rescan period.


Edited by Polopollo

Share this post

Link to post

I've been using Resilio-sync successfully for quite some time now, but recently it seems to have gotten stuck "indexing" one of my read only shares, which in this case, is /mnt/disk1. Indexing ran constantly overnight, I woke up to over 44 million reads on disk1 at the main unraid management page. I know I can view the logs for resilio on the docker page, but how do I grab those out short of a copy/paste of the log window?

Share this post

Link to post

I copied out the resilio log from the link on the  unraid docker page, hopefully that's enough to go on. For what it's worth, resilio still is able to copy files from my local system to the destination system, all the while endlessly indexing disk1.


Share this post

Link to post

I mapped another path (in addition to /sync and /downloads) in the container.

The path is mapped to an unassigned device, so mapped to /mnt/disks/,,,, 


I disconnected a synced folder, moved the folder to that path, and when I reconnect the folder and tries to change it's location 

to the new path I get the following error:

Sync Home does not have permission to access this folder.




Share this post

Link to post

How do i mount another sync path in the docker? is it possible?


Im trying to setup my nextcloud folder so i can encrypt/sync to a remote server but i dont want to copy the nextcloud folder to the resilio Sync folder i have.?


Any suggestions please?

Share this post

Link to post

So, I have managed to get eh docker running with Unraid (as a trial) but I cannot seem to find out how to get the Sync to see the folders on my share as I want to sync folders over the internet between 2 servers.


Can someone point me in the right direction please

Share this post

Link to post

I set mine up like this. (see attached)


You can always add another host path for more folders.


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now