lastfreedom Posted April 23, 2014 Report Share Posted April 23, 2014 Hello, So I set up all my syncs in Windows (3 different directories, one of which has over 200,000 files in it and is approx 330GB). After everything was done, I was left with three .db files in... C:\Users\{some user}\AppData\Roaming\BitTorrent Sync I copied the same Windows directories to MyBook Live which was mounted as a drive in Windows. The idea being to 'seed' the initial sync. I took the above mentioned .db files (one for each sync'ed directory) and put them the the .sync directory on MyBook Live. Before doing that, I updated the .db files using the Firefox SqlLite plug-in (basically opened the .db file and issued, 'update files set path = replace(path, '\', '/');' - thanks to; http://forum.bittorrent.com/topic/24152-doing-the-initial-sync-locally). Started up btsync on MyBook Live, pulled up the UI, which was (and is) very slow but eventually told me everything was synced (without the seeding it looks like it may have taken a number of months to do so). However, in the web UI, it still says the 330GB directory is indexing (on MyBook Live), yet I see no change in the size of the associated .db (the one brought over from Windows), .db-shm or .db-wal files (even though, on the latter two, the timestamp does get updated). Actually, on all the .db-shm files, the length is the same; 32768. Given that I have ssh access to MyBook Live, from the command line, how can I tell that indexing is going on and how do I tell how much longer its going to go on for (ps -ef, naturally, does not give me this information) Also, can btsync 'chew gum and walk at the same time', i.e. can it sync one directory and index another at the same time or does this have to happen consecutively. As this is effectively a one way sync, from Windows to MyBook Live, I assume that on the MyBook Live instance, I should not even have to index and can therefore set folder_rescan_interval to its maximum amount. Thanks, Matthew Quote Link to comment Share on other sites More sharing options...
lastfreedom Posted April 23, 2014 Author Report Share Posted April 23, 2014 In addition, on MyBook Live, when I look at the CPU usage for btsync, it's < 10%. As I've disabled every other service (Twonky, Media Crawler, Apache) so the entire CPU can now be dedicated to btsync for indexing, what gives? P. S. How do I edit the subject line of this topic to include 'indexing' and 'seeding'? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 23, 2014 Report Share Posted April 23, 2014 @lastfreedom, It can index and sync simultaneously. As for the initial sync - I would avoid copying DB and let BTSync to create them. 2 main points where compatibility may occur are char encoding and different delimiters in the paths. Quote Link to comment Share on other sites More sharing options...
lastfreedom Posted April 23, 2014 Author Report Share Posted April 23, 2014 OK, thanks. Is there any way to see the progress of indexing using ssh? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 24, 2014 Report Share Posted April 24, 2014 @lastfreedom I don't know such way. API can give you a hint if it is indexing or not, but not the idea of the progress. 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.