varrus2 Posted November 27, 2013 Report Share Posted November 27, 2013 Hello, I am wondering if archiving an be turned off? I have been playing around with btsync on a pair of Raspberry Pis. One of the RPis is capturing data and updating several files ever minute. The SD card is obviously quite small (4GB) compared to most desktops but is more than sufficient for the requirements. When I turn on btsync I have about 44% free space. Within about 6 hours the card is full. A second somewhat related question. Is there some extra documentation somewhere that describes what the options in the config file do? The user manual mentions items like.. “disk_low_priority”: true “rate_limit_local_peers”: false“folder_rescan_interval”: 600 “sync_max_time_diff”: 600“lan_encrypt_data”: true “sync_trash_ttl”: 30“lan_use_tcp”: false “send_buf_size”: 5“max_file_size_diff_for_patching”: 1000 “recv_buf_size”: 5“max_file_size_for_versioning”: 1000 .. but doesn't describe the functions. Thanks, Mark Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted November 27, 2013 Report Share Posted November 27, 2013 Hello, I am wondering if archiving an be turned off? Yes, by disabling the per-folder "Store deleted files in SyncArchive" setting In relation to advanced settings: disk_low_priorityConcede resources to other applications/reduce hard drive thrashingDefault value: Truerate_limit_local_peersReduce the amount of traffic on the local network (i.e. reduce pings, multicasting, etc)Default value: Falsefolder_rescan_intervalHow often folders should be automatically rescanned (in addition to detection of real-time changes)Default value: 600 (seconds)sync_max_time_diffHow closely synced the system clocks on your devices should be. If the system clock on a device is out by a value greater than this setting, Sync will not take placeDefault value: 600 (seconds)lan_encrypt_dataEncrypt all Sync traffic on local network. Disabling this may give a slight increase in speed when syncing locally. Note: This des not affect syncing over the Internet/WANDefault value: truesync_trash_ttlHow long files should persist in SyncArchive before being automatically removedDefault value: 30 (days)lan_use_tcpUse TCP for local connections (instead of UDP)Default value: Falsemax_file_size_diff_for_patchingChanges to files that are greater than this value will cause the entire file to be transferred, rather than just the part that's changedDefault value: 1000 (MB)max_file_size_for_versioningFiles that are greater than this size will not be "versioned" - i.e. stored in SyncArchiveDefault value: 1000 (MB)send_buf_sizeThe size of data held in memory before being sentDefault value: 5 (MB)recv_buf_sizeThe size of received data held in memory before being written to diskDefault value: 5 (MB) Quote Link to comment Share on other sites More sharing options...
varrus2 Posted November 27, 2013 Author Report Share Posted November 27, 2013 Thanks very much! Quote Link to comment Share on other sites More sharing options...
varrus2 Posted November 28, 2013 Author Report Share Posted November 28, 2013 I'm afraid that changing "use_sync_trash" : true, to false didn't work. I have changed it at both ends and verified that the sync.conf file I modified is in fact the one being used by btsync. Any other suggestions? Thanks, Mark Quote Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2013 Report Share Posted November 28, 2013 varrus2: Please restart your RPis.Thanks. Quote Link to comment Share on other sites More sharing options...
varrus2 Posted November 28, 2013 Author Report Share Posted November 28, 2013 Oops, sorry I forgot to mention that I did restart after making the changes. That is when i changed the login name to the web UI to verify it was reading the config file. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted November 28, 2013 Report Share Posted November 28, 2013 I'm afraid that changing "use_sync_trash" : true, to false didn't work. I have changed it at both ends and verified that the sync.conf file I modified is in fact the one being used by btsync. Any other suggestions? Whereabouts in your config file have you added "use_sync_trash"? - remember this is a per folder setting, not a global setting Quote Link to comment Share on other sites More sharing options...
varrus2 Posted November 28, 2013 Author Report Share Posted November 28, 2013 Ah. That would explain it. I kind of assumed that the shared folders set in the UI would appear in the config file. I am rally not familiar with the .JSON format. What is the syntax when I have more than one folder? Sorry to be a pain, if this is all documented somewhere please point me in that direction. Thanks, Mark Quote Link to comment Share on other sites More sharing options...
varrus2 Posted November 30, 2013 Author Report Share Posted November 30, 2013 Or alternately does anyone know where the config file used by the UI get stored so I can look at that for reference? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.